Documentation
¶
Index ¶
- Constants
- Variables
- func BuildReadyConditions() []corev1.NodeCondition
- func FileExists(filepath string) bool
- func NewDriver(ctx context.Context, kubeconfig string, shootNamespace string) (driver.Driver, error)
- type DriverImpl
- func (d *DriverImpl) CreateMachine(ctx context.Context, req *driver.CreateMachineRequest) (resp *driver.CreateMachineResponse, err error)
- func (d *DriverImpl) DeleteMachine(ctx context.Context, request *driver.DeleteMachineRequest) (response *driver.DeleteMachineResponse, err error)
- func (d *DriverImpl) GetMachineStatus(ctx context.Context, request *driver.GetMachineStatusRequest) (response *driver.GetMachineStatusResponse, err error)
- func (d *DriverImpl) GetVolumeIDs(ctx context.Context, request *driver.GetVolumeIDsRequest) (response *driver.GetVolumeIDsResponse, err error)
- func (d *DriverImpl) InitializeMachine(ctx context.Context, request *driver.InitializeMachineRequest) (*driver.InitializeMachineResponse, error)
- func (d *DriverImpl) ListMachines(ctx context.Context, request *driver.ListMachinesRequest) (response *driver.ListMachinesResponse, err error)
- type Quota
- type QuotaLookup
- type SimulationConfig
Constants ¶
View Source
const ( // ProviderAWS string const to identify AWS provider ProviderAWS = "AWS" QuotaPrefixFmt = "QUOTA_%d" QuotaMachineTypeFmt = QuotaPrefixFmt + "_MACHINE_TYPE" QuotaRegionFmt = QuotaPrefixFmt + "_REGION" QuotaAmountFmt = QuotaPrefixFmt + "_AMOUNT" )
Variables ¶
View Source
var SimulationConfigPath = "gen/simulation-config.json"
Functions ¶
func BuildReadyConditions ¶
func BuildReadyConditions() []corev1.NodeCondition
func FileExists ¶
Types ¶
type DriverImpl ¶
type DriverImpl struct {
// contains filtered or unexported fields
}
DriverImpl is the struct that implements the MCM driver.Driver interface
func (*DriverImpl) CreateMachine ¶
func (d *DriverImpl) CreateMachine(ctx context.Context, req *driver.CreateMachineRequest) (resp *driver.CreateMachineResponse, err error)
func (*DriverImpl) DeleteMachine ¶
func (d *DriverImpl) DeleteMachine(ctx context.Context, request *driver.DeleteMachineRequest) (response *driver.DeleteMachineResponse, err error)
func (*DriverImpl) GetMachineStatus ¶
func (d *DriverImpl) GetMachineStatus(ctx context.Context, request *driver.GetMachineStatusRequest) (response *driver.GetMachineStatusResponse, err error)
func (*DriverImpl) GetVolumeIDs ¶
func (d *DriverImpl) GetVolumeIDs(ctx context.Context, request *driver.GetVolumeIDsRequest) (response *driver.GetVolumeIDsResponse, err error)
func (*DriverImpl) InitializeMachine ¶
func (d *DriverImpl) InitializeMachine(ctx context.Context, request *driver.InitializeMachineRequest) (*driver.InitializeMachineResponse, error)
func (*DriverImpl) ListMachines ¶
func (d *DriverImpl) ListMachines(ctx context.Context, request *driver.ListMachinesRequest) (response *driver.ListMachinesResponse, err error)
type QuotaLookup ¶
type SimulationConfig ¶
Click to show internal directories.
Click to hide internal directories.