Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendPaths ¶ added in v0.2.0
type BackendPaths map[string][]*PathConfig // host->ingressPath
type IngressState ¶
type IngressState struct { BackendPaths BackendPaths TlsCerts TlsCerts }
type IngressStateManager ¶
type IngressStateManager struct {
// contains filtered or unexported fields
}
func New ¶
func New(ctx context.Context, client kubernetes.Interface, ingressClassName string) *IngressStateManager
New creates a new Kubernetes Ingress state. The ctx can be used to cancel the listening to updates from the Kubernetes API.
func (*IngressStateManager) GetStateChan ¶ added in v0.1.1
func (stateManager *IngressStateManager) GetStateChan() <-chan *IngressState
GetStateChan returns a channel where state updates are delivered. This is the main method used to fetch the current status.
type PathConfig ¶ added in v0.3.7
Click to show internal directories.
Click to hide internal directories.