package csi

import "github.com/moby/swarmkit/v2/agent/csi"

Index

Functions

func NewManager

func NewManager(pg mobyplugin.Getter, secrets exec.SecretGetter) exec.VolumesManager

NewManager returns a place to store volumes.

func Restrict

func Restrict(volumes exec.VolumeGetter, t *api.Task) exec.VolumeGetter

Restrict provides a getter that only allows access to the volumes referenced by the task.

Source Files

volumes.go

Directories

PathSynopsis
agent/csi/plugin
Version
v2.0.0-20250103191802-8c1959736554 (latest)
Published
Jan 3, 2025
Platform
linux/amd64
Imports
10 packages
Last checked
1 week ago

Tools for package owners.