Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnnotationCloudflareTunnelName = "cloudflare.com/tunnel-name" AnnotationCloudflareTunnelId = "cloudflare.com/tunnel-id" AnnotationCloudflareTunnelExternalName = "cloudflare.com/tunnel-external-name" // CloudflareTunnelAccountId = "cloudflare.com/tunnel-account-id" // CloudflareTunnelZoneId = "cloudflare.com/tunnel-zone-id" AnnotationCloudflareTunnelKeySecret = "cloudflare.com/tunnel-key-secret" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFConfigIngress ¶
type CFConfigIngress struct {
Hostname string `yaml:"hostname,omitempty"`
Path string `yaml:"path,omitempty"`
Service string `yaml:"service,omitempty"`
OriginRequest *CFConfigOriginRequest `yaml:"originRequest,omitempty"`
}
type CFConfigOriginRequest ¶
type CFConfigOriginRequest struct {
HttpHostHeader string `yaml:"httpHostHeader,omitempty"`
}
type CFConfigYaml ¶
type CFConfigYaml struct {
Tunnel string `yaml:"tunnel"`
CredentialsFile string `yaml:"credentials-file"`
Ingress []CFConfigIngress `yaml:"ingress"`
}
type CFControllerConfig ¶
type CFControllerConfig struct {
KubeConfigFile string
PresetNamespaces []string
Identity string
CloudFlare struct {
ApiUrl string
ApiToken string
AccountId string
ZoneId string
}
// contains filtered or unexported fields
}
func (*CFControllerConfig) AddNamespace ¶
func (c *CFControllerConfig) AddNamespace(we watch.Event)
func (*CFControllerConfig) AddWatch ¶
func (c *CFControllerConfig) AddWatch(wch chan watch.Event)
func (*CFControllerConfig) DelNamespace ¶
func (c *CFControllerConfig) DelNamespace(we watch.Event)
func (*CFControllerConfig) Namespaces ¶
func (c *CFControllerConfig) Namespaces() []string
Click to show internal directories.
Click to hide internal directories.