Documentation ¶
Index ¶
- func Build(ctx context.Context, drivers []DriverInfo, opt map[string]Options, ...) (resp map[string]*client.SolveResponse, err error)
- func LoadInputs(ctx context.Context, d driver.Driver, inp Inputs, pw progress.Writer, ...) (func(), error)
- func ParseCacheEntry(in []string) ([]client.CacheOptionsEntry, error)
- func ParseEntitlements(in []string) ([]entitlements.Entitlement, error)
- func ParseOutputs(inp []string) ([]client.ExportEntry, error)
- func ParseSSHSpecs(sl []string) (session.Attachable, error)
- func ParseSecretSpecs(sl []string) (session.Attachable, error)
- type Auth
- type DockerAPI
- type DriverInfo
- type Inputs
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadInputs ¶
func ParseCacheEntry ¶
func ParseCacheEntry(in []string) ([]client.CacheOptionsEntry, error)
func ParseEntitlements ¶ added in v0.3.0
func ParseEntitlements(in []string) ([]entitlements.Entitlement, error)
func ParseOutputs ¶
func ParseOutputs(inp []string) ([]client.ExportEntry, error)
func ParseSSHSpecs ¶
func ParseSSHSpecs(sl []string) (session.Attachable, error)
func ParseSecretSpecs ¶
func ParseSecretSpecs(sl []string) (session.Attachable, error)
Types ¶
type Auth ¶
type Auth interface {
GetAuthConfig(registryHostname string) (clitypes.AuthConfig, error)
}
type DockerAPI ¶
type DockerAPI interface {
DockerAPI(name string) (dockerclient.APIClient, error)
}
type DriverInfo ¶
type Options ¶
type Options struct { Inputs Inputs Tags []string Labels map[string]string BuildArgs map[string]string Pull bool ImageIDFile string ExtraHosts []string NetworkMode string NoCache bool Target string Platforms []specs.Platform Exports []client.ExportEntry Session []session.Attachable CacheFrom []client.CacheOptionsEntry CacheTo []client.CacheOptionsEntry Allow []entitlements.Entitlement }
Click to show internal directories.
Click to hide internal directories.