labels

package
v1.4.7-rc8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasKnownLabels

func HasKnownLabels(labels map[string]string, groupName string) bool

func ReplicaIndex

func ReplicaIndex(labels map[string]string) (int, error)

func ReplicaType

func ReplicaType(labels map[string]string) (v1.ReplicaType, error)

func SetJobRole

func SetJobRole(labels map[string]string, role string)

func SetReplicaIndex

func SetReplicaIndex(labels map[string]string, idx int)

func SetReplicaIndexStr

func SetReplicaIndexStr(labels map[string]string, idx string)

func SetReplicaType

func SetReplicaType(labels map[string]string, rt string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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