security

package
v0.92.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 7 Imported by: 0

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

type SecurityCheck interface {
	Check()
	Start(ctx context.Context)
}

Jump to

Keyboard shortcuts

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