usecases

package
v0.17.24 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: EUPL-1.2 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrCreatingOrganization = errors.New("error creating organization")
View Source
var ErrKeyPairDoesNotExist = errors.New("error key pair does not exist")
View Source
var ErrKeyPairExists = errors.New("error key pair exists")
View Source
var ErrRetrievingOrganization = errors.New("error retrieving organization")

Functions

This section is empty.

Types

type BkManagementUseCase

type BkManagementUseCase struct {
	Logger             *zap.Logger
	SchemeRepository   schemeProcessRepositories.SchemeRepository
	BkConfigRepository bkConfigRepositories.BkConfigRepository
	Organization       model.Organization
}

func NewBkManagementUseCase

func NewBkManagementUseCase(logger *zap.Logger, schemeRepository schemeProcessRepositories.SchemeRepository, bkConfigRepository bkConfigRepositories.BkConfigRepository, organization model.Organization) *BkManagementUseCase

func (*BkManagementUseCase) FetchOrganizationSettings added in v0.17.0

func (uc *BkManagementUseCase) FetchOrganizationSettings() model.Organization

func (*BkManagementUseCase) FetchPublicKey added in v0.17.0

func (uc *BkManagementUseCase) FetchPublicKey() (string, error)

func (*BkManagementUseCase) FetchRegistrationState added in v0.17.0

func (uc *BkManagementUseCase) FetchRegistrationState() (*model.SchemeState, error)

func (*BkManagementUseCase) GenerateKeyPair

func (uc *BkManagementUseCase) GenerateKeyPair() error

func (*BkManagementUseCase) GetHealthChecks

func (uc *BkManagementUseCase) GetHealthChecks() []healthcheck.Checker

func (*BkManagementUseCase) Register

func (uc *BkManagementUseCase) Register() error

Jump to

Keyboard shortcuts

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