Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccessKey string SecretKey string CACertFile string AllowReauth bool ClientCertFile string ClientKeyFile string Cloud string DomainID string DomainName string EndpointType string IdentityEndpoint string Insecure bool Password string Passcode string Region string Swauth bool TenantID string TenantName string Token string SecurityToken string Username string UserID string AgencyName string AgencyDomainName string DelegatedProject string MaxRetries int MaxBackoffRetries int BackoffRetryTimeout int UserAgent string // contains filtered or unexported fields }
func (*Config) Load ¶
Load - load existing configuration from config files (`clouds.yaml`, etc.) and env variables
func (*Config) LoadAndValidate ¶
func (c *Config) LoadAndValidate() (*OpenTelekomCloudClient, error)
type OpenTelekomCloudClient ¶
type OpenTelekomCloudClient struct { ProjectClient *golangsdk.ProviderClient DomainClient *golangsdk.ProviderClient // contains filtered or unexported fields }
func NewOpenTelekomCloudClient ¶
func NewOpenTelekomCloudClient(cloud string) (*OpenTelekomCloudClient, error)
type RoundTripper ¶
type RoundTripper struct { Rt http.RoundTripper OsDebug bool MaxRetries int }
RoundTripper satisfies the http.RoundTripper interface and is used to customize the default http client RoundTripper to allow for logging.
Click to show internal directories.
Click to hide internal directories.