volume

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubernetesPVCNameTagKey = "kubernetes.io/created-for/pvc/name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EBSVolume

type EBSVolume struct {
	ID                  string
	State               string
	KubernetesNamespace string
	KubernetesPVCName   string
}

type VolumeEraser

type VolumeEraser interface {
	ListAvailablePersistentVolumeEBS(ctx context.Context, cluster string) ([]EBSVolume, error)
	DeleteEBSVolumes(ctx context.Context, volumes []EBSVolume) error
}

func NewVolumeEraser

func NewVolumeEraser(cloud aws.Cloud) VolumeEraser

Jump to

Keyboard shortcuts

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