Documentation
¶
Index ¶
- func ClientGenBinary(c *dagger.Client) *dagger.File
- func DaggerBinary(c *dagger.Client) *dagger.File
- func DevEngine(ctx context.Context, c *dagger.Client) (string, error)
- func DevEngineContainer(c *dagger.Client, arches, oses []string) []*dagger.Container
- func EngineSessionBinary(c *dagger.Client) *dagger.File
- func GoBase(c *dagger.Client) *dagger.Container
- func HostDockerDir(c *dagger.Client) *dagger.Directory
- func Repository(c *dagger.Client) *dagger.Directory
- func RepositoryGoCodeOnly(c *dagger.Client) *dagger.Directory
- func WithDevEngine(ctx context.Context, c *dagger.Client, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientGenBinary ¶ added in v0.3.5
ClientGenBinary returns a compiled dagger binary
func DaggerBinary ¶
DaggerBinary returns a compiled dagger binary
func DevEngineContainer ¶
func GoBase ¶
GoBase is a standardized base image for running Go, cache optimized for the layout of this repository
NOTE: this function is a shared util ONLY because it's used both by the Engine and the Go SDK. Other languages shouldn't have a common helper.
func HostDockerDir ¶ added in v0.3.5
HostDockerCredentials returns the host's ~/.docker dir if it exists, otherwise just an empty dir
func Repository ¶
Repository with common set of exclude filters to speed up upload
func RepositoryGoCodeOnly ¶
RepositoryGoCodeOnly is Repository, filtered to only contain Go code.
NOTE: this function is a shared util ONLY because it's used both by the Engine and the Go SDK. Other languages shouldn't have a common helper.
Types ¶
This section is empty.