issue_strategies

package
v1.13.5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssueStrategy

type IssueStrategy interface {
	Renew(cert *x509.Certificate) (bool, error)
}

type Percentage

type Percentage struct {
	PercentageMinThreshold float64
}

func NewPercentage

func NewPercentage(percentage float64) (*Percentage, error)

func (*Percentage) Renew

func (p *Percentage) Renew(cert *x509.Certificate) (bool, error)

type StaticRenewal

type StaticRenewal struct {
	Decision bool
}

func NewStaticRenewal

func NewStaticRenewal(renew bool) (*StaticRenewal, error)

func (*StaticRenewal) Renew

func (p *StaticRenewal) Renew(cert *x509.Certificate) (bool, error)

Jump to

Keyboard shortcuts

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