Help us shape the future of Go! Take the 2026 Go Developer Survey

bean

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

View Source
const (
	YamlSeparator       string = "---\n"
	RegistryTypeGcr            = "gcr"
	RegistryTypeEcr            = "ecr"
	GcrRegistryUsername        = "oauth2accesstoken"
	GcrRegistryScope           = "https://www.googleapis.com/auth/cloud-platform"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerAuthConfig added in v0.17.0

type DockerAuthConfig struct {
	RegistryType          string // can be ecr, gcr, docker-hub, harbor etc.
	Username              string
	Password              string
	AccessKeyEcr          string // used for pulling from private ecr registry
	SecretAccessKeyEcr    string // used for pulling from private ecr registry
	EcrRegion             string // used for pulling from private ecr registry
	CredentialFileJsonGcr string // used for pulling from private gcr registry
	IsRegistryPrivate     bool
}

func (*DockerAuthConfig) GetEncodedRegistryAuth added in v0.17.0

func (r *DockerAuthConfig) GetEncodedRegistryAuth() (string, error)

type DockerRegistryInfo added in v0.17.0

type DockerRegistryInfo struct {
	DockerImageTag     string `json:"dockerImageTag"`
	DockerRegistryId   string `json:"dockerRegistryId"`
	DockerRegistryType string `json:"dockerRegistryType"`
	DockerRegistryURL  string `json:"dockerRegistryURL"`
	DockerRepository   string `json:"dockerRepository"`
}

Jump to

Keyboard shortcuts

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