Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ProviderName is the name of the provider
ProviderName = "ionoscloud"
)
Variables ¶
View Source
var ( // TestAccProtoV6ProviderFactories is a map of provider names to provider factories TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ ProviderName: func() (tfprotov6.ProviderServer, error) { ctx := context.Background() upgradedSdkServer, err := tf5to6server.UpgradeServer( ctx, ionoscloud.Provider().GRPCProvider, ) if err != nil { log.Fatal(err) } providers := []func() tfprotov6.ProviderServer{ providerserver.NewProtocol6(provider.New()), func() tfprotov6.ProviderServer { return upgradedSdkServer }, } muxServer, err := tf6muxserver.NewMuxServer(ctx, providers...) if err != nil { return nil, err } return muxServer.ProviderServer(), nil }, } )
Functions ¶
func GenerateRandomResourceName ¶
GenerateRandomResourceName builds a unique-ish resource identifier to use in tests.
func ObjectStorageClient ¶ added in v6.6.0
func ObjectStorageClient() (*objstorage.APIClient, error)
ObjectStorageClient returns a new S3 client for acceptance testing
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.