Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterChanges ¶
func GetClusterChanges(client clusterlister.PlacementDecisionLister, placement *clusterv1beta1.Placement, existingClusters sets.Set[string]) (sets.Set[string], sets.Set[string], error)
Get added and deleted clusters names
Types ¶
type PlacementDecisionGetter ¶
type PlacementDecisionGetter struct {
Client clusterlister.PlacementDecisionLister
}
func (PlacementDecisionGetter) List ¶
func (pdl PlacementDecisionGetter) List(selector labels.Selector, namespace string) ([]*clusterv1beta1.PlacementDecision, error)
type RequeueError ¶ added in v0.13.0
func NewRequeueError ¶ added in v0.13.0
func NewRequeueError(msg string, requeueTime time.Duration) RequeueError
func (RequeueError) Error ¶ added in v0.13.0
func (r RequeueError) Error() string
Click to show internal directories.
Click to hide internal directories.