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

# Packages

No description provided by the author

# Functions

ExecAndLogCommand executes command 'name' with arguments 'args' and logs the output.
ExecCmdInPod executes command with arguments 'cmd' in Pod 'pod'.
ExecCmdInPodNamespace executes command with arguments 'cmd' in Pod 'podNamespace/podName'.
GetClusterControlPlaneTopology returns infrastructures/cluster objects's ControlPlaneTopology status field and an error if any.
GetClusterNodes returns the number of cluster nodes and an error if any.
No description provided by the author
GetDefaultWorkerProfile returns name of the default out-of-the-box TuneD profile for a node.
GetMachineConfigDaemonForNode returns the machine-config-daemon pod that runs on the specified node.
GetNodesByRole returns a list of nodes that match a given role.
GetNodeTuningOperator returns the node tuning operator Pod.
GetTunedForNode returns a Pod that runs on a given node.
GetUpdatedMachineCountForPool returns the UpdatedMachineCount for MCP 'pool'.
No description provided by the author
Logf formats using the default formats for its operands and writes to ginkgo.GinkgoWriter and a newline is appended.
No description provided by the author
WaitForClusterOperatorConditionReason blocks until the NTO ClusterOperator condition 'conditionType' Reason is equal to the value of 'conditionReason'.
WaitForClusterOperatorConditionStatus blocks until the NTO ClusterOperator condition 'conditionType' Status is equal to the value of 'conditionStatus'.
WaitForCmdInPod runs command with arguments 'cmd' in Pod 'pod' at an interval 'interval' and retries for at most the duration 'duration'.
WaitForCmdOutputInPod runs command with arguments 'cmd' in Pod 'pod' at an interval 'interval' and retries for at most the duration 'duration' expecting standard output of the command with leading and trailing whitespace optionally ('trim') trimmed to match 'valExp'.
WaitForPoolMachineCount polls a pool until its machineCount equals to 'count'.
WaitForPoolUpdatedMachineCount polls a pool until its UpdatedMachineCount equals to 'count'.
WaitForProfileConditionStatus blocks until Profile with name `profile` is reporting its `conditionType` with the value of 'conditionStatus', for the TuneD profile `profileExpect`.
WaitForSysctlInPod waits for a successful ('error' == nil) output of the "sysctl -n 'sysctlVar'" command inside Pod 'pod'.
WaitForSysctlValueInPod blocks until the sysctl value for 'sysctlVar' from inside Pod 'pod' is equal to 'valExp'.

# Constants

The default master profile.
The default worker profile.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author