Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cert ¶
type Cert struct { // Filled in by YAML unmarshalling TypeString string `yaml:"type"` Issuer string `yaml:"issuer"` Subject SubjectType Hosts []string `yaml:"hosts"` // Created programmatically Type int `yaml:"-"` IsCA bool `yaml:"-"` IsSelfSigned bool `yaml:"-"` IsOCSPSigner bool `yaml:"-"` PrivateKey crypto.PrivateKey `yaml:"-"` Certificate *x509.Certificate `yaml:"-"` IssuerCert *Cert `yaml:"-"` }
Cert type is an Internal representation of a certificate specification, some filled in from the YAML config file, some calculated
type SubjectType ¶
SubjectType is the type for a subject name
type Type ¶
type Type struct { // filled in by YAML unmarshalling Directories map[string]string `yaml:"directories"` Extensions map[string]string `yaml:"extensions"` Subject SubjectType KeyFiles []string `yaml:"keyfiles"` Certificates map[string]*Cert `yaml:"certificates"` Combos map[string][]string `yaml:"combos"` // filled in programmatically PublicDirectory string `yaml:"-"` PrivateDirectory string `yaml:"-"` ExtensionKey string `yaml:"-"` ExtensionCert string `yaml:"-"` }
Type type is the internal representation of the entire config file, some filled in from the YAML config files, some calculated
var Config Type
Config is a global variable for "THE CONFIG", there will only be one per run
Click to show internal directories.
Click to hide internal directories.