package
4.10.0-rc.0+incompatible
Repository: https://github.com/openshift-kni/performance-addon-operators.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

CPUListToHexMask converts a list of cpus into a cpu mask represented in hexdecimal.
CPUListToMaskList converts a list of cpus into a cpu mask represented in a list of hexadecimal mask devided by a delimiter ",".
CPUMaskToCPUSet parses a CPUSet received in a Mask Format, see: https://man7.org/linux/man-pages/man7/cpuset.7.html#FORMATS.
GetComponentName returns the component name for the specific performance profile.
GetFirstKeyAndValue return the first key / value pair of a map.
NewCPULists parse text representations of reserved and isolated cpusets definiton and returns a CPULists object.
SplitLabelKey returns the given label key splitted up in domain and role.

# Constants

AssetsDir defines the directory with assets under the operator image.
ComponentNamePrefix defines the worker role for performance sensitive workflows TODO: change it back to longer name once https://bugzilla.redhat.com/show_bug.cgi?id=1787907 fixed ComponentNamePrefix = "worker-performance".
HugepagesSize1G contains the size of 1G hugepages.
HugepagesSize2M contains the size of 2M hugepages.
MachineConfigRoleLabelKey is the label key to use as label and in MachineConfigSelector of MCP which targets the performance profile.
NamespaceNodeTuningOperator defines the tuned profiles namespace.
NodeRoleLabelPrefix is the prefix for the role label of a node.
ProfileNamePerformance defines the performance tuned profile name.

# Structs

CPULists allows easy checks between reserved and isolated cpu set definitons.