Documentation ¶
Index ¶
- func New(configuration librepo.Configuration, logging librepo.Logging, ...) service.Cache
- type Impl
- func (s *Impl) DeleteOwner(_ context.Context, alias string)
- func (s *Impl) DeleteRepository(_ context.Context, key string)
- func (s *Impl) DeleteService(_ context.Context, name string)
- func (s *Impl) GetOwner(ctx context.Context, alias string) (openapi.OwnerDto, error)
- func (s *Impl) GetOwnerListTimestamp(_ context.Context) string
- func (s *Impl) GetRepository(ctx context.Context, key string) (openapi.RepositoryDto, error)
- func (s *Impl) GetRepositoryListTimestamp(_ context.Context) string
- func (s *Impl) GetService(ctx context.Context, name string) (openapi.ServiceDto, error)
- func (s *Impl) GetServiceListTimestamp(_ context.Context) string
- func (s *Impl) GetSortedOwnerAliases(_ context.Context) []string
- func (s *Impl) GetSortedRepositoryKeys(_ context.Context) []string
- func (s *Impl) GetSortedServiceNames(_ context.Context) []string
- func (s *Impl) IsCache() bool
- func (s *Impl) PutOwner(_ context.Context, alias string, entry openapi.OwnerDto)
- func (s *Impl) PutRepository(_ context.Context, key string, entry openapi.RepositoryDto)
- func (s *Impl) PutService(_ context.Context, name string, entry openapi.ServiceDto)
- func (s *Impl) SetOwnerListTimestamp(_ context.Context, timestamp string)
- func (s *Impl) SetRepositoryListTimestamp(_ context.Context, timestamp string)
- func (s *Impl) SetServiceListTimestamp(_ context.Context, timestamp string)
- func (s *Impl) Setup() error
- func (s *Impl) SetupCache(_ context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration Logging librepo.Logging Timestamp librepo.Timestamp OwnerCache cacheable.Cacheable ServiceCache cacheable.Cacheable RepositoryCache cacheable.Cacheable }
func (*Impl) GetRepository ¶
func (*Impl) GetRepositoryListTimestamp ¶
func (*Impl) GetService ¶
func (*Impl) GetServiceListTimestamp ¶
func (*Impl) GetSortedOwnerAliases ¶
func (*Impl) GetSortedRepositoryKeys ¶
func (*Impl) GetSortedServiceNames ¶
func (*Impl) PutRepository ¶
func (*Impl) PutService ¶
func (*Impl) SetOwnerListTimestamp ¶
func (*Impl) SetRepositoryListTimestamp ¶
func (*Impl) SetServiceListTimestamp ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.