dummies

package
v0.4.8-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AffinityGroup           *cloud.AffinityGroup
	CSAffinityGroup         *infrav1.CloudStackAffinityGroup
	CSCluster               *infrav1.CloudStackCluster
	CAPIMachine             *clusterv1.Machine
	CSMachine1              *infrav1.CloudStackMachine
	CAPICluster             *clusterv1.Cluster
	ClusterLabel            map[string]string
	ClusterName             string
	ClusterNameSpace        string
	CSMachineTemplate1      *infrav1.CloudStackMachineTemplate
	ACSEndpointSecret1      *corev1.Secret
	ACSEndpointSecret2      *corev1.Secret
	Zone1                   infrav1.CloudStackZoneSpec
	Zone2                   infrav1.CloudStackZoneSpec
	CSFailureDomain1        *infrav1.CloudStackFailureDomain
	CSFailureDomain2        *infrav1.CloudStackFailureDomain
	Net1                    infrav1.Network
	Net2                    infrav1.Network
	ISONet1                 infrav1.Network
	CSISONet1               *infrav1.CloudStackIsolatedNetwork
	Domain                  cloud.Domain
	DomainPath              string
	DomainName              string
	DomainID                string
	Level2Domain            cloud.Domain
	Level2DomainPath        string
	Level2DomainName        string
	Level2DomainID          string
	Account                 cloud.Account
	AccountName             string
	AccountID               string
	Level2Account           cloud.Account
	Level2AccountName       string
	Level2AccountID         string
	User                    cloud.User
	UserID                  string
	Username                string
	Apikey                  string
	SecretKey               string
	Tags                    map[string]string
	Tag1                    map[string]string
	Tag2                    map[string]string
	Tag1Key                 string
	Tag1Val                 string
	Tag2Key                 string
	Tag2Val                 string
	CSApiVersion            string
	CSClusterKind           string
	TestTags                map[string]string
	CSClusterTagKey         string
	CSClusterTagVal         string
	CSClusterTag            map[string]string
	CreatedByCapcKey        string
	CreatedByCapcVal        string
	LBRuleID                string
	PublicIPID              string
	EndPointHost            string
	EndPointPort            int32
	CSConf                  *simpleyaml.Yaml
	DiskOffering            infrav1.CloudStackResourceDiskOffering
	BootstrapSecret         *corev1.Secret
	BootstrapSecretName     string
	CSMachineOwner          *fakes.CloudStackMachineOwner
	CSMachineOwnerReference metav1.OwnerReference
)

Functions

func CAPCNetToCSAPINet

func CAPCNetToCSAPINet(net *infrav1.Network) *csapi.Network

func GetYamlVal

func GetYamlVal(variable string) string

GetYamlVal fetches the values in test/e2e/config/cloudstack.yaml by yaml node. A common config file.

func SetACSEndpointSecretVars

func SetACSEndpointSecretVars()

func SetCSMachineOwner

func SetCSMachineOwner()

func SetClusterSpecToNet

func SetClusterSpecToNet(net *infrav1.Network)

Sets cluster spec to specified network.

func SetDiskOfferingVars

func SetDiskOfferingVars()

func SetDummyBootstrapSecretVar

func SetDummyBootstrapSecretVar()

func SetDummyCAPCClusterVars

func SetDummyCAPCClusterVars()

SetDummyCAPCClusterVars resets the values in each of the exported CloudStackCluster related dummy variables. It is intended to be called in BeforeEach() functions.

func SetDummyCAPIClusterVars

func SetDummyCAPIClusterVars()

SetDummyCapiCluster resets the values in each of the exported CAPICluster related dummy variables.

func SetDummyCAPIMachineVars

func SetDummyCAPIMachineVars()

func SetDummyCSMachineTemplateVars

func SetDummyCSMachineTemplateVars()

SetDummyCSMachineTemplateVars resets the values in each of the exported CloudStackMachinesTemplate dummy variables.

func SetDummyCSMachineVars

func SetDummyCSMachineVars()

SetDummyCSMachineVars resets the values in each of the exported CloudStackMachine dummy variables.

func SetDummyIsoNetToNameOnly

func SetDummyIsoNetToNameOnly()

func SetDummyOwnerReferences

func SetDummyOwnerReferences()

func SetDummyTagVars

func SetDummyTagVars()

SetDummyVars sets/resets tag related dummy vars.

func SetDummyUserVars

func SetDummyUserVars()

func SetDummyVars

func SetDummyVars()

SetDummyVars sets/resets all dummy vars.

func SetDummyZoneVars

func SetDummyZoneVars()

Types

This section is empty.

Jump to

Keyboard shortcuts

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