Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplyFailedReason = "ApplyFailed" ApplyPendingReason = "ApplyPending" ApplySucceededReason = "ApplySucceeded" )
View Source
const ( LastUpdateAnnotationKey = "work.fleet.azure.com/last-update-time" SpecHashAnnotationKey = "work.fleet.azure.com/spec-hash-value" )
Variables ¶
View Source
var ( ErrStillPendingManifest = fmt.Errorf("there are still manifest pending to be processed by the member cluster") ErrFailedManifest = fmt.Errorf("there are failed to apply manifests, please check the `failedResourcePlacements` status") )
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { // the informer contains the cache for all the resources we need InformerManager informer.Manager RestMapper meta.RESTMapper // Client is used to update objects which goes to the api server directly Client client.Client // DisabledResourceConfig contains all the api resources that we won't select DisabledResourceConfig *utils.DisabledResourceConfig WorkPendingGracePeriod metav1.Duration Recorder record.EventRecorder }
Reconciler reconciles a cluster resource placement object
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, key controller.QueueKey) (ctrl.Result, error)
Click to show internal directories.
Click to hide internal directories.