Help us shape the future of Go! Take the 2026 Go Developer Survey

aws

package
v0.28.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package aws contains the cloud provider specific implementations to manage machines

Index

Constants

View Source
const (
	// ProviderAWS string const to identify AWS provider
	ProviderAWS = "AWS"
)

Variables

This section is empty.

Functions

func NewAWSDriver

func NewAWSDriver(cpi cpi.ClientProviderInterface) driver.Driver

NewAWSDriver returns an empty AWSDriver object

Types

type Driver

type Driver struct {
	CPI cpi.ClientProviderInterface
}

Driver is the driver struct for holding AWS machine information

func (*Driver) CreateMachine

func (d *Driver) CreateMachine(ctx context.Context, req *driver.CreateMachineRequest) (resp *driver.CreateMachineResponse, err error)

CreateMachine handles a machine creation request

func (*Driver) DeleteMachine

func (d *Driver) DeleteMachine(ctx context.Context, req *driver.DeleteMachineRequest) (resp *driver.DeleteMachineResponse, err error)

DeleteMachine handles a machine deletion request

func (*Driver) GetMachineStatus

func (d *Driver) GetMachineStatus(ctx context.Context, req *driver.GetMachineStatusRequest) (resp *driver.GetMachineStatusResponse, err error)

GetMachineStatus handles a machine get status request

func (*Driver) GetVolumeIDs

func (d *Driver) GetVolumeIDs(_ context.Context, req *driver.GetVolumeIDsRequest) (resp *driver.GetVolumeIDsResponse, err error)

GetVolumeIDs returns a list of Volume IDs for all PV Specs for whom a provider volume was found

func (*Driver) InitializeMachine added in v0.20.0

func (d *Driver) InitializeMachine(ctx context.Context, request *driver.InitializeMachineRequest) (resp *driver.InitializeMachineResponse, err error)

InitializeMachine should handle post-creation, one-time VM instance initialization operations. (Ex: Like setting up special network config, etc) The AWS Provider leverages this method to perform disabling of source destination checks for NAT instances. See driver.Driver.InitializeMachine for further information

func (*Driver) ListMachines

func (d *Driver) ListMachines(ctx context.Context, req *driver.ListMachinesRequest) (resp *driver.ListMachinesResponse, err error)

ListMachines lists all the machines possibly created by a machineClass

Directories

Path Synopsis
validation
Package validation - validation is used to validate cloud specific ProviderSpec for AWS
Package validation - validation is used to validate cloud specific ProviderSpec for AWS

Jump to

Keyboard shortcuts

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