package naming
import "github.com/moby/swarmkit/v2/api/naming"
Package naming centralizes the naming of SwarmKit objects.
Index ¶
Functions ¶
func Runtime ¶
Runtime returns the runtime name from a given spec.
func Task ¶
Task returns the task name from Annotations.Name, and, in case Annotations.Name is missing, fallback to construct the name from other information.
Source Files ¶
- Version
- v2.0.0-20250103191802-8c1959736554 (latest)
- Published
- Jan 3, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 week ago –
Tools for package owners.