clients

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package clients contains functions for creating OpenStack service clients for use in acceptance tests. It also manages the required environment variables to run the tests.

Index

Constants

This section is empty.

Variables

View Source
var EnvOS = openstack.NewEnv(envPrefix)

Functions

func CloudAndClient added in v0.2.1

func CloudAndClient() (*cc, error)

CloudAndClient returns copy of cloud configuration and authenticated client for OS_ environment

func NewAutoscalingV1Client added in v0.2.7

func NewAutoscalingV1Client() (*golangsdk.ServiceClient, error)

NewAutoscalingV1Client returns authenticated AutoScaling v1 client

func NewBlockStorageV1Client

func NewBlockStorageV1Client() (*golangsdk.ServiceClient, error)

NewBlockStorageV1Client returns a *ServiceClient for making calls to the OpenStack Block Storage v1 API. An error will be returned if authentication or client creation was not possible.

func NewBlockStorageV2Client

func NewBlockStorageV2Client() (*golangsdk.ServiceClient, error)

NewBlockStorageV2Client returns a *ServiceClient for making calls to the OpenStack Block Storage v2 API. An error will be returned if authentication or client creation was not possible.

func NewBlockStorageV3Client

func NewBlockStorageV3Client() (*golangsdk.ServiceClient, error)

NewBlockStorageV3Client returns a *ServiceClient for making calls to the OpenStack Block Storage v3 API. An error will be returned if authentication or client creation was not possible.

func NewCbrV3Client added in v0.2.1

func NewCbrV3Client() (*golangsdk.ServiceClient, error)

func NewCceV3AddonClient added in v0.2.1

func NewCceV3AddonClient() (*golangsdk.ServiceClient, error)

func NewCceV3Client added in v0.2.1

func NewCceV3Client() (*golangsdk.ServiceClient, error)

func NewComputeV1Client added in v0.2.7

func NewComputeV1Client() (*golangsdk.ServiceClient, error)

NewComputeV1Client returns a *ServiceClient for making calls to the OpenStack Compute v1 API. An error will be returned if authentication or client creation was not possible.

func NewComputeV2Client

func NewComputeV2Client() (*golangsdk.ServiceClient, error)

NewComputeV2Client returns a *ServiceClient for making calls to the OpenStack Compute v2 API. An error will be returned if authentication or client creation was not possible.

func NewCsbsV1Client added in v0.2.0

func NewCsbsV1Client() (*golangsdk.ServiceClient, error)

NewCsbsV1Client returns authenticated CSBS v1 client

func NewCssV1Client added in v0.2.7

func NewCssV1Client() (*golangsdk.ServiceClient, error)

NewCssV1Client returns authenticated CSS v1 client

func NewDNSV2Client

func NewDNSV2Client() (*golangsdk.ServiceClient, error)

NewDNSV2Client returns a *ServiceClient for making calls to the OpenStack Compute v2 API. An error will be returned if authentication or client creation was not possible.

func NewDdsV3Client added in v0.2.0

func NewDdsV3Client() (*golangsdk.ServiceClient, error)

NewDdsV3Client returns authenticated DDS v3 client

func NewIdentityV3Client

func NewIdentityV3Client() (*golangsdk.ServiceClient, error)

NewIdentityV3Client returns a *ServiceClient for making calls to the OpenStack Identity v3 API. An error will be returned if authentication or client creation was not possible.

func NewIdentityV3UnauthenticatedClient

func NewIdentityV3UnauthenticatedClient() (*golangsdk.ServiceClient, error)

NewIdentityV3UnauthenticatedClient returns an unauthenticated *ServiceClient for the OpenStack Identity v3 API. An error will be returned if authentication or client creation was not possible.

func NewImageServiceV2Client

func NewImageServiceV2Client() (*golangsdk.ServiceClient, error)

NewImageServiceV2Client returns a *ServiceClient for making calls to the OpenStack Image v2 API. An error will be returned if authentication or client creation was not possible.

func NewNatV2Client added in v0.2.1

func NewNatV2Client() (*golangsdk.ServiceClient, error)

NewNatV2Client returns authenticated NAT v2 client

func NewNetworkV1Client

func NewNetworkV1Client() (*golangsdk.ServiceClient, error)

NewNetworkV1Client returns a *ServiceClient for making calls to the OpenStack Networking v1 API. An error will be returned if authentication or client creation was not possible.

func NewNetworkV2Client

func NewNetworkV2Client() (*golangsdk.ServiceClient, error)

NewNetworkV2Client returns a *ServiceClient for making calls to the OpenStack Networking v2 API. An error will be returned if authentication or client creation was not possible.

func NewOBSClient added in v0.2.3

func NewOBSClient() (*obs.ObsClient, error)

func NewObjectStorageV1Client

func NewObjectStorageV1Client() (*golangsdk.ServiceClient, error)

NewObjectStorageV1Client returns a *ServiceClient for making calls to the OpenStack Object Storage v1 API. An error will be returned if authentication or client creation was not possible.

func NewPeerNetworkV1Client

func NewPeerNetworkV1Client() (*golangsdk.ServiceClient, error)

NewPeerNetworkV1Client returns a *ServiceClient for making calls to the OpenStack Networking v1 API for VPC peer. An error will be returned if authentication or client creation was not possible.

func NewPeerNetworkV2Client

func NewPeerNetworkV2Client() (*golangsdk.ServiceClient, error)

NewPeerNetworkV2Client returns a *ServiceClient for making calls to the OpenStack Networking v2 API for Peer. An error will be returned if authentication or client creation was not possible.

func NewRdsV3 added in v0.1.0

func NewRdsV3() (*golangsdk.ServiceClient, error)

NewRdsV3 returns authenticated RDS v3 client

func NewSharedFileSystemTurboV1Client added in v0.2.7

func NewSharedFileSystemTurboV1Client() (*golangsdk.ServiceClient, error)

NewSharedFileSystemTurboV1Client returns a *ServiceClient for making calls to the OpenStack Shared File System Turbo v1 API. An error will be returned if authentication or client creation was not possible.

func NewSharedFileSystemV2Client

func NewSharedFileSystemV2Client() (*golangsdk.ServiceClient, error)

NewSharedFileSystemV2Client returns a *ServiceClient for making calls to the OpenStack Shared File System v2 API. An error will be returned if authentication or client creation was not possible.

func NewVbsV2Client added in v0.2.7

func NewVbsV2Client() (*golangsdk.ServiceClient, error)

func NewWafV1Client added in v0.2.0

func NewWafV1Client() (*golangsdk.ServiceClient, error)

NewWafV1Client returns authenticated WAF v1 client

func UpdatePeerTenantDetails

func UpdatePeerTenantDetails(cloud *openstack.Cloud) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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