config

package
v0.4.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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

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
}

type Registry

type Registry struct {
	Host     string
	NonSSL   bool
	Username string
	Password string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL