annotations

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package annotations defines OCI annotations

Index

Constants

View Source
const (
	// Prefix is the common prefix of nerdctl annotations
	Prefix = "nerdctl/"

	// Bypass4netns is the flag for acceleration with bypass4netns
	// Boolean value which can be parsed with strconv.ParseBool() is required.
	// (like "nerdctl/bypass4netns=true" or "nerdctl/bypass4netns=false")
	Bypass4netns = Prefix + "bypass4netns"

	// Bypass4netnsIgnoreSubnets is a JSON of []string that is appended to
	// the `bypass4netns --ignore` list.
	Bypass4netnsIgnoreSubnets = Bypass4netns + "-ignore-subnets"

	// Bypass4netnsIgnoreBind disables acceleration for bind.
	// Boolean value which can be parsed with strconv.ParseBool() is required.
	Bypass4netnsIgnoreBind = Bypass4netns + "-ignore-bind"
)

Variables

View Source
var ShellCompletions = []string{
	Bypass4netns + "=true",
	Bypass4netns + "=false",
	Bypass4netnsIgnoreSubnets + "=",
	Bypass4netnsIgnoreBind + "=true",
	Bypass4netnsIgnoreBind + "=false",
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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