Documentation ¶
Index ¶
Constants ¶
View Source
const (
DockerRegistryV2 = "https://index.docker.io/v2/"
)
Variables ¶
View Source
var ErrNoAuthenticator = errors.New("Unable to make authenticator for this registry")
Functions ¶
func GetRegistryAuthenticator ¶
func GetRegistryAuthenticator(opts CheckAccessOptions) (auth.Authenticator, error)
func NormalizeRegistry ¶
Types ¶
type CheckAccessOptions ¶
type CheckAccessOptions struct { Username string `yaml:"username"` Password string `yaml:"password"` Registry string `yaml:"registry"` AwsRegistryID string `yaml:"aws-registry-id"` AwsRegion string `yaml:"aws-region"` AwsAccessKey string `yaml:"aws-access-key"` AwsSecretKey string `yaml:"aws-secret-key"` AwsStrictAuth bool `yaml:"aws-strict-auth"` AzureLoginServer string `yaml:"azure-login-server"` AzureRegistryName string `yaml:"azure-registry-name"` AzureClientID string `yaml:"azure-client-id"` AzureClientSecret string `yaml:"azure-client-secret"` AzureSubscriptionID string `yaml:"azure-subscription-id"` AzureTenantID string `yaml:"azure-tenant-id"` AzureResourceGroupName string `yaml:"azure-resource-group"` }
func (*CheckAccessOptions) Interpolate ¶
func (a *CheckAccessOptions) Interpolate(env *util.Environment)
Click to show internal directories.
Click to hide internal directories.