Documentation
¶
Index ¶
- Constants
- type ReconcileComponent
- func (r *ReconcileComponent) CreateOrUpdate(object controller2.Resource) (err error)
- func (r *ReconcileComponent) Delete(resource controller2.Resource) error
- func (r *ReconcileComponent) PopulateK8sLabels(component *controller.Component, componentType string) map[string]string
- func (r *ReconcileComponent) SetPrimaryResourceStatus(primary controller2.Resource, statuses []controller2.DependentResourceStatus) (needsUpdate bool)
Constants ¶
View Source
const ( RegistryAddressEnvVar = "REGISTRY_ADDRESS" BaseS2iImage = "BASE_S2I_IMAGE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReconcileComponent ¶
type ReconcileComponent struct { *controller2.BaseGenericReconciler // contains filtered or unexported fields }
func NewComponentReconciler ¶
func NewComponentReconciler(mgr manager.Manager) *ReconcileComponent
newReconciler returns a new reconcile.Reconciler
func (*ReconcileComponent) CreateOrUpdate ¶
func (r *ReconcileComponent) CreateOrUpdate(object controller2.Resource) (err error)
func (*ReconcileComponent) Delete ¶
func (r *ReconcileComponent) Delete(resource controller2.Resource) error
func (*ReconcileComponent) PopulateK8sLabels ¶
func (r *ReconcileComponent) PopulateK8sLabels(component *controller.Component, componentType string) map[string]string
func (*ReconcileComponent) SetPrimaryResourceStatus ¶ added in v0.1.8
func (r *ReconcileComponent) SetPrimaryResourceStatus(primary controller2.Resource, statuses []controller2.DependentResourceStatus) (needsUpdate bool)
Click to show internal directories.
Click to hide internal directories.