Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultSecurityCheck ¶
type DefaultSecurityCheck struct {
Enabled bool
Endpoint string
Logger *zerolog.Logger
Version string
Repo v1.SecurityCheckRepository
}
func (DefaultSecurityCheck) Check ¶
func (a DefaultSecurityCheck) Check()
func (DefaultSecurityCheck) Start ¶ added in v0.91.10
func (a DefaultSecurityCheck) Start(ctx context.Context)
Start runs an initial check, then repeats every checkInterval until ctx is cancelled.
type SecurityCheck ¶
func NewSecurityCheck ¶
func NewSecurityCheck(opts *DefaultSecurityCheck, repo v1.SecurityCheckRepository) SecurityCheck
Click to show internal directories.
Click to hide internal directories.