helpers

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterClaims

func GetClusterClaims(cluster *clusterapiv1.ManagedCluster) map[string]string

GetClusterClaims returns a map containing cluster claims from the status of cluster

Types

type ClusterSelector

type ClusterSelector struct {
	// contains filtered or unexported fields
}

func NewClusterSelector

func NewClusterSelector(selector clusterapiv1beta1.ClusterSelector) (*ClusterSelector, error)

func (*ClusterSelector) Matches

func (c *ClusterSelector) Matches(clusterlabels, clusterclaims map[string]string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL