Documentation ¶
Index ¶
- Constants
- Variables
- func SchemaIntrospectionJSON(ctx context.Context, dag *dagql.Server) (json.RawMessage, error)
- func Syncer[T Evaluatable]() dagql.Field[T]
- type AfterVersion
- type BeforeVersion
- 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)
- func (m *CoreMod) View() (string, bool)
- type CoreModEnum
- func (enum *CoreModEnum) CollectCoreIDs(ctx context.Context, value dagql.Typed, ids map[digest.Digest]*resource.ID) error
- func (enum *CoreModEnum) ConvertFromSDKResult(ctx context.Context, value any) (dagql.Typed, error)
- func (enum *CoreModEnum) ConvertToSDKInput(ctx context.Context, value dagql.Typed) (any, error)
- func (enum *CoreModEnum) SourceMod() core.Mod
- func (enum *CoreModEnum) TypeDef() *core.TypeDef
- type CoreModObject
- func (obj *CoreModObject) CollectCoreIDs(ctx context.Context, value dagql.Typed, ids map[digest.Digest]*resource.ID) error
- func (obj *CoreModObject) ConvertFromSDKResult(ctx context.Context, value any) (dagql.Typed, error)
- func (obj *CoreModObject) ConvertToSDKInput(ctx context.Context, value dagql.Typed) (any, error)
- func (obj *CoreModObject) SourceMod() core.Mod
- func (obj *CoreModObject) TypeDef() *core.TypeDef
- type CoreModScalar
- func (obj *CoreModScalar) CollectCoreIDs(context.Context, dagql.Typed, map[digest.Digest]*resource.ID) error
- func (obj *CoreModScalar) ConvertFromSDKResult(ctx context.Context, value any) (dagql.Typed, error)
- func (obj *CoreModScalar) ConvertToSDKInput(ctx context.Context, value dagql.Typed) (any, error)
- func (obj *CoreModScalar) SourceMod() core.Mod
- func (obj *CoreModScalar) TypeDef() *core.TypeDef
- type EnvVariable
- type Evaluatable
- type Label
- type ModuleSourceWithInitConfigArgs
- type PipelineLabel
- type SDK
- type SchemaResolvers
- type WithDirectoryArgs
- type WithFileArgs
- type WithFilesArgs
Constants ¶
View Source
const InstrumentationLibrary = "dagger.io/engine.schema"
Variables ¶
View Source
var AllVersion = dagql.AllView{}
AllVersion is a view that contains all versions.
Functions ¶
func SchemaIntrospectionJSON ¶ added in v0.11.7
func Syncer ¶ added in v0.9.7
func Syncer[T Evaluatable]() dagql.Field[T]
Types ¶
type AfterVersion ¶ added in v0.12.0
type AfterVersion string
AfterVersion is a view that checks if a target version is greater than *or* equal to the filtered version.
func (AfterVersion) Contains ¶ added in v0.12.0
func (minVersion AfterVersion) Contains(version string) bool
type BeforeVersion ¶ added in v0.12.0
type BeforeVersion string
BeforeVersion is a view that checks if a target version is less than the filtered version.
func (BeforeVersion) Contains ¶ added in v0.12.0
func (maxVersion BeforeVersion) Contains(version string) bool
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 CoreModEnum ¶ added in v0.12.0
type CoreModEnum struct {
// contains filtered or unexported fields
}
func (*CoreModEnum) CollectCoreIDs ¶ added in v0.12.1
func (*CoreModEnum) ConvertFromSDKResult ¶ added in v0.12.0
func (*CoreModEnum) ConvertToSDKInput ¶ added in v0.12.0
func (*CoreModEnum) SourceMod ¶ added in v0.12.0
func (enum *CoreModEnum) SourceMod() core.Mod
func (*CoreModEnum) TypeDef ¶ added in v0.12.0
func (enum *CoreModEnum) TypeDef() *core.TypeDef
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) CollectCoreIDs ¶ added in v0.12.1
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) CollectCoreIDs ¶ added in v0.12.1
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 ModuleSourceWithInitConfigArgs ¶ added in v0.12.5
type ModuleSourceWithInitConfigArgs struct {
Merge bool `default:"false"`
}
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.