Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcmeProvider ¶
type AcmeProvider struct {
Authority string `yaml:"authority,omitempty"`
Email string `yaml:"email,omitempty"`
PrivateKeySecret *PrivateKeySecret `yaml:"privateKeySecret,omitempty"`
}
type Host ¶
type Host struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata *Metadata `yaml:"metadata"`
Spec *HostSpec `yaml:"spec"`
RequestPolicy *RequestPolicy `yaml:"requestPolicy,omitempty"`
}
func GetHostFromConfig ¶
func GetHostFromConfig(conf *HostConfig) *Host
type HostConfig ¶
type HostSpec ¶
type HostSpec struct {
Hostname string `yaml:"hostname"`
AcmeProvider *AcmeProvider `yaml:"acmeProvider,omitempty"`
TLSSecret *TLSSecret `yaml:"tlsSecret,omitempty"`
}
type Mapping ¶
type Mapping struct {
APIVersion string `yaml:"apiVersion"`
Kind string `yaml:"kind"`
Metadata *Metadata `yaml:"metadata"`
Spec *MappingSpec `yaml:"spec"`
}
func GetMappingFromConfig ¶
func GetMappingFromConfig(conf *MappingConfig) *Mapping
type MappingConfig ¶
type MappingSpec ¶
type PrivateKeySecret ¶
type PrivateKeySecret struct {
Name string `yaml:"name,omitempty"`
}
type RequestPolicy ¶
type RequestPolicy struct {
Insecure *Insecure `yaml:"insecure,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.