volname

package
v0.2026334.1427 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: MIT Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package volname is the ONE home of the realized name of a SHARED volume: the reserved `charly-shared-<image-box>-<name>` namespace (D-VOL-3).

It is the naming half of the volume contract, split from the placement half (spec/volumeplace) because the box-metadata decoder needs the name and must not reach host-path resolution: volumeplace imports hostenv, hostenv imports container, so a container→volumeplace import would close a cycle. This package imports nothing but the standard library, so every layer — the decoder, the sdk contract aliases, the plugins — can use it.

Index

Constants

View Source
const SharedVolumeMarker = "charly-shared-"

SharedVolumeMarker is the reserved namespace of a shared volume: one named volume, bind store or encrypted store per image box, mounted by every deployment of it.

Variables

This section is empty.

Functions

func IsSharedVolumeName

func IsSharedVolumeName(name string) bool

IsSharedVolumeName reports whether name is in the reserved shared namespace.

func SharedVolumeName

func SharedVolumeName(imageBox, name string) string

SharedVolumeName is the realized name of the shared volume `name` of imageBox.

func SharedVolumePrefix

func SharedVolumePrefix(imageBox string) string

SharedVolumePrefix is the realized prefix of every shared volume of imageBox.

Types

This section is empty.

Jump to

Keyboard shortcuts

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