Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { URL string // AuthType is an optional way to declare where credentials for the registry are stored. // Valid options: `secret`, `file` // AuthName is used to define the location of the credentials // Valid options: `<secret-name>`, `<file_location>` AuthType string `yaml:"auth_type"` AuthName string `yaml:"auth_name"` User string Pass string Token string Org string Tag string Type string Name string Runner string Images []string Namespaces []string // Fail will tell the registry that it is ok to fail the bootstrap if // just this registry has failed. Fail bool `yaml:"fail_on_error"` WhiteList []string `yaml:"white_list"` BlackList []string `yaml:"black_list"` SkipVerifyTLS bool `yaml:"skip_verify_tls"` }
Config - Configuration for the registry
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter - will handle the filtering by using a black list and white list of regular expressions.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry - manages an adapter to retrieve and manage images to specs.
func NewCustomRegistry ¶
func NewCustomRegistry(configuration Config, adapter adapters.Adapter, asbNamespace string) (Registry, error)
NewCustomRegistry - Create a new registry from the registry config.
func NewRegistry ¶
NewRegistry - Create a new registry from the registry config.
func (Registry) RegistryName ¶
RegistryName - retrieve the registry name to allow namespacing.
Click to show internal directories.
Click to hide internal directories.