Documentation ¶
Index ¶
- Constants
- Variables
- func CustomBeforeAll(fn func())
- func ExecAndLogCommand(name string, arg ...string) ([]byte, error)
- func ExecAndLogCommandWithStderr(name string, arg ...string) ([]byte, []byte, error)
- func KnownIssueBugzilla(bugId int)
- func KnownIssueJira(key string)
- func ToString(b []byte) string
Constants ¶
const ( // RoleWorker contains the worker role RoleWorker = "worker" // RoleMaster contains the master role RoleMaster = "master" )
const ( // LabelRole contains the key for the role label LabelRole = "node-role.kubernetes.io" // LabelHostname contains the key for the hostname label LabelHostname = "kubernetes.io/hostname" )
const ( // NamespaceMachineConfigOperator contains the namespace of the machine-config-opereator NamespaceMachineConfigOperator = "openshift-machine-config-operator" // NamespaceTesting contains the name of the testing namespace NamespaceTesting = "performance-addon-operators-testing" )
const ( // NodeInspectorName contains the name of node inspector name NodeInspectorName = "node-inspector" // NodeInspectorNamespace contains the name of node inspector namespace NodeInspectorNamespace = "node-inspector-ns" )
const (
// ContainerMachineConfigDaemon contains the name of the machine-config-daemon container
ContainerMachineConfigDaemon = "machine-config-daemon"
)
const (
// FilePathKubeletConfig contains the kubelet.conf file path
FilePathKubeletConfig = "/etc/kubernetes/kubelet.conf"
)
const ( // LogsFetchDuration represents how much in the past we need to go when fetching the pod logs LogsFetchDuration = 10 * time.Minute )
const SkipBzChecksEnvVar = "NO_BZ_CHECKS"
Variables ¶
var MustGatherDir string
MustGatherDir represents Mustgather directory created using oc adm mustgather
var NTOImage string
NtoImage represents NTO Image location which is either quay.io or any other internal registry
var NodeSelectorLabels map[string]string
NodeSelectorLabels contains the node labels the perfomance profile should match
var NodesSelector string
NodesSelector represents the label selector used to filter impacted nodes.
var PerformanceProfileName string
PerformanceProfileName contains the name of the PerformanceProfile created for tests or an existing profile when discover mode is enabled
var ProfileNotFound bool
ProfileNotFound is true when discovery mode is enabled and no valid profile was found
var RoleWorkerCNF string
RoleWorkerCNF contains role name of cnf worker nodes
Functions ¶
func CustomBeforeAll ¶
func CustomBeforeAll(fn func())
func KnownIssueBugzilla ¶
func KnownIssueBugzilla(bugId int)
Check status of an issue in Bugzilla and skip the test when the issue is not yet resolved (Verified or Closed)
func KnownIssueJira ¶
func KnownIssueJira(key string)
Check status of an issue in Jira and skip the test when the issue is not yet resolved (Verified or Closed)
Types ¶
This section is empty.