Documentation
¶
Index ¶
- func Syncer[T Evaluatable]() dagql.Field[T]
- 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 CoreModScalar
- type EnvVariable
- type Evaluatable
- type Label
- type PipelineLabel
- type SchemaResolvers
- type WithDirectoryArgs
- type WithFileArgs
- type WithFilesArgs
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 CoreMod ¶ added in v0.9.4
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 CoreModScalar ¶ added in v0.11.3
type CoreModScalar struct {
// contains filtered or unexported fields
}
CoreModScalar represents scalars from core (Platform, etc)
func (*CoreModScalar) ConvertFromSDKResult ¶ added in v0.11.3
func (*CoreModScalar) ConvertToSDKInput ¶ added in v0.11.3
func (*CoreModScalar) SourceMod ¶ added in v0.11.3
func (obj *CoreModScalar) SourceMod() core.Mod
func (*CoreModScalar) TypeDef ¶ added in v0.11.3
func (obj *CoreModScalar) 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 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 PipelineLabel ¶ added in v0.11.0
type PipelineLabel struct { Name string `field:"true" doc:"Label name."` Value string `field:"true" doc:"Label value."` }
PipelineLabel is deprecated and has no effect.
func (PipelineLabel) TypeDescription ¶ added in v0.11.0
func (PipelineLabel) TypeDescription() string
func (PipelineLabel) TypeName ¶ added in v0.11.0
func (PipelineLabel) TypeName() string
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 }
type WithFileArgs ¶ added in v0.9.7
Click to show internal directories.
Click to hide internal directories.