Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterPlacementRuleMapper ¶
ClusterPlacementRuleMapper is defined for PlacementRule to watch clusters
type PolicyPlacementRuleMapper ¶
PolicyPlacementRuleMapper is defined for PlacementRule to watch policies
type ReconcilePlacementRule ¶
ReconcilePlacementRule reconciles a PlacementRule object
func (*ReconcilePlacementRule) Reconcile ¶
func (r *ReconcilePlacementRule) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a PlacementRule object and makes changes based on the state read and what is in the PlacementRule.Spec a Deployment as an example Automatically generate RBAC rules to allow the Controller to read and write Deployments +kubebuilder:rbac:groups=multicloud-apps.io,resources=placementrules,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=multicloud.io,resources=placementrules/status,verbs=get;update;patch
func (*ReconcilePlacementRule) UpdateStatus ¶
func (r *ReconcilePlacementRule) UpdateStatus(request reconcile.Request, instance *appv1alpha1.PlacementRule) error