Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { WatchAll(namespaces []string, stopCh <-chan struct{}) (<-chan interface{}, error) GetIngresses() []*extensionsv1beta1.Ingress GetService(namespace, name string) (*corev1.Service, bool, error) GetSecret(namespace, name string) (*corev1.Secret, bool, error) GetEndpoints(namespace, name string) (*corev1.Endpoints, bool, error) UpdateIngressStatus(namespace, name, ip, hostname string) error }
Client is a client for the Provider master. WatchAll starts the watch of the Provider resources and updates the stores. The stores can then be accessed via the Get* functions.
type EndpointIngress ¶
type EndpointIngress struct { IP string `description:"IP used for Kubernetes Ingress endpoints." json:"ip,omitempty" toml:"ip,omitempty" yaml:"ip,omitempty"` Hostname string `` /* 139-byte string literal not displayed */ PublishedService string `` /* 165-byte string literal not displayed */ }
EndpointIngress holds the endpoint information for the Kubernetes provider
type Provider ¶
type Provider struct { Endpoint string `` /* 158-byte string literal not displayed */ Token string `` /* 142-byte string literal not displayed */ CertAuthFilePath string `` /* 194-byte string literal not displayed */ DisablePassHostHeaders bool `` /* 184-byte string literal not displayed */ Namespaces []string `` /* 134-byte string literal not displayed */ LabelSelector string `` /* 162-byte string literal not displayed */ IngressClass string `` /* 179-byte string literal not displayed */ IngressEndpoint *EndpointIngress `` /* 141-byte string literal not displayed */ ThrottleDuration types.Duration `` /* 149-byte string literal not displayed */ // contains filtered or unexported fields }
Provider holds configurations of the provider.
Click to show internal directories.
Click to hide internal directories.