Documentation ¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileWatch ¶
type FileWatch struct {
// contains filtered or unexported fields
}
FileWatch monitors a file for changes. It implements the apimachinery watch.Interface and generates events similar to the ones generated by an apimachinery watch for custom resources or configmaps.
func (*FileWatch) ResultChan ¶
ResultChan returns the watch channel for receiving events.
type Interface ¶
type ObjectWatch ¶
type ObjectWatch struct {
// contains filtered or unexported fields
}
ObjectWatch is a wrapper for apimachinery watches that monitor a single object. The wrapper transparently reopens the watch when it expires.
func (*ObjectWatch) ResultChan ¶
func (w *ObjectWatch) ResultChan() <-chan Event
ResultChan returns the watch channel for receiving events.
Click to show internal directories.
Click to hide internal directories.