volume

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVolumeCmd

func NewVolumeCmd() *cobra.Command

NewVolumeCmd builds `kuke delete volume <name>` (issue #1236). It removes the daemon-provisioned directory for a single named, scoped Volume. The volume is identified by its name plus its binding scope (--realm/--space/--stack). A Volume is never cell-scoped, so there is no --cell flag. There is no live-mount refusal gate in this step: the container-side mount kind that would reference a Volume lands in step 4 (#1016), where the delete gate against a live mount is exercised.

Types

type MockControllerKey

type MockControllerKey struct{}

MockControllerKey is used to inject a mock kukeonv1.Client via context in tests.

Jump to

Keyboard shortcuts

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