tsparams

package
v0.0.0-...-e76145d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelSuite represents upgrade label that can be used for test cases selection.
	LabelSuite = "upgrade"
	// LabelEndToEndUpgrade represents e2e label that can be used for test cases selection.
	LabelEndToEndUpgrade = "e2e"
	// LabelPrepAbortFlow represents prep-abort label that can be used for test cases selection.
	LabelPrepAbortFlow = "ibu-prep-abort"
	// LabelUpgradeAbortFlow represents upgrade-abort label that can be used for test cases selection.
	LabelUpgradeAbortFlow = "ibu-upgrade-abort"
	// LabelRollbackFlow represents rollback label that can be used for test cases selection.
	LabelRollbackFlow = "ibu-auto-rollback"

	// IbuCguNamespace is the namespace where IBU CGUs created on target hub.
	IbuCguNamespace = "default"

	// PrePrepCguName is the name of pre-prep cgu.
	PrePrepCguName = "cgu-ibu-pre-prep"
	// PrePrepPolicyName is the name of managed policy used to create oadp configmap.
	PrePrepPolicyName = "group-ibu-oadp-cm-policy"

	// PrepCguName is the name of prep cgu.
	PrepCguName = "cgu-ibu-prep"
	// PrepPolicyName is the name of managed policy for ibu prep stage validation.
	PrepPolicyName = "group-ibu-prep-stage-policy"

	// UpgradeCguName is the name of upgrade cgu.
	UpgradeCguName = "cgu-ibu-upgrade"
	// UpgradePolicyName is the name of managed policy for ibu upgrade stage validation.
	UpgradePolicyName = "group-ibu-upgrade-stage-policy"

	// FinalizeCguName is the name of finalize cgu.
	FinalizeCguName = "cgu-ibu-finalize"
	// FinalizePolicyName is the name of managed policy for ibu idle stage validation.
	FinalizePolicyName = "group-ibu-finalize-stage-policy"

	// IbuPolicyNamespace is the namespace where IBU policies created on target hub.
	IbuPolicyNamespace = "ztp-group"

	// RollbackCguName is the name of rollback cgu.
	RollbackCguName = "cgu-ibu-rollback"
	// RollbackPolicyName is the name of managed policy for ibu rollback stage validation.
	RollbackPolicyName = "group-ibu-rollback-stage-policy"
)
View Source
const (
	// LCANamespace is the namespace used by the lifecycle-agent.
	LCANamespace = "openshift-lifecycle-agent"

	// LCAWorkloadName is the name used for creating resources needed to backup workload app.
	LCAWorkloadName = "ibu-workload-app"

	// LCAOADPNamespace is the namespace used by the OADP operator.
	LCAOADPNamespace = "openshift-adp"

	// LCAKlusterletNamespace is the namespace that contains the klusterlet.
	LCAKlusterletNamespace = "open-cluster-management-agent"
)

Variables

View Source
var (
	// Labels represents the range of labels that can be used for test cases selection.
	Labels = append(cnfparams.Labels, LabelSuite)

	// ReporterNamespacesToDump tells to the reporter from where to collect logs.
	ReporterNamespacesToDump = map[string]string{
		LCANamespace:           "lca",
		LCAWorkloadName:        "workload",
		LCAKlusterletNamespace: "klusterlet",
	}

	// ReporterCRDsToDump tells to the reporter what CRs to dump.
	ReporterCRDsToDump = []k8sreporter.CRData{
		{Cr: &corev1.PodList{}},
		{Cr: &batchv1.JobList{}},
		{Cr: &corev1.ConfigMapList{}},
		{Cr: &appsv1.DeploymentList{}},
		{Cr: &corev1.ServiceList{}},
		{Cr: &lcav1.ImageBasedUpgradeList{}},
		{Cr: &v1.ClusterOperatorList{}},
	}

	// TargetSnoClusterName is the name of target sno cluster.
	TargetSnoClusterName string
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL