Documentation ¶
Index ¶
- type Client
- func (c *Client) GetIngresses() map[string]*networkingv1beta1.Ingress
- func (c *Client) GetSecretMap() map[string]*corev1.Secret
- func (c *Client) GetServiceMap() map[string]*corev1.Service
- func (c *Client) WatchIngress(ctx context.Context) error
- func (c *Client) WatchSecrets(ctx context.Context) error
- func (c *Client) WatchServices(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // IngressChangeChan is called when an ingress change is detected IngressChangeChan chan struct{} // ServicesChangeChan is called when a service change is detected ServicesChangeChan chan struct{} // SecretChangeChan is called when a secret change is detected SecretChangeChan chan struct{} // contains filtered or unexported fields }
func (*Client) GetIngresses ¶
func (c *Client) GetIngresses() map[string]*networkingv1beta1.Ingress
func (*Client) GetServiceMap ¶
GetServiceMap gives all services in a map to look them up in (namespace)-(service) format
Click to show internal directories.
Click to hide internal directories.