Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReadOnlyService ¶
type ReadOnlyService interface { RegistryFind(*model.Repo, string) (*model.Registry, error) RegistryList(*model.Repo, *model.ListOptions) ([]*model.Registry, error) }
ReadOnlyService defines a service for managing registries.
func NewFilesystem ¶
func NewFilesystem(path string) ReadOnlyService
type Service ¶
type Service interface { RegistryFind(*model.Repo, string) (*model.Registry, error) RegistryList(*model.Repo, *model.ListOptions) ([]*model.Registry, error) RegistryCreate(*model.Repo, *model.Registry) error RegistryUpdate(*model.Repo, *model.Registry) error RegistryDelete(*model.Repo, string) error }
Service defines a service for managing registries.
func NewCombined ¶
func NewCombined(dbRegistry Service, registries ...ReadOnlyService) Service
Click to show internal directories.
Click to hide internal directories.