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.
Click to show internal directories.
Click to hide internal directories.