File: metadata.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 (31 lines) | stat: -rw-r--r-- 1,058 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
package manager

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

const (
	// NamePrefix is the prefix required on all plugin binary names
	//
	// Deprecated: use [metadata.NamePrefix]. This alias will be removed in a future release.
	NamePrefix = metadata.NamePrefix

	// MetadataSubcommandName is the name of the plugin subcommand
	// which must be supported by every plugin and returns the
	// plugin metadata.
	//
	// Deprecated: use [metadata.MetadataSubcommandName]. This alias will be removed in a future release.
	MetadataSubcommandName = metadata.MetadataSubcommandName

	// HookSubcommandName is the name of the plugin subcommand
	// which must be implemented by plugins declaring support
	// for hooks in their metadata.
	//
	// Deprecated: use [metadata.HookSubcommandName]. This alias will be removed in a future release.
	HookSubcommandName = metadata.HookSubcommandName
)

// Metadata provided by the plugin.
//
// Deprecated: use [metadata.Metadata]. This alias will be removed in a future release.
type Metadata = metadata.Metadata