Documentation ¶
Index ¶
- Variables
- func New() auacornapi.Acorn
- type Impl
- func (s *Impl) AcornName() string
- func (s *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error
- func (s *Impl) CanDeleteOwner(ctx context.Context, ownerAlias string) bool
- func (s *Impl) CanMoveOrDeleteRepository(ctx context.Context, key string) bool
- func (s *Impl) DeleteOwner(ctx context.Context, ownerAlias string, deletionInfo openapi.DeletionDto) error
- func (s *Impl) DeleteRepository(ctx context.Context, key string, deletionInfo openapi.DeletionDto) error
- func (s *Impl) DeleteService(ctx context.Context, serviceName string, deletionInfo openapi.DeletionDto) error
- func (s *Impl) IsUpdater() bool
- func (s *Impl) PerformFullUpdate(ctx context.Context) error
- func (s *Impl) PerformFullUpdateWithNotifications(ctx context.Context) error
- func (s *Impl) RefreshRepository(ctx context.Context, key string) error
- func (s *Impl) RefreshService(ctx context.Context, serviceName string) error
- func (s *Impl) Setup(ctx context.Context) error
- func (s *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error
- func (s *Impl) StartReceivingEvents(ctx context.Context) error
- func (s *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error
- func (s *Impl) WithMetadataLock(ctx context.Context, closure func(context.Context) error) error
- func (s *Impl) WriteOwner(ctx context.Context, ownerAlias string, owner openapi.OwnerDto) (openapi.OwnerDto, error)
- func (s *Impl) WriteRepository(ctx context.Context, key string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
- func (s *Impl) WriteService(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TotalErrorCounterName = "updater_error_count" MetadataErrorCounterName = "updater_error_metadata_count" OwnerErrorCounterName = "updater_error_owner_count" ServiceErrorCounterName = "updater_error_service_count" RepoErrorCounterName = "updater_error_repo_count" )
View Source
var TimeStampFormat = "2006-01-02T15:04:05Z"
Functions ¶
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration repository.CustomConfiguration Logging librepo.Logging Kafka repository.Kafka Mapper service.Mapper Cache service.Cache Now func() time.Time // contains filtered or unexported fields }
func (*Impl) AssembleAcorn ¶
func (*Impl) CanDeleteOwner ¶
func (*Impl) CanMoveOrDeleteRepository ¶
func (*Impl) DeleteOwner ¶
func (*Impl) DeleteRepository ¶
func (*Impl) DeleteService ¶
func (*Impl) PerformFullUpdateWithNotifications ¶
func (*Impl) RefreshRepository ¶
func (*Impl) RefreshService ¶
func (*Impl) SetupAcorn ¶
func (*Impl) TeardownAcorn ¶
func (*Impl) WithMetadataLock ¶
func (*Impl) WriteOwner ¶
func (*Impl) WriteRepository ¶
func (s *Impl) WriteRepository(ctx context.Context, key string, repository openapi.RepositoryDto) (openapi.RepositoryDto, error)
func (*Impl) WriteService ¶
func (s *Impl) WriteService(ctx context.Context, serviceName string, service openapi.ServiceDto) (openapi.ServiceDto, error)
Click to show internal directories.
Click to hide internal directories.