Documentation
¶
Index ¶
- func ClientGenBinary(c *dagger.Client) *dagger.File
- func DaggerBinary(c *dagger.Client) *dagger.File
- 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 WithSetHostVar(ctx context.Context, h *dagger.Host, varName string) *dagger.HostVariable
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 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.
func WithSetHostVar ¶ added in v0.3.6
Types ¶
This section is empty.