Documentation
¶
Index ¶
Constants ¶
View Source
const ( HttpServer = "ingress_server" MetricsServer = "metrics_server" )
Variables ¶
This section is empty.
Functions ¶
func LoadConfigMapOptions ¶
func LoadConfigMapOptions(config *Config, store *controller.Store) error
LoadConfigMapOptions load options from ConfigMap
func LoadIngressConfig ¶
func LoadIngressConfig(config *Config, store *controller.Store) error
LoadIngressConfig creates a routelist based off of ingresses managed by this controller.
func LoadTLSConfig ¶
func LoadTLSConfig(config *Config, store *controller.Store) error
LoadTLSConfig configure caddy when some ingresses have TLS certs
Types ¶
type Config ¶
type Config struct {
Admin caddy.AdminConfig `json:"admin,omitempty"`
Storage Storage `json:"storage"`
Apps map[string]interface{} `json:"apps"`
Logging caddy.Logging `json:"logging"`
}
Config represents a caddy2 config file.
type Converter ¶
type Converter struct{}
func (Converter) ConvertToCaddyConfig ¶
func (c Converter) ConvertToCaddyConfig(namespace string, store *controller.Store) (interface{}, error)
type Storage ¶
type Storage struct {
System string `json:"module"`
StorageValues
}
Storage represents the certmagic storage configuration.
type StorageValues ¶
StorageValues represents the config for certmagic storage providers.
Click to show internal directories.
Click to hide internal directories.