Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallObject ¶
MarshallObject mashals an object, usually a CSV into YAML
func NewRootCommand ¶
NewRootCommand returns entrypoint command to interact with all other commands
Types ¶
type ClusterData ¶
type ClusterData map[*machineconfigv1.MachineConfigPool][]*profilecreator.GHWHandler
ClusterData collects the cluster wide information, each mcp points to a list of ghw node handlers
type ClusterInfo ¶
type ClusterInfo []MCPInfo
ClusterInfo describe a cluster
func (ClusterInfo) Sort ¶
func (cInfo ClusterInfo) Sort() ClusterInfo
Sort ensures all sequences in the ClusterInfo are sorted, to make comparisons easier.
type NUMACellInfo ¶
NUMACellInfo describe a NUMA cell on a node
type NodeInfo ¶
type NodeInfo struct { Name string `json:"name"` HTEnabled bool `json:"smt_enabled"` CPUsCount int `json:"cpus_count"` NUMACells []NUMACellInfo `json:"numa_cells"` }
NodeInfo describe a Node in a MCP
type ProfileCreatorArgs ¶
type ProfileCreatorArgs struct { PowerConsumptionMode string `json:"power-consumption-mode"` MustGatherDirPath string `json:"must-gather-dir-path"` ProfileName string `json:"profile-name"` ReservedCPUCount int `json:"reserved-cpu-count"` OfflinedCPUCount int `json:"offlined-cpu-count"` SplitReservedCPUsAcrossNUMA bool `json:"split-reserved-cpus-across-numa"` DisableHT bool `json:"disable-ht"` RTKernel bool `json:"rt-kernel"` UserLevelNetworking *bool `json:"user-level-networking,omitempty"` MCPName string `json:"mcp-name"` TMPolicy string `json:"topology-manager-policy"` Info string `json:"info"` PerPodPowerManagement *bool `json:"per-pod-power-management,omitempty"` EnableHardwareTuning bool `json:"enable-hardware-tuning,omitempty"` }
ProfileCreatorArgs represents the arguments passed to the ProfileCreator
type ProfileData ¶
type ProfileData struct {
// contains filtered or unexported fields
}
ProfileData collects and stores all the data needed for profile creation
Click to show internal directories.
Click to hide internal directories.