Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultHandler ¶
type DefaultHandler func(string)
DefaultHandler is a callback for when the default revision changes.
type DefaultWatcher ¶
type DefaultWatcher interface { Run(stopCh <-chan struct{}) HasSynced() bool GetDefault() string AddHandler(handler DefaultHandler) }
DefaultWatcher keeps track of the current default revision and can notify watchers when the default revision changes.
func NewDefaultWatcher ¶
func NewDefaultWatcher(client kube.Client, revision string) DefaultWatcher
Click to show internal directories.
Click to hide internal directories.