dummies

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AffinityGroup      *cloud.AffinityGroup
	CSAffinityGroup    *capcv1.CloudStackAffinityGroup
	CSCluster          *capcv1.CloudStackCluster
	CAPIMachine        *capiv1.Machine
	CSMachine1         *capcv1.CloudStackMachine
	CAPICluster        *capiv1.Cluster
	CSMachineTemplate1 *capcv1.CloudStackMachineTemplate
	Zone1              capcv1.Zone
	Zone2              capcv1.Zone
	CSZone1            *capcv1.CloudStackZone
	CSZone2            *capcv1.CloudStackZone
	Net1               capcv1.Network
	Net2               capcv1.Network
	ISONet1            capcv1.Network
	CSISONet1          *capcv1.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
	CSClusterName      string
	CSlusterNamespace  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       capcv1.CloudStackResourceDiskOffering
)

Functions

func CAPCNetToCSAPINet

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

func CAPCZoneToCSAPIZone

func CAPCZoneToCSAPIZone(net *capcv1.Zone) *csapi.Zone

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 SetClusterDummyDomainAndAccount

func SetClusterDummyDomainAndAccount()

SetClusterDummyDomainAndAccount sets domain and account in the CSCluster Spec. This is not the default.

func SetClusterSpecToNet

func SetClusterSpecToNet(net *capcv1.Network)

Sets cluster spec to specified network.

func SetDiskOfferingVars

func SetDiskOfferingVars()

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 SetDummyCSMachineStatuses

func SetDummyCSMachineStatuses()

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 SetDummyClusterStatus

func SetDummyClusterStatus()

Fills in cluster status vars.

func SetDummyDomainAndAccount

func SetDummyDomainAndAccount()

SetClusterDummyDomainAndAccount sets domain and account in the CSCluster Spec. This is not the default.

func SetDummyDomainID

func SetDummyDomainID()

SetDummyDomainAndAccount sets domainID in the CSCluster Status. This is not the default.

func SetDummyIsoNetToNameOnly

func SetDummyIsoNetToNameOnly()

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