cert

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertPlugin

type CertPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*CertPlugin) GetInstances

func (p *CertPlugin) GetInstances() []plugins.Instance

func (*CertPlugin) RegisterDiagnoseTools added in v0.10.0

func (p *CertPlugin) RegisterDiagnoseTools(registry *diagnose.ToolRegistry)

type ExpiryCheck

type ExpiryCheck struct {
	WarnWithin     config.Duration `toml:"warn_within"`
	CriticalWithin config.Duration `toml:"critical_within"`
}

type Instance

type Instance struct {
	config.InternalConfig

	RemoteTargets  []string        `toml:"remote_targets"`
	FileTargets    []string        `toml:"file_targets"`
	Timeout        config.Duration `toml:"timeout"`
	Concurrency    int             `toml:"concurrency"`
	MaxFileTargets int             `toml:"max_file_targets"`
	StartTLS       string          `toml:"starttls"`
	ServerName     string          `toml:"server_name"`

	RemoteExpiry ExpiryCheck `toml:"remote_expiry"`
	FileExpiry   ExpiryCheck `toml:"file_expiry"`
	// contains filtered or unexported fields
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

Jump to

Keyboard shortcuts

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