selectors

package
v0.0.0-...-c3d1141 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelAppKey represents the name of the "app" label added to every pod.
	LabelAppKey = "app"
	// LabelAppVal represents the value of the "app" label added to every pod.
	LabelAppVal = "aerospike"
	// LabelClusterKey respresents the name of the "cluster" label added to every pod.
	LabelClusterKey = "cluster"
	// LabelNamespaceKey represents the name of the "namespace" label added to every persistent volume claim.
	LabelNamespaceKey = "namespace"
)

Variables

This section is empty.

Functions

func ObjectByCoordinates

func ObjectByCoordinates(namespace, name string) fields.Selector

ObjectByCoordinates returns a selector that matches an object by its namespace and name.

func ObjectByName

func ObjectByName(name string) fields.Selector

ObjectByName returns a selector that matches an object by its name.

func ResourcesByBackupRestoreObject

func ResourcesByBackupRestoreObject(obj aerospikev1alpha2.BackupRestoreObject) labels.Selector

ResourcesByBackupRestoreObject returns a selector that matches all resources belonging to a given BackupRestoreObject.

func ResourcesByClusterName

func ResourcesByClusterName(name string) labels.Selector

ResourcesByClusterName returns a selector that matches all resources belonging to a given AerospikeCluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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