Documentation
¶
Index ¶
- Constants
- func BincastleBuild(ctx context.Context, args BincastleArgs) error
- func Buildkitd(mountBackend ctr.MountBackend) (func(context.Context) error, error)
- func ExecNameToID(execName string) string
- func IDToExecName(id string) (string, error)
- func RuncWorkers(root string, gcKeepStorage int64, mountBackend ctr.MountBackend, ...) ([]worker.Worker, func() error, *workerBackend, error)
- type BincastleArgs
- type BincastleFrontend
- type DefinitionSourcer
- type Executor
- type RunType
Constants ¶
View Source
const ( KeyGitURL = "git-url" KeyGitRef = "git-ref" KeyLocalDir = "local-dir" KeySubdir = "subdir" KeySourcerName = "sourcer-name" KeyRunType = "runtype" KeyLocalOverrides = "local-overrides" KeyImageRef = "image-ref" KeyBuildID = "build-id" )
View Source
const (
// TODO don't hardcode
Root = "/var/lib/buildkitd"
)
Variables ¶
This section is empty.
Functions ¶
func BincastleBuild ¶
func BincastleBuild(ctx context.Context, args BincastleArgs) error
func ExecNameToID ¶
func IDToExecName ¶
Types ¶
type BincastleArgs ¶
type BincastleArgs struct { SourceGitURL string SourceGitRef string SourceLocalDir string SourceSubdir string SourcerName string LocalOverrides []string LLB *llb.Definition ImportCacheRef string ExportCacheRef string ExportLocalDir string ExportImageRef string SSHAgentSockPath string BincastleSockPath string Verbose bool }
type BincastleFrontend ¶
type BincastleFrontend struct {
// contains filtered or unexported fields
}
TODO would be nice for this to eventually be implemented via Gateway, but need way to do the careful management of mutable refs required for persistence of exec state
type DefinitionSourcer ¶
Click to show internal directories.
Click to hide internal directories.