volumes

package
v0.0.0-...-fa857ea Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateForDev

func CreateForDev(ctx context.Context, dev *model.Dev, c kubernetes.Interface, devPath string) error

CreateForDev deploys the volume claim for a given development container

func Destroy

func Destroy(ctx context.Context, name, namespace string, c kubernetes.Interface, timeout time.Duration) error

Destroy destroys a persistent volume claim

func DestroyDev

func DestroyDev(ctx context.Context, dev *model.Dev, c kubernetes.Interface) error

DestroyDev destroys the persistent volume claim for a given development container

func DestroyWithoutTimeout

func DestroyWithoutTimeout(ctx context.Context, name, namespace string, c kubernetes.Interface) error

DestroyWithoutTimeout destroys a PVC without checking if it was detached or not

func List

func List(ctx context.Context, namespace, labels string, c kubernetes.Interface) ([]apiv1.PersistentVolumeClaim, error)

List returns the list of volumes

Types

This section is empty.

Jump to

Keyboard shortcuts

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