Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DynamicCredentialsPath is the directory inside the build job where dynamic cloud registry credentials are stored. DynamicCredentialsPath = "/tmp/docker" // DynamicCredentialsFilename is the name of the file housing dynamic cloud registry credentials. DynamicCredentialsFilename = "config.json" // BuildContextPath is the path where the build context directory will be mounted. BuildContextPath = "/mnt/build" )
Variables ¶
View Source
var DynamicCredentialsFilepath = filepath.Join(DynamicCredentialsPath, DynamicCredentialsFilename)
DynamicCredentialsFilepath is the full path to the dynamic cloud registry credentials.
Functions ¶
func GetStateDir ¶
func GetStateDir() string
Types ¶
type BuildOptions ¶
type BuildOptions struct { ContextURL string ContextTimeout time.Duration ImageName string ImageSizeLimit uint64 Labels map[string]string BuildArgs []string DisableBuildCache bool DisableLayerCacheExport bool Timeout time.Duration Registries []Registry PushRegistries []string PluginData map[string]string CacheFrom []string }
Click to show internal directories.
Click to hide internal directories.