functional

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package functional implements the envTest coverage for manila-operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManilaTestData

type ManilaTestData struct {
	RabbitmqClusterName    string
	RabbitmqSecretName     string
	ManilaDataBaseUser     string
	ManilaPassword         string
	ManilaServiceUser      string
	Instance               types.NamespacedName
	ManilaRole             types.NamespacedName
	ManilaRoleBinding      types.NamespacedName
	ManilaTransportURL     types.NamespacedName
	ManilaSA               types.NamespacedName
	ManilaDBSync           types.NamespacedName
	ManilaKeystoneEndpoint types.NamespacedName
	ManilaServicePublic    types.NamespacedName
	ManilaServiceInternal  types.NamespacedName
	ManilaConfigMapData    types.NamespacedName
	ManilaConfigMapScripts types.NamespacedName
	ManilaAPI              types.NamespacedName
	ManilaScheduler        types.NamespacedName
	ManilaShares           []types.NamespacedName
	InternalAPINAD         types.NamespacedName
	ContainerImage         string
}

ManilaTestData is the data structure used to provide input data to envTest

func GetManilaTestData

func GetManilaTestData(manilaName types.NamespacedName) ManilaTestData

GetManilaTestData is a function that initialize the ManilaTestData used in the test

Jump to

Keyboard shortcuts

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