# Functions
No description provided by the author
Calculates the resevered, isolated and offlined cpuSets.
EnsureNodesHaveTheSameHardware returns an error if all the input nodes do not have the same hardware configuration and updates the toleration set to consider as warnings/comments when publishing the generated profile.
GetAdditionalKernelArgs returns a set of kernel parameters based on configuration.
GetMCP returns an MCP object corresponding to a specified MCP Name.
GetMCPList returns the list of MCPs using the mcp YAMLs stored in Must Gather.
GetMCPSelector returns a label that is unique to the target pool, error otherwise.
GetNodeList returns the list of nodes using the Node YAMLs stored in Must Gather.
GetNodesForPool returns the nodes belonging to the input mcp Adapted (including dependencies) from: https://github.com/openshift/machine-config-operator/blob/e4aa3bc5a405c67fb112b24e24b2c372457b3358/pkg/controller/node/node_controller.go#L745.
IsExternalControlPlaneCluster return whether the control plane is running on externally outside the cluster.
No description provided by the author
NewGHWHandler is a handler to use ghw options corresponding to a node.
# Constants
ClusterScopedResources defines the subpath, relative to the top-level must-gather directory.
CoreNodes defines the subpath, relative to ClusterScopedResources, on which we find node-specific data.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MCPools defines the subpath, relative to ClusterScopedResources, on which we find the machine config pool definitions.
Nodes defines the subpath, relative to top-level must-gather directory, on which we find node-specific data.
SysInfoFileName defines the name of the file where ghw snapshot is stored.
YAMLSuffix is the extension of the yaml files saved by must-gather.
# Structs
GHWHandler is a wrapper around ghw to get the API object.
# Type aliases
TolerationSet records the data to be tolerated or warned about based on the tool handling.