Documentation ¶
Overview ¶
Package component contains component definition
Index ¶
Constants ¶
View Source
const ( LabelCR = "custom-resource" LabelCRName = "custom-resource-name" LabelCRNamespace = "custom-resource-namespace" LabelComponent = "component" )
Constants defining labels
View Source
const ( LifecycleManaged = "managed" LifecycleReferred = "referred" )
Common const definitions
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handle ¶
type Handle interface { DependentResources(rsrc interface{}) *resource.ObjectBag ExpectedResources(rsrc interface{}, labels map[string]string, dependent, aggregated *resource.ObjectBag) (*resource.ObjectBag, error) Observables(scheme *runtime.Scheme, rsrc interface{}, labels map[string]string, expected *resource.ObjectBag) []resource.Observable Mutate(rsrc interface{}, rsrclabels map[string]string, status interface{}, expected, dependent, observed *resource.ObjectBag) (*resource.ObjectBag, error) Differs(expected metav1.Object, observed metav1.Object) bool UpdateComponentStatus(rsrc, status interface{}, reconciled *resource.ObjectBag, err error) Finalize(rsrc, status interface{}, observed *resource.ObjectBag) error }
Handle is an interface for operating on logical Components of a CR
Click to show internal directories.
Click to hide internal directories.