cloudprovider

package
v0.0.0-...-9a4926e Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudProvider

type CloudProvider interface {
	Init(ctx context.Context, opts config.Opts)
	FetchToken() (token *bootstraptoken.BootstrapToken)
	FetchTokens() (token []*bootstraptoken.BootstrapToken)
	StoreToken(token *bootstraptoken.BootstrapToken)
}

func NewCloudProvider

func NewCloudProvider(provider string) CloudProvider

type CloudProviderAzure

type CloudProviderAzure struct {
	CloudProvider
	// contains filtered or unexported fields
}

func (*CloudProviderAzure) FetchToken

func (m *CloudProviderAzure) FetchToken() (token *bootstraptoken.BootstrapToken)

func (*CloudProviderAzure) FetchTokens

func (m *CloudProviderAzure) FetchTokens() (tokens []*bootstraptoken.BootstrapToken)

func (*CloudProviderAzure) Init

func (m *CloudProviderAzure) Init(ctx context.Context, opts config.Opts)

func (*CloudProviderAzure) StoreToken

func (m *CloudProviderAzure) StoreToken(token *bootstraptoken.BootstrapToken)

Jump to

Keyboard shortcuts

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