Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RemoteControllerNamespace = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/namespace" RemoteControllerName = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/name" RemoteControllerUID = v1alpha1.KubernetesApplicationGroupVersionKind.GroupKind().String() + "/uid" )
Ownership annotations
Functions ¶
func CreatePredicate ¶
func CreatePredicate(event event.CreateEvent) bool
CreatePredicate accepts KubernetesApplicationResources that have been scheduled to a KubernetesCluster.
func UpdatePredicate ¶
func UpdatePredicate(event event.UpdateEvent) bool
UpdatePredicate accepts KubernetesApplicationResources that have been scheduled to a KubernetesCluster.
Types ¶
type Controller ¶
type Controller struct{}
Controller is responsible for adding the Instance controller and its corresponding reconciler to the manager with any runtime configuration.
func (*Controller) SetupWithManager ¶
func (c *Controller) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager creates a new Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles a Instance object
Click to show internal directories.
Click to hide internal directories.