Documentation ¶
Index ¶
- Constants
- Variables
- func AccTestBaseExtNetwork() string
- func AccTestBaseFlavor() string
- func AccTestBaseImage() string
- func AccTestBaseNewFlavor() string
- func AccTestGetStepsWithMigrationCases(steps []resource.TestStep) (migrationSteps []resource.TestStep)
- func AccTestPreCheck(t *testing.T)
- func AccTestRenderConfig(testConfig string, values ...map[string]string) string
- func ImportStep(resourceName string) resource.TestStep
Constants ¶
View Source
const AccTestBaseNetwork string = `` /* 656-byte string literal not displayed */
Variables ¶
View Source
var ( OsFlavorName = os.Getenv("OS_FLAVOR_NAME") OsNewFlavorName = os.Getenv("OS_NEW_FLAVOR_NAME") OsImageName = os.Getenv("OS_IMAGE_NAME") OsRegionName = os.Getenv("OS_REGION_NAME") OsProjectID = os.Getenv("OS_PROJECT_ID") OsExtNetName = os.Getenv("OS_EXT_NET_NAME") OsAvailabilityZone = os.Getenv("OS_AVAILABILITY_ZONE") OsVolumeType = os.Getenv("OS_VOLUME_TYPE") )
View Source
var AccTestProtoV6ProviderFactories map[string]func() (tfprotov6.ProviderServer, error)
View Source
var AccTestProvider *schema.Provider
View Source
var AccTestProviders map[string]func() (*schema.Provider, error)
View Source
var AccTestValues map[string]string = map[string]string{ "BaseNetwork": AccTestBaseNetwork, "BaseExtNetwork": AccTestBaseExtNetwork(), "BaseImage": AccTestBaseImage(), "BaseFlavor": AccTestBaseFlavor(), "BaseNewFlavor": AccTestBaseNewFlavor(), "AvailabilityZone": OsAvailabilityZone, "VolumeType": OsVolumeType, "FlavorName": OsFlavorName, "NewFlavorName": OsNewFlavorName, "ImageName": OsImageName, "ExtNetName": OsExtNetName, "ProjectID": OsProjectID, }
Functions ¶
func AccTestBaseExtNetwork ¶
func AccTestBaseExtNetwork() string
func AccTestBaseFlavor ¶
func AccTestBaseFlavor() string
func AccTestBaseImage ¶
func AccTestBaseImage() string
func AccTestBaseNewFlavor ¶
func AccTestBaseNewFlavor() string
func AccTestGetStepsWithMigrationCases ¶ added in v0.3.0
func AccTestPreCheck ¶
func AccTestRenderConfig ¶
func ImportStep ¶ added in v0.3.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.