Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client handles interactions with the Kubernetes API.
func (*Client) Certificates ¶
func (client *Client) Certificates() (tls.Certificate, error)
Certificates fetches TLS certificates from a kubernetes secret.
func (*Client) Mirrors ¶
Mirrors returns all mirrors which have been retrieved from the Kubernetes API.
func (*Client) Stop ¶
Stop gracefully ends the watch, typically in preparation for an application halt.
func (*Client) WatchMirrors ¶
WatchMirrors initiates a watch on the Kubernetes ConfigMap to be notified of changes without needing an application restart.
Click to show internal directories.
Click to hide internal directories.