owners

package
v0.38.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	configuration librepo.Configuration,
	logging librepo.Logging,
	timestamp librepo.Timestamp,
	cache repository.Cache,
	updater service.Updater,
) service.Owners

Types

type Impl

type Impl struct {
	Configuration librepo.Configuration
	Logging       librepo.Logging
	Timestamp     librepo.Timestamp
	Cache         repository.Cache
	Updater       service.Updater
}

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) Setup added in v0.33.0

func (s *Impl) Setup() 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