Documentation
¶
Index ¶
- func Syncer[T Evaluatable]() dagql.Field[T]
- type APIServer
- func (s *APIServer) CurrentServedDeps(ctx context.Context) (*core.ModDeps, error)
- func (s *APIServer) Introspect(ctx context.Context) (string, error)
- func (s *APIServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *APIServer) ShutdownClient(ctx context.Context, client *engine.ClientMetadata) error
- type CoreMod
- func (m *CoreMod) Dependencies() []core.Mod
- func (m *CoreMod) Install(ctx context.Context, dag *dagql.Server) error
- func (m *CoreMod) ModTypeFor(ctx context.Context, typeDef *core.TypeDef, checkDirectDeps bool) (core.ModType, bool, error)
- func (m *CoreMod) Name() string
- func (m *CoreMod) TypeDefs(ctx context.Context) ([]*core.TypeDef, error)
- type CoreModObject
- type EnvVariable
- type Evaluatable
- type InitializeArgs
- type Label
- type SchemaResolvers
- type WithDirectoryArgs
- type WithFileArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Syncer ¶ added in v0.9.7
func Syncer[T Evaluatable]() dagql.Field[T]
Types ¶
type APIServer ¶ added in v0.9.4
type APIServer struct {
// contains filtered or unexported fields
}
func (*APIServer) CurrentServedDeps ¶ added in v0.9.6
func (*APIServer) Introspect ¶ added in v0.9.7
func (*APIServer) ServeHTTP ¶ added in v0.9.4
func (s *APIServer) ServeHTTP(w http.ResponseWriter, r *http.Request)
func (*APIServer) ShutdownClient ¶ added in v0.9.4
type CoreMod ¶ added in v0.9.4
type CoreMod struct {
// contains filtered or unexported fields
}
CoreMod is a special implementation of Mod for our core API, which is not *technically* a true module yet but can be treated as one in terms of dependencies. It has no dependencies itself and is currently an implicit dependency of every user module.
func (*CoreMod) Dependencies ¶ added in v0.9.4
func (*CoreMod) ModTypeFor ¶ added in v0.9.4
type CoreModObject ¶ added in v0.9.4
type CoreModObject struct {
// contains filtered or unexported fields
}
CoreModObject represents objects from core (Container, Directory, etc.)
func (*CoreModObject) ConvertFromSDKResult ¶ added in v0.9.4
func (*CoreModObject) ConvertToSDKInput ¶ added in v0.9.4
func (*CoreModObject) SourceMod ¶ added in v0.9.4
func (obj *CoreModObject) SourceMod() core.Mod
func (*CoreModObject) TypeDef ¶ added in v0.9.6
func (obj *CoreModObject) TypeDef() *core.TypeDef
type EnvVariable ¶
type EnvVariable struct { Name string `field:"true" doc:"The environment variable name."` Value string `field:"true" doc:"The environment variable value."` }
func (EnvVariable) Description ¶ added in v0.9.7
func (EnvVariable) Description() string
func (EnvVariable) Type ¶ added in v0.9.7
func (EnvVariable) Type() *ast.Type
func (EnvVariable) TypeDescription ¶ added in v0.9.7
func (EnvVariable) TypeDescription() string
type Evaluatable ¶ added in v0.9.7
type InitializeArgs ¶
type Label ¶ added in v0.3.10
type Label struct { Name string `field:"true" doc:"The label name."` Value string `field:"true" doc:"The label value."` }
func (Label) TypeDescription ¶ added in v0.9.7
type SchemaResolvers ¶ added in v0.9.4
type SchemaResolvers interface {
Install()
}
type WithDirectoryArgs ¶ added in v0.9.7
type WithDirectoryArgs struct { Path string Directory core.DirectoryID core.CopyFilter }
Click to show internal directories.
Click to hide internal directories.