package
1.0.1
Repository: https://github.com/nvidia/k8s-nim-operator.git
Documentation: pkg.go.dev

# Functions

BoolPtr returns a pointer to the bool value passed in.
ContainsElement checks if an element exists in a slice.
GetFilesWithSuffix returns all files under a given base directory that have a specific suffix The operation is performed recursively on subdirectories as well.
GetResourceHash returns a consistent hash for the given object spec.
No description provided by the author
IsEqual compares two Kubernetes objects based on their relevant fields.
IsSpecChanged returns true if the spec has changed between the existing one and the new resource spec compared by hash.
MergeEnvVars merges two slices of environment variables, giving precedence to the second slice in case of duplicates.
MergeMaps merges two maps and ensures no duplicate key-value pairs.
No description provided by the author
SortKeys recursively sorts the keys of a map to ensure consistent serialization.

# Constants

NvidiaAnnotationHashKey indicates annotation name for last applied hash by the operator.