Documentation
¶
Index ¶
- Variables
- type GcpProvider
- func (g *GcpProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)
- func (g *GcpProvider) DeleteInstance(ctx context.Context, instance string) error
- func (g *GcpProvider) GetInstance(ctx context.Context, instance string) (params.ProviderInstance, error)
- func (g *GcpProvider) GetVersion(ctx context.Context) string
- func (g *GcpProvider) ListInstances(ctx context.Context, poolID string) ([]params.ProviderInstance, error)
- func (g *GcpProvider) RemoveAllInstances(ctx context.Context) error
- func (g *GcpProvider) Start(ctx context.Context, instance string) error
- func (g *GcpProvider) Stop(ctx context.Context, instance string, force bool) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "v0.0.0-unknown"
Functions ¶
This section is empty.
Types ¶
type GcpProvider ¶
type GcpProvider struct {
// contains filtered or unexported fields
}
func NewGcpProvider ¶
func (*GcpProvider) CreateInstance ¶
func (g *GcpProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error)
func (*GcpProvider) DeleteInstance ¶
func (g *GcpProvider) DeleteInstance(ctx context.Context, instance string) error
func (*GcpProvider) GetInstance ¶
func (g *GcpProvider) GetInstance(ctx context.Context, instance string) (params.ProviderInstance, error)
func (*GcpProvider) GetVersion ¶ added in v0.1.1
func (g *GcpProvider) GetVersion(ctx context.Context) string
func (*GcpProvider) ListInstances ¶
func (g *GcpProvider) ListInstances(ctx context.Context, poolID string) ([]params.ProviderInstance, error)
func (*GcpProvider) RemoveAllInstances ¶
func (g *GcpProvider) RemoveAllInstances(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.