Documentation
¶
Index ¶
- Constants
- Variables
- func DeleteNodeLabels(ctx goctx.Context, k8sClient client.Client, keys []string) error
- func GetNamespacedName(name, namespace string) types.NamespacedName
- func GetNodeList(ctx goctx.Context, k8sClient client.Client) (*corev1.NodeList, error)
- func InitialiseClients(scheme *runtime.Scheme, cfg *rest.Config) (k8sClient client.Client, k8sClientSet *kubernetes.Clientset, err error)
- func SetNodeLabels(ctx goctx.Context, k8sClient client.Client, labels map[string]string) error
- func SetupBackupServicePreReq(k8sClient client.Client, ctx goctx.Context, namespace string) error
- func SetupByUser(k8sClient client.Client, ctx goctx.Context) error
- func StartTestEnvironment() (testEnv *envtest.Environment, cfg *rest.Config, err error)
Constants ¶
View Source
const AWSSecretName = "aws-secret"
View Source
const AerospikeNs string = "aerospike"
View Source
const AerospikeSecretName = "aerospike-secret"
View Source
const AuthSecretName = "auth-secret"
View Source
const AuthSecretNameForUpdate = "auth-update"
View Source
const MultiClusterNs1 string = "test1"
View Source
const MultiClusterNs2 string = "test2"
View Source
const TLSCacertSecretName = "aerospike-cacert-secret" //nolint:gosec // for testing
Variables ¶
View Source
var Namespaces = []string{namespace, MultiClusterNs1, MultiClusterNs2, AerospikeNs}
Namespaces is the list of all the namespaces used in test-suite
Functions ¶
func DeleteNodeLabels ¶
func GetNamespacedName ¶
func GetNamespacedName(name, namespace string) types.NamespacedName
func GetNodeList ¶
func InitialiseClients ¶
func SetNodeLabels ¶
func StartTestEnvironment ¶
func StartTestEnvironment() (testEnv *envtest.Environment, cfg *rest.Config, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.