volume

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: EPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandExamples

func CommandExamples() string

CommandExamples returns volume command examples for Cobra.

func CommandLong

func CommandLong() string

CommandLong returns the volume command group introduction.

func PruneCommandLong

func PruneCommandLong() string

PruneCommandLong returns help for volume prune.

func RemoveCommandLong

func RemoveCommandLong() string

RemoveCommandLong returns help for volume rm.

Types

type PruneOptions

type PruneOptions struct {
	Orphans bool
	Yes     bool
	Force   bool
}

PruneOptions controls volume orphan prune.

type PruneResult

type PruneResult struct {
	Human string
	Data  map[string]any
}

PruneResult carries volume prune outcome.

func Prune

func Prune(client run.EdgeletAPIClient, opts PruneOptions) (*PruneResult, error)

Prune lists or destroys unreferenced persistent VOLUME claims.

type RemoveResult

type RemoveResult struct {
	Human string
	Data  map[string]any
	Path  string
}

RemoveResult carries volume remove outcome.

func RemovePrivate

func RemovePrivate(client run.EdgeletAPIClient, uuid, name string, force bool) (*RemoveResult, error)

RemovePrivate deletes a private persistent VOLUME by UUID.

func RemoveShared

func RemoveShared(client run.EdgeletAPIClient, name string, force bool) (*RemoveResult, error)

RemoveShared deletes a shared persistent VOLUME by name.

Jump to

Keyboard shortcuts

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