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: 10 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
	Identifier  string
	Credentials *google.Credentials
	Services    struct {
		Compute *compute.Service
		Storage *storage.Service
	}
}

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