Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPercentage ¶
func GetPercentage(cert x509.Certificate) float32
Types ¶
type Percentage ¶
type Percentage struct {
PercentageMinThreshold float32
}
func NewPercentage ¶
func NewPercentage(percentage float32) (*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)
Click to show internal directories.
Click to hide internal directories.