clients

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

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)
	SharedfilesystemV2Client(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 ConfigureFromEnv added in v0.4.0

func ConfigureFromEnv(ctx context.Context) (Config, error)

func ConfigureSdkProvider added in v0.3.0

func ConfigureSdkProvider(d *schema.ResourceData, terraformVersion string) (Config, sdkdiag.Diagnostics)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL