Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VpaLabels = map[string]string{
"creator": "Fairwinds",
"source": "goldilocks",
}
VpaLabels is a set of default labels that get placed on every VPA. TODO: Replace this with the OwnerRef pattern
Functions ¶
func Difference ¶ added in v1.0.0
Difference returns the difference betwee two string slices.
func UniqueString ¶ added in v1.0.0
UniqueString returns a unique string from a slice.
Types ¶
type Event ¶
type Event struct { Key string // A key identifying the object. This is in the format <object-type>/<object-name> EventType string // The type of event - update, delete, or create Namespace string // The namespace of the event's object ResourceType string // The type of resource that was updated. }
An Event represents an update of a Kubernetes object and contains metadata about the update.
Click to show internal directories.
Click to hide internal directories.