Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Differ ¶
type Differ struct {
// contains filtered or unexported fields
}
Differ is responsible for subscribing to an informer an filtering out events
type Output ¶
type Output interface { WriteAdded(name string, namespace string, objectType string) WriteDeleted(name string, namespace string, objectType string) WriteUpdated(name string, namespace string, objectType string, diffs []string) }
Output abstracts a straightforward way to write
type OutputFormat ¶
type OutputFormat int
OutputFormat encodes
const ( // Text outputs the diffs in a simple text based format Text OutputFormat = iota // JSON outputs the diffs in json JSON )
Click to show internal directories.
Click to hide internal directories.