File: annotations.go

package info (click to toggle)
docker.io 28.5.2%2Bdfsg3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 68,176 kB
  • sloc: sh: 5,867; makefile: 863; ansic: 184; python: 162; asm: 159
file content (40 lines) | stat: -rw-r--r-- 1,823 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package manager

import "github.com/docker/cli/cli-plugins/metadata"

const (
	// CommandAnnotationPlugin is added to every stub command added by
	// AddPluginCommandStubs with the value "true" and so can be
	// used to distinguish plugin stubs from regular commands.
	//
	// Deprecated: use [metadata.CommandAnnotationPlugin]. This alias will be removed in the next release.
	CommandAnnotationPlugin = metadata.CommandAnnotationPlugin

	// CommandAnnotationPluginVendor is added to every stub command
	// added by AddPluginCommandStubs and contains the vendor of
	// that plugin.
	//
	// Deprecated: use [metadata.CommandAnnotationPluginVendor]. This alias will be removed in the next release.
	CommandAnnotationPluginVendor = metadata.CommandAnnotationPluginVendor

	// CommandAnnotationPluginVersion is added to every stub command
	// added by AddPluginCommandStubs and contains the version of
	// that plugin.
	//
	// Deprecated: use [metadata.CommandAnnotationPluginVersion]. This alias will be removed in the next release.
	CommandAnnotationPluginVersion = metadata.CommandAnnotationPluginVersion

	// CommandAnnotationPluginInvalid is added to any stub command
	// added by AddPluginCommandStubs for an invalid command (that
	// is, one which failed it's candidate test) and contains the
	// reason for the failure.
	//
	// Deprecated: use [metadata.CommandAnnotationPluginInvalid]. This alias will be removed in the next release.
	CommandAnnotationPluginInvalid = metadata.CommandAnnotationPluginInvalid

	// CommandAnnotationPluginCommandPath is added to overwrite the
	// command path for a plugin invocation.
	//
	// Deprecated: use [metadata.CommandAnnotationPluginCommandPath]. This alias will be removed in the next release.
	CommandAnnotationPluginCommandPath = metadata.CommandAnnotationPluginCommandPath
)