labels

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerApp  = "slurmctld"
	ControllerComp = "controller"

	RestapiApp  = "slurmrestd"
	RestapiComp = "restapi"

	AccountingApp  = "slurmdbd"
	AccountingComp = "accounting"

	WorkerApp  = "slurmd"
	WorkerComp = "worker"

	LoginApp  = "login"
	LoginComp = "login"
)
View Source
const (
	AppLabel = "app.kubernetes.io/name"
)

Ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder() *Builder

func (*Builder) Build

func (b *Builder) Build() map[string]string

func (*Builder) WithAccountingLabels

func (b *Builder) WithAccountingLabels(obj *slinkyv1beta1.Accounting) *Builder

func (*Builder) WithAccountingSelectorLabels

func (b *Builder) WithAccountingSelectorLabels(obj *slinkyv1beta1.Accounting) *Builder

func (*Builder) WithApp

func (b *Builder) WithApp(app string) *Builder

func (*Builder) WithCluster

func (b *Builder) WithCluster(cluster string) *Builder

func (*Builder) WithComponent

func (b *Builder) WithComponent(component string) *Builder

func (*Builder) WithControllerLabels

func (b *Builder) WithControllerLabels(obj *slinkyv1beta1.Controller) *Builder

func (*Builder) WithControllerSelectorLabels

func (b *Builder) WithControllerSelectorLabels(obj *slinkyv1beta1.Controller) *Builder

func (*Builder) WithInstance

func (b *Builder) WithInstance(instance string) *Builder

func (*Builder) WithLabels

func (b *Builder) WithLabels(labels map[string]string) *Builder

func (*Builder) WithLoginLabels

func (b *Builder) WithLoginLabels(obj *slinkyv1beta1.LoginSet) *Builder

func (*Builder) WithLoginSelectorLabels

func (b *Builder) WithLoginSelectorLabels(obj *slinkyv1beta1.LoginSet) *Builder

func (*Builder) WithManagedBy

func (b *Builder) WithManagedBy(component string) *Builder

func (*Builder) WithPartOf

func (b *Builder) WithPartOf(instance string) *Builder

func (*Builder) WithPodProtect

func (b *Builder) WithPodProtect() *Builder

func (*Builder) WithRestapiLabels

func (b *Builder) WithRestapiLabels(obj *slinkyv1beta1.RestApi) *Builder

func (*Builder) WithRestapiSelectorLabels

func (b *Builder) WithRestapiSelectorLabels(obj *slinkyv1beta1.RestApi) *Builder

func (*Builder) WithWorkerLabels

func (b *Builder) WithWorkerLabels(obj *slinkyv1beta1.NodeSet) *Builder

func (*Builder) WithWorkerSelectorLabels

func (b *Builder) WithWorkerSelectorLabels(obj *slinkyv1beta1.NodeSet) *Builder

Jump to

Keyboard shortcuts

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