You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
527 B
Go
18 lines
527 B
Go
package provisioner
|
|
|
|
import "time"
|
|
|
|
// Claims so that individual provisioners can override global claims.
|
|
type Claims struct {
|
|
globalClaims *Claims
|
|
MinTLSDur *Duration `json:"minTLSCertDuration,omitempty"`
|
|
MaxTLSDur *Duration `json:"maxTLSCertDuration,omitempty"`
|
|
DefaultTLSDur *Duration `json:"defaultTLSCertDuration,omitempty"`
|
|
DisableRenewal *bool `json:"disableRenewal,omitempty"`
|
|
}
|
|
|
|
// Duration is a wrapper around Time.Duration to aid with marshal/unmarshal.
|
|
type Duration struct {
|
|
time.Duration
|
|
}
|