Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHandlers ¶
func GetHandlers() map[ConfigType]Handler
func RegisterHandler ¶
func RegisterHandler(h Handler)
Types ¶
type ConfigType ¶
type ConfigType string
const (
ContainerRegistry ConfigType = "container_registry"
)
type Credential ¶
type Credential interface { Name() string ConsumerIdentity() cpi.ConsumerIdentity Properties() cpi.Credentials }
type Handler ¶
type Handler interface { ConfigType() ConfigType ParseConfig(io.Reader) ([]Credential, error) }
func GetHandler ¶
func GetHandler(configType ConfigType) Handler
Click to show internal directories.
Click to hide internal directories.