Documentation
¶
Index ¶
- func New(configuration librepo.Configuration, customConfig config.CustomConfiguration, ...) service.Repositories
- type Impl
- func (s *Impl) CreateRepository(ctx context.Context, key string, ...) (openapi.RepositoryDto, error)
- func (s *Impl) DeleteRepository(ctx context.Context, key string, deletionInfo openapi.DeletionDto) error
- func (s *Impl) GetRepositories(ctx context.Context, ownerAliasFilter string, serviceNameFilter string, ...) (openapi.RepositoryListDto, error)
- func (s *Impl) GetRepository(ctx context.Context, repoKey string) (openapi.RepositoryDto, error)
- func (s *Impl) IsRepositories() bool
- func (s *Impl) PatchRepository(ctx context.Context, key string, repositoryPatchDto openapi.RepositoryPatchDto) (openapi.RepositoryDto, error)
- func (s *Impl) Setup() error
- func (s *Impl) UpdateRepository(ctx context.Context, key string, repositoryDto openapi.RepositoryDto) (openapi.RepositoryDto, error)
- func (s *Impl) ValidRepositoryKey(ctx context.Context, key string) apierrors.AnnotatedError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New( configuration librepo.Configuration, customConfig config.CustomConfiguration, logging librepo.Logging, timestamp librepo.Timestamp, cache repository.Cache, updater service.Updater, owners service.Owners, ) service.Repositories
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Timestamp librepo.Timestamp Cache repository.Cache Updater service.Updater Owners service.Owners }
func (*Impl) CreateRepository ¶
func (*Impl) DeleteRepository ¶
func (*Impl) GetRepositories ¶
func (*Impl) GetRepository ¶
func (*Impl) IsRepositories ¶
func (*Impl) PatchRepository ¶
func (*Impl) UpdateRepository ¶
func (*Impl) ValidRepositoryKey ¶ added in v0.19.1
Click to show internal directories.
Click to hide internal directories.