helpers

package
v0.13.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterClusterAnnotations

func FilterClusterAnnotations(annotations map[string]string) map[string]string

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

type RequeueError added in v0.13.0

type RequeueError struct {
	RequeueTime time.Duration
	Message     string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳