Documentation ¶
Index ¶
- type CloudProvider
- type CloudProviderAzure
- func (m *CloudProviderAzure) FetchToken() (token *bootstraptoken.BootstrapToken)
- func (m *CloudProviderAzure) FetchTokens() (tokens []*bootstraptoken.BootstrapToken)
- func (m *CloudProviderAzure) Init(ctx context.Context, opts config.Opts)
- func (m *CloudProviderAzure) StoreToken(token *bootstraptoken.BootstrapToken)
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)
Click to show internal directories.
Click to hide internal directories.