Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultIdentityEndpoint = "https://infra.mail.ru/identity/v3/" DefaultUserDomainName = "users" DefaultRegionName = "RegionOne" CloudContainersAPIVersion = "1.31" )
View Source
const (
ContainerInfraAPIVersion = "1.28"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { LoadAndValidate() error GetRegion() string GetTenantID() string ComputeV2Client(region string) (*gophercloud.ServiceClient, error) ImageV2Client(region string) (*gophercloud.ServiceClient, error) NetworkingV2Client(region string, sdn string) (*gophercloud.ServiceClient, error) PublicDNSV2Client(region string) (*gophercloud.ServiceClient, error) BlockStorageV3Client(region string) (*gophercloud.ServiceClient, error) KeyManagerV1Client(region string) (*gophercloud.ServiceClient, error) ContainerInfraV1Client(region string) (*gophercloud.ServiceClient, error) ContainerInfraAddonsV1Client(region string) (*gophercloud.ServiceClient, error) IdentityV3Client(region string) (*gophercloud.ServiceClient, error) DatabaseV1Client(region string) (*gophercloud.ServiceClient, error) LoadBalancerV2Client(region string) (*gophercloud.ServiceClient, error) BackupV1Client(region string, tenantID string) (*gophercloud.ServiceClient, error) MLPlatformV1Client(region string) (*gophercloud.ServiceClient, error) GetMutex() *mutexkv.MutexKV }
Config is interface to work with configer calls
func ConfigureProvider ¶
func ConfigureProvider(ctx context.Context, req provider.ConfigureRequest) (Config, diag.Diagnostics)
func ConfigureSdkProvider ¶ added in v0.3.0
func ConfigureSdkProvider(d *schema.ResourceData, terraformVersion string) (Config, sdkdiag.Diagnostics)
Click to show internal directories.
Click to hide internal directories.