Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrContainerRegistryNotFound = errors.New("container registry not found")
)
Functions ¶
func GetServerHostname ¶ added in v0.19.0
func IsContainerRegistryNotFound ¶ added in v0.18.0
Types ¶
type ContainerRegistry ¶
type ContainerRegistry struct { Server string `json:"server" validate:"required"` Username string `json:"username" validate:"required"` Password string `json:"password" validate:"required"` } // @name ContainerRegistry
ContainerRegistry represents a container registry credentials
type Store ¶
type Store interface { List() ([]*ContainerRegistry, error) Find(server string) (*ContainerRegistry, error) Save(cr *ContainerRegistry) error Delete(cr *ContainerRegistry) error }
Click to show internal directories.
Click to hide internal directories.