owners

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

Types

type Impl

type Impl struct {
	Configuration librepo.Configuration
	Logging       librepo.Logging
	Cache         service.Cache
	Updater       service.Updater

	Timestamp librepo.Timestamp
}

func (*Impl) AcornName

func (s *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (s *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) CreateOwner

func (s *Impl) CreateOwner(ctx context.Context, ownerAlias string, ownerCreateDto openapi.OwnerCreateDto) (openapi.OwnerDto, error)

func (*Impl) DeleteOwner

func (s *Impl) DeleteOwner(ctx context.Context, ownerAlias string, deletionInfo openapi.DeletionDto) error

func (*Impl) GetAllGroupMembers added in v0.7.0

func (s *Impl) GetAllGroupMembers(ctx context.Context, groupOwner string, groupName string) []string

func (*Impl) GetOwner

func (s *Impl) GetOwner(ctx context.Context, ownerAlias string) (openapi.OwnerDto, error)

func (*Impl) GetOwners

func (s *Impl) GetOwners(ctx context.Context) (openapi.OwnerListDto, error)

func (*Impl) IsOwners

func (s *Impl) IsOwners() bool

func (*Impl) PatchOwner

func (s *Impl) PatchOwner(ctx context.Context, ownerAlias string, ownerPatchDto openapi.OwnerPatchDto) (openapi.OwnerDto, error)

func (*Impl) RebuildPromoters added in v0.13.2

func (s *Impl) RebuildPromoters(ctx context.Context, result *openapi.OwnerDto)

func (*Impl) SetupAcorn

func (s *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) TeardownAcorn

func (s *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) UpdateOwner

func (s *Impl) UpdateOwner(ctx context.Context, ownerAlias string, ownerDto openapi.OwnerDto) (openapi.OwnerDto, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL