Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeConfig ¶
type AcmeConfig struct { Server url.URL `validate:"required"` Email mail.Address `validate:"required"` }
func (*AcmeConfig) UnmarshalYAML ¶
func (c *AcmeConfig) UnmarshalYAML(value *yaml.Node) error
type AzureBlobStateConfig ¶
func (*AzureBlobStateConfig) UnmarshalYAML ¶
func (c *AzureBlobStateConfig) UnmarshalYAML(value *yaml.Node) error
type AzureKeyVaultStateConfig ¶
type AzureKeyVaultStateConfig struct { Url url.URL `validate:"required"` KeyName string `validate:"required,dns_rfc1035_label"` EmailSecretName string `validate:"required,dns_rfc1035_label"` }
func (*AzureKeyVaultStateConfig) UnmarshalYAML ¶
func (c *AzureKeyVaultStateConfig) UnmarshalYAML(value *yaml.Node) error
type Certificate ¶
type Certificate struct { Metadata CertificateMetadata `validate:"required"` Source CertificateSource `validate:"required"` Validator string `validate:"required"` Installer CertificateInstaller `validate:"required"` Policy *CertificatePolicy }
type CertificateInstaller ¶
type CertificateMetadata ¶
type CertificatePolicy ¶
func (*CertificatePolicy) UnmarshalYAML ¶
func (c *CertificatePolicy) UnmarshalYAML(value *yaml.Node) error
type CertificateSource ¶
type Config ¶
type Config struct { Acme AcmeConfig `validate:"required"` State StateConfig `validate:"required"` GlobalPolicy CertificatePolicy `validate:"required"` Validators []Validator `validate:"required,dive,required"` Certs []Certificate `validate:"required,dive,required"` }
type LocalStateConfig ¶
type LocalStateConfig struct {
Directory string `validate:"required,file"`
}
type SqlStateConfig ¶
type StateConfig ¶
type StateConfig struct { Local *LocalStateConfig Sql *SqlStateConfig AzureBlob *AzureBlobStateConfig AzureKeyVault *AzureKeyVaultStateConfig }
Click to show internal directories.
Click to hide internal directories.