Documentation
¶
Index ¶
- func NewHarborRegistry(auth *authn.AuthConfig, registry *name.Registry, ...) (interfaces.IRegistry, error)
- type HarborRegistry
- func (h *HarborRegistry) Catalog(ctx context.Context, pagination common.PaginationOption, ...) ([]string, *common.PaginationOption, error)
- func (*HarborRegistry) GetMaxPageSize() int
- func (h *HarborRegistry) List(repoName string, pagination common.PaginationOption, options ...remote.Option) ([]string, *common.PaginationOption, error)
- type RepositoryInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHarborRegistry ¶
func NewHarborRegistry(auth *authn.AuthConfig, registry *name.Registry, registryCfg *common.RegistryOptions) (interfaces.IRegistry, error)
Types ¶
type HarborRegistry ¶
type HarborRegistry struct {
defaultregistry.DefaultRegistry
}
func (*HarborRegistry) Catalog ¶
func (h *HarborRegistry) Catalog(ctx context.Context, pagination common.PaginationOption, options common.CatalogOption, authenticator authn.Authenticator) ([]string, *common.PaginationOption, error)
func (*HarborRegistry) GetMaxPageSize ¶
func (*HarborRegistry) GetMaxPageSize() int
func (*HarborRegistry) List ¶
func (h *HarborRegistry) List(repoName string, pagination common.PaginationOption, options ...remote.Option) ([]string, *common.PaginationOption, error)
type RepositoryInfo ¶ added in v0.0.16
type RepositoryInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.