Documentation ¶
Index ¶
Constants ¶
View Source
const OfficialRegistryName = "official"
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
func FormatUndecodedKeys ¶ added in v0.10.0
Types ¶
type Config ¶
type Config struct { RunImages []RunImage `toml:"run-images"` DefaultBuilder string `toml:"default-builder-image,omitempty"` // Deprecated: Use DefaultRegistryName instead. See https://github.com/buildpacks/pack/issues/747. DefaultRegistry string `toml:"default-registry-url,omitempty"` DefaultRegistryName string `toml:"default-registry,omitempty"` Experimental bool `toml:"experimental,omitempty"` TrustedBuilders []TrustedBuilder `toml:"trusted-builders,omitempty"` Registries []Registry `toml:"registries,omitempty"` }
type Registry ¶ added in v0.13.0
type Registry struct { Name string `toml:"name"` Type string `toml:"type"` URL string `toml:"url"` }
func DefaultRegistry ¶ added in v0.14.0
func DefaultRegistry() Registry
func GetRegistries ¶ added in v0.14.0
type TrustedBuilder ¶ added in v0.11.0
type TrustedBuilder struct {
Name string `toml:"name"`
}
Click to show internal directories.
Click to hide internal directories.