labeller

package
v0.0.0-...-b360ffd Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodsRemovedCondition

func GetPodsRemovedCondition(componentName string) string

Types

type FetchableObject

type FetchableObject struct {
	Name   string
	Object client.Object
}

type Labeller

type Labeller struct {
	APIProxy       apiproxy.APIProxy
	ObjectMeta     *metav1.ObjectMeta
	ComponentLabel string
	ComponentName  string
	Annotations    map[string]string
}

func (*Labeller) GetClusterName

func (l *Labeller) GetClusterName() string

func (*Labeller) GetInitJobName

func (l *Labeller) GetInitJobName(name string) string

func (*Labeller) GetInitJobObjectMeta

func (l *Labeller) GetInitJobObjectMeta() metav1.ObjectMeta

func (*Labeller) GetListOptions

func (l *Labeller) GetListOptions() []client.ListOption

func (*Labeller) GetMainConfigMapName

func (l *Labeller) GetMainConfigMapName() string

func (*Labeller) GetMetaLabelMap

func (l *Labeller) GetMetaLabelMap(isInitJob bool) map[string]string

func (*Labeller) GetMonitoringMetaLabelMap

func (l *Labeller) GetMonitoringMetaLabelMap() map[string]string

func (*Labeller) GetObjectMeta

func (l *Labeller) GetObjectMeta(name string) metav1.ObjectMeta

func (*Labeller) GetPodsRemovingStartedCondition

func (l *Labeller) GetPodsRemovingStartedCondition() string

func (*Labeller) GetSecretName

func (l *Labeller) GetSecretName() string

func (*Labeller) GetSelectorLabelMap

func (l *Labeller) GetSelectorLabelMap() map[string]string

func (*Labeller) GetSidecarConfigMapName

func (l *Labeller) GetSidecarConfigMapName(name string) string

func (*Labeller) GetYTLabelValue

func (l *Labeller) GetYTLabelValue(isInitJob bool) string

Jump to

Keyboard shortcuts

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