servers

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterJobs

func RegisterJobs(ctx context.Context, scheduler *scheduler.Scheduler, r db.Reader, w db.Writer, kms *kms.Kms, opt ...Option) error

RegisterJobs registers the rotate roots job with the provided scheduler.

Types

type Option added in v0.13.0

type Option func(*options)

Option - how Options are passed as arguments

func WithCertificateLifetime added in v0.13.0

func WithCertificateLifetime(with time.Duration) Option

WithCertificateLifetime provides a way to specify the lifetime of generated roots

func WithRotationFrequency added in v0.13.0

func WithRotationFrequency(with time.Duration) Option

WithRotationFrequency provides an frequency for running a job. If the passed-in frequency is zero, it will not update the value, so that the default is used instead.

Jump to

Keyboard shortcuts

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