cloud

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Status fetches the status of a remote instance
	Status(ctx context.Context, instanceID string) (ProviderStatus, error)

	// Start starts a remote instance
	Start(ctx context.Context, instanceID string) error
}

type ProviderStatus

type ProviderStatus string
var (
	StatusRunning  ProviderStatus = "RUNNING"
	StatusStopped  ProviderStatus = "STOPPED"
	StatusStopping ProviderStatus = "STOPPING"
	StatusStarting ProviderStatus = "STARTING"
	StatusUnknown  ProviderStatus = "UNKNOWN"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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