Documentation
¶
Index ¶
- func Create(ctx context.Context, azureProvider *AzureProvider) error
- func Delete(ctx context.Context, azureProvider *AzureProvider) error
- func GetInstanceIP(ctx context.Context, azureProvider *AzureProvider) (string, error)
- func Start(ctx context.Context, azureProvider *AzureProvider) error
- func Status(ctx context.Context, azureProvider *AzureProvider) (client.Status, error)
- func Stop(ctx context.Context, azureProvider *AzureProvider) error
- func StopRemote(ctx context.Context, azureProvider *AzureProvider) error
- func Token(ctx context.Context, azureProvider *AzureProvider) error
- type AzureProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstanceIP ¶
func GetInstanceIP(ctx context.Context, azureProvider *AzureProvider) (string, error)
func StopRemote ¶ added in v0.0.5
func StopRemote(ctx context.Context, azureProvider *AzureProvider) error
we fallback to use direct http request for this as we'll be on the remote machine.
Types ¶
type AzureProvider ¶
type AzureProvider struct {
Config *options.Options
Cred *azidentity.DefaultAzureCredential
Log log.Logger
WorkingDirectory string
}
func NewProvider ¶
func NewProvider(logs log.Logger) (*AzureProvider, error)
Click to show internal directories.
Click to hide internal directories.