hyperscaler

package
v0.0.0-...-baf11bc Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountPool

type AccountPool interface {
	Credentials(hyperscalerType Type, tenantName string) (Credentials, error)
}

func NewAccountPool

func NewAccountPool(secretsClient corev1.SecretInterface) AccountPool

NewAccountPool returns a new AccountPool

type AccountProvider

type AccountProvider interface {
	GardenerCredentials(hyperscalerType Type, tenantName string) (Credentials, error)
}

func NewAccountProvider

func NewAccountProvider(compassPool AccountPool, gardenerPool AccountPool) AccountProvider

NewAccountProvider returns a new AccountProvider

type Credentials

type Credentials struct {
	Name            string
	TenantName      string
	HyperscalerType Type
	CredentialData  map[string][]byte
}

type Type

type Type string
const (
	Azure Type = "azure"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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