Documentation ¶
Overview ¶
Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Portions Copyright (C) 2020 VMware, Inc. SPDX-License-Identifier: Apache-2.0
Index ¶
- func Build(ctx context.Context, drivers []DriverInfo, opt map[string]Options, ...) (resp map[string]*client.SolveResponse, err error)
- func LoadInputs(inp Inputs, target *client.SolveOpt) (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 DriverInfo
- type Inputs
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(ctx context.Context, drivers []DriverInfo, opt map[string]Options, kubeClientConfig clientcmd.ClientConfig, registrySecretName string, pw progress.Writer) (resp map[string]*client.SolveResponse, err error)
func ParseCacheEntry ¶
func ParseCacheEntry(in []string) ([]client.CacheOptionsEntry, error)
func ParseEntitlements ¶
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 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 // DockerTarget FrontendImage string }
Click to show internal directories.
Click to hide internal directories.