labels

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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