Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 862 Bytes
package certificatetpr
import "github.com/giantswarm/certificatetpr/spec"
type Searcher interface {
SearchCerts(clusterID string) (AssetsBundle, error)
}
type Spec struct {
AllowBareDomains bool `json:"allowBareDomains" yaml:"allowBareDomains"`
AltNames []string `json:"altNames" yaml:"altNames"`
ClusterComponent string `json:"clusterComponent" yaml:"clusterComponent"`
ClusterID string `json:"clusterID" yaml:"clusterID"`
CommonName string `json:"commonName" yaml:"commonName"`
IPSANs []string `json:"ipSans" yaml:"ipSans"`
Organizations []string `json:"organizations" yaml:"organizations"`
TTL string `json:"ttl" yaml:"ttl"`
VersionBundle spec.VersionBundle `json:"versionBundle" yaml:"versionBundle"`
}