package configs

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

Index

Functions

func NewManager

func NewManager() exec.ConfigsManager

NewManager returns a place to store configs.

func Restrict

func Restrict(configs exec.ConfigGetter, t *api.Task) exec.ConfigGetter

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

Source Files

configs.go

Version
v2.1.1 (latest)
Published
Oct 7, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
4 months ago

Tools for package owners.