utils

package
v0.0.0-...-8a1803e Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// label on a node indicates the current maintenance in-progress
	MAINTENANCE_LABEL_PREFIX = "maintenance/"
	MAINTENANCE_CLIENT_LABEL = "maintenance-client"

	MAINTENANCE_METADATA_OVERRIDES_KEY = MAINTENANCE_LABEL_PREFIX + "maintenanceMetadataOverrides"
	DefaultMaintenanceClient           = "Slack_ST2"

	CORDONED_LABEL_KEY = "cordoned"
)

Variables

View Source
var (
	NM_STATE_OLD = errors.New("requeue: NotifyMaintenance state is old")
)

Functions

func DeterministicUID

func DeterministicUID(in string) string

func IsFinal

func IsFinal(object metav1.Object) bool

func Md5Hash

func Md5Hash(obj string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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