MCPcopy Index your code
hub / github.com/containerd/containerd / SetLabel

Method SetLabel

pkg/namespaces/store.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, namespace, key, value string)

Source from the content-addressed store, hash-verified

28 Create(ctx context.Context, namespace string, labels map[string]string) error
29 Labels(ctx context.Context, namespace string) (map[string]string, error)
30 SetLabel(ctx context.Context, namespace, key, value string) error
31 List(ctx context.Context) ([]string, error)
32
33 // Delete removes the namespace. The namespace must be empty to be deleted.

Callers 6

TestMainFunction · 0.65
createContentStoreFunction · 0.65
namespaces.goFile · 0.65
CreateMethod · 0.65
UpdateMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestMainFunction · 0.52
createContentStoreFunction · 0.52