package
0.0.0-20250123060244-3b77fb55b835
Repository: https://github.com/openshift/cluster-node-tuning-operator.git
Documentation: pkg.go.dev

# Functions

AppendMissingDefaultMCPManifests When default MCPs are missing, it is desirable to still generate the relevant files based off of the standard MCP labels and node selectors.
Delete a file if it exists.
No description provided by the author
No description provided by the author
No description provided by the author
GetLeaderElectionConfig returns leader election configs defaults based on the cluster topology.
GetProviderName returns ProviderName part of 'providerID' in the format: <ProviderName>://<ProviderSpecificNodeID>.
No description provided by the author
No description provided by the author
IsNoMatchError checks if error is for a non existent resource, there is a meaningful difference between a resource type not existing on the cluster as a whole versus an individual resource not being found.
KernelArgumentsEqual compares kernel arguments 'args1' and 'args2' excluding parameters 'exclude'.
No description provided by the author
No description provided by the author
MapOfStringsContains returns true if map of strings a contains all entries of the map of strings b.
MapOfStringsCopy returns a copy of a map of strings 'a'.
MapOfStringsEqual returns true if maps of strings 'a' and 'b' are equal.
No description provided by the author
ParseManifests parses a YAML or JSON document that may contain one or more kubernetes resources.
PtrBoolEqual returns true if the booleans pointed to by 'a' and 'b' are equal or both 'a' and 'b' are nil.
No description provided by the author
SetLogLevel was lifted with minor modifications from library-go.
SplitKernelArguments splits kernel parameters into a slice of strings one parameter per string.
SplitKernelArgumentsWithout splits kernel parameters excluding any parameters in the 'exclude' slice into a slice of strings one parameter per string.
StringSlicesAsSetsEqual returns true if slices of strings 'a' and 'b' with their items sorted equally with duplicate items removed are the same.
StringSlicesEqual returns true if slices of strings 'a' and 'b' are the same.
Create a symbolic link.

# Constants

DeferAlways means the changes carried will be deferred until the next node restart: both for the first application and for profile changes.
DeferNever means deferred mode is disabled; treat as immediate update, like the annotation is not present.
DeferUpdate means in-place updates/changes to only the contents of the currently used profile.

# Type aliases

DeferMode controls the deferred feature.