Documentation ¶
Index ¶
- Variables
- func CAPCNetToCSAPINet(net *capcv1.Network) *csapi.Network
- func CAPCZoneToCSAPIZone(net *capcv1.Zone) *csapi.Zone
- func SetClusterSpecToNet(net *capcv1.Network)
- func SetDummyCAPCClusterVars()
- func SetDummyCAPIClusterVars()
- func SetDummyCAPIMachineVars()
- func SetDummyCSApiResponse()
- func SetDummyCSMachineStatuses()
- func SetDummyCSMachineTemplateVars()
- func SetDummyCSMachineVars()
- func SetDummyClusterStatus()
- func SetDummyDomainAndAccount()
- func SetDummyDomainID()
- func SetDummyIsoNetToNameOnly()
- func SetDummyTagVars()
- func SetDummyVars()
- func SetDummyZoneVars()
Constants ¶
This section is empty.
Variables ¶
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 string DomainID string RootDomain string RootDomainID string Level2Domain string Level2DomainID string Account 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 ListDomainsParams *csapi.ListDomainsParams ListDomainsResp *csapi.ListDomainsResponse ListAccountsParams *csapi.ListAccountsParams ListAccountsResp *csapi.ListAccountsResponse DiskOffering = capcv1.CloudStackResourceDiskOffering{ CloudStackResourceIdentifier: capcv1.CloudStackResourceIdentifier{ Name: "Small", }, MountPath: "/data", Device: "/dev/vdb", Filesystem: "ext4", Label: "data_disk", } )
Functions ¶
func SetClusterSpecToNet ¶
Sets cluster spec to specified network.
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 SetDummyCSApiResponse ¶
func SetDummyCSApiResponse()
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 SetDummyDomainAndAccount ¶
func SetDummyDomainAndAccount()
SetDummyDomainAndAccount 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 SetDummyZoneVars ¶
func SetDummyZoneVars()
Types ¶
This section is empty.