client

package
v0.0.0-...-1a23c2c Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 9 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 {
	Cloud    universal.Cloud
	Region   string
	Tags     map[string]*string
	Settings auth.EnvironmentSettings
	Services struct {
		Groups                    resources.GroupsClient
		SecurityGroups            network.SecurityGroupsClient
		PublicIPPrefixes          network.PublicIPPrefixesClient
		PublicIPAddresses         network.PublicIPAddressesClient
		VirtualNetworks           network.VirtualNetworksClient
		Subnets                   network.SubnetsClient
		Interfaces                network.InterfacesClient
		VirtualMachines           compute.VirtualMachinesClient
		VirtualMachineScaleSets   compute.VirtualMachineScaleSetsClient
		VirtualMachineScaleSetVMs compute.VirtualMachineScaleSetVMsClient
		StorageAccounts           storage.AccountsClient
		BlobContainers            storage.BlobContainersClient
	}
}

func New

func New(ctx context.Context, cloud universal.Cloud, tags map[string]string) (*Client, error)

func (*Client) GetKeyPair

func (c *Client) GetKeyPair(ctx context.Context) (*ssh.DeterministicSSHKeyPair, error)

Jump to

Keyboard shortcuts

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