retriever

package
v11.1.4-modfix Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

ServiceAccountRetriever is the service that manages service accounts.

func ProvideService

func ProvideService(
	store db.DB,
	apiKeyService apikey.Service,
	kvStore kvstore.KVStore,
	userService user.Service,
	orgService org.Service,
) *Service

func (*Service) RetrieveServiceAccount

func (s *Service) RetrieveServiceAccount(ctx context.Context, orgID, serviceAccountID int64) (*serviceaccounts.ServiceAccountProfileDTO, error)

type ServiceAccountRetriever

type ServiceAccountRetriever interface {
	RetrieveServiceAccount(ctx context.Context, orgID, serviceAccountID int64) (*serviceaccounts.ServiceAccountProfileDTO, error)
}

ServiceAccountRetriever is the service that retrieves service accounts. At the time of writing, this service is only used by the service accounts permissions service to avoid cyclic dependency between the ServiceAccountService and the ServiceAccountPermissionsService

Jump to

Keyboard shortcuts

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