Documentation
¶
Overview ¶
Package volume implements `kuke create volume <name>` (issue #1236, step 2 of the volumes epic #1015). Unlike `kuke create blueprint` — which scaffolds a YAML document to stdout because a CellBlueprint is declaratively complex — a Volume's spec is empty and the resource is the on-host directory the daemon provisions, so this verb is imperative like `kuke create secret`: it persists the Volume to the daemon and prints the outcome. A Volume is scopable at realm/space/stack only; cell scope is structurally unrepresentable (there is no --cell flag), satisfying the AC's "cell scope rejected".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewVolumeCmd ¶
NewVolumeCmd builds `kuke create volume <name>` (issue #1236).
Types ¶
type MockControllerKey ¶
type MockControllerKey struct{}
MockControllerKey is used to inject a mock kukeonv1.Client via context in tests.