Documentation ¶
Index ¶
- type ContainerRegistryService
- func (s *ContainerRegistryService) Delete(server string) error
- func (s *ContainerRegistryService) Find(server string) (*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryService) FindByImageName(imageName string) (*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryService) List() ([]*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryService) Map() (map[string]*containerregistry.ContainerRegistry, error)
- func (s *ContainerRegistryService) Save(cr *containerregistry.ContainerRegistry) error
- type ContainerRegistryServiceConfig
- type IContainerRegistryService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRegistryService ¶
type ContainerRegistryService struct {
// contains filtered or unexported fields
}
func (*ContainerRegistryService) Delete ¶
func (s *ContainerRegistryService) Delete(server string) error
func (*ContainerRegistryService) Find ¶
func (s *ContainerRegistryService) Find(server string) (*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryService) FindByImageName ¶ added in v0.18.0
func (s *ContainerRegistryService) FindByImageName(imageName string) (*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryService) List ¶
func (s *ContainerRegistryService) List() ([]*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryService) Map ¶
func (s *ContainerRegistryService) Map() (map[string]*containerregistry.ContainerRegistry, error)
func (*ContainerRegistryService) Save ¶
func (s *ContainerRegistryService) Save(cr *containerregistry.ContainerRegistry) error
type ContainerRegistryServiceConfig ¶
type ContainerRegistryServiceConfig struct {
Store containerregistry.Store
}
type IContainerRegistryService ¶
type IContainerRegistryService interface { Delete(server string) error Find(server string) (*containerregistry.ContainerRegistry, error) FindByImageName(imageName string) (*containerregistry.ContainerRegistry, error) List() ([]*containerregistry.ContainerRegistry, error) Map() (map[string]*containerregistry.ContainerRegistry, error) Save(cr *containerregistry.ContainerRegistry) error }
func NewContainerRegistryService ¶
func NewContainerRegistryService(config ContainerRegistryServiceConfig) IContainerRegistryService
Click to show internal directories.
Click to hide internal directories.