Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheckService ¶
type HealthCheckService struct {
// contains filtered or unexported fields
}
HealthCheckService is the application service for the health check
func (*HealthCheckService) Inject ¶
func (h *HealthCheckService) Inject(kmipRepo domain.KMIPRepository, l flamingo.Logger)
Inject dependencies
func (*HealthCheckService) PerformCheck ¶
func (h *HealthCheckService) PerformCheck(ctx context.Context, amount int) (*domain.HealthCheckResult, error)
PerformCheck performs the health check based on the amount of keys to create First the keys are created and stored in a string slice After logging the needed time the keys are deleted
Click to show internal directories.
Click to hide internal directories.