containerregistry

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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 GetServerHostname(server string) (string, error)

func IsContainerRegistryNotFound added in v0.18.0

func IsContainerRegistryNotFound(err error) bool

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
}

Jump to

Keyboard shortcuts

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