azure

package
v4.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Accounts                         azureclient.AccountsClient
	ActivityLogs                     azureclient.ActivityLogsClient
	Applications                     azureclient.ApplicationsClient
	BlobStorage                      storage.BlobStorageClient
	OpenShiftManagedClusters         externalapi.OpenShiftManagedClustersClient
	OpenShiftManagedClustersAdmin    *adminapi.Client
	VirtualMachineScaleSets          azureclient.VirtualMachineScaleSetsClient
	VirtualMachineScaleSetExtensions azureclient.VirtualMachineScaleSetExtensionsClient
	VirtualMachineScaleSetVMs        azureclient.VirtualMachineScaleSetVMsClient
	Resources                        azureclient.ResourcesClient
	VirtualNetworks                  azureclient.VirtualNetworksClient
	VirtualNetworksPeerings          azureclient.VirtualNetworksPeeringsClient
	Groups                           azureclient.GroupsClient
}

Client is the main controller for azure client objects

func NewClientFromEnvironment

func NewClientFromEnvironment(setStorageClient bool) (*Client, error)

NewClientFromEnvironment creates a new azure client from environment variables. Setting the storage client is optional and should only be used selectively by tests that need access to the config storage blob because configblob.GetService makes api calls to Azure in order to setup the blob client.

func (*Client) OSAResourceGroup

func (cli *Client) OSAResourceGroup(ctx context.Context, resourcegroup, name, location string) (string, error)

OSAResourceGroup returns the name of the resource group holding the OSA cluster resources

Jump to

Keyboard shortcuts

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