Documentation
¶
Index ¶
- func AdditionalImageNames(manifest Manifest) []string
- func Build(folderPath string, manifest Manifest, gitSha1 string, output io.Writer) (string, error)
- func GitChangedFolders(repoPath string, currentSha string, previousSha string) ([]string, error)
- func GitGetCurrentSha1(repoPath string) (string, error)
- func ImageExists(manifest Manifest) (bool, error)
- func ImageName(manifest Manifest) string
- func Push(image string, additionalTags []string, output io.Writer) error
- func PushImage(image string, output io.Writer) error
- func TagImage(image string, tag string, output io.Writer) error
- type DockerConfig
- type DockerConfigAuth
- type Manifest
- type RegistryAuthResponse
- type RegistryCredentials
- type RegistryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdditionalImageNames ¶
func GitChangedFolders ¶
func GitGetCurrentSha1 ¶ added in v0.0.3
func ImageExists ¶
Types ¶
type DockerConfig ¶
type DockerConfig struct {
Credentials map[string]*DockerConfigAuth `json:"auths"`
DefaultCredHelper string `json:"credsStore"`
CredHelpers map[string]string `json:"credHelpers"`
}
type DockerConfigAuth ¶
type DockerConfigAuth struct {
Auth string `json:"auth"`
}
type Manifest ¶
type RegistryAuthResponse ¶
type RegistryCredentials ¶
func GetRegistryCredentials ¶
func GetRegistryCredentials(registry string) (*RegistryCredentials, error)
type RegistryResponse ¶
Click to show internal directories.
Click to hide internal directories.