aws

package
v1.21.13-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 11 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	framework.NullProvider
}

Provider is a structure to handle AWS clouds for e2e testing

func (*Provider) CreatePD

func (p *Provider) CreatePD(zone string) (string, error)

CreatePD creates a persistent volume on the specified availability zone

func (*Provider) CreatePVSource

func (p *Provider) CreatePVSource(zone, diskName string) (*v1.PersistentVolumeSource, error)

CreatePVSource creates a persistent volume source

func (*Provider) DeleteNode added in v1.14.0

func (p *Provider) DeleteNode(node *v1.Node) error

DeleteNode deletes a node which is specified as the argument

func (*Provider) DeletePD

func (p *Provider) DeletePD(pdName string) error

DeletePD deletes a persistent volume

func (*Provider) DeletePVSource

func (p *Provider) DeletePVSource(pvSource *v1.PersistentVolumeSource) error

DeletePVSource deletes a persistent volume source

func (*Provider) GroupSize

func (p *Provider) GroupSize(group string) (int, error)

GroupSize returns the size of an instance group

func (*Provider) ResizeGroup

func (p *Provider) ResizeGroup(group string, size int32) error

ResizeGroup resizes an instance group

Jump to

Keyboard shortcuts

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