2018-12-10 15:30:19 +00:00
|
|
|
package manager
|
|
|
|
|
2025-03-04 23:16:33 +01:00
|
|
|
import (
|
|
|
|
"github.com/docker/cli/cli-plugins/metadata"
|
|
|
|
)
|
|
|
|
|
2018-12-10 15:30:19 +00:00
|
|
|
const (
|
|
|
|
// NamePrefix is the prefix required on all plugin binary names
|
2025-03-04 23:16:33 +01:00
|
|
|
NamePrefix = metadata.NamePrefix
|
2018-12-10 15:30:19 +00:00
|
|
|
|
|
|
|
// MetadataSubcommandName is the name of the plugin subcommand
|
|
|
|
// which must be supported by every plugin and returns the
|
|
|
|
// plugin metadata.
|
2025-03-04 23:16:33 +01:00
|
|
|
MetadataSubcommandName = metadata.MetadataSubcommandName
|
2023-07-20 16:25:36 +01:00
|
|
|
|
|
|
|
// HookSubcommandName is the name of the plugin subcommand
|
|
|
|
// which must be implemented by plugins declaring support
|
|
|
|
// for hooks in their metadata.
|
2025-03-04 23:16:33 +01:00
|
|
|
HookSubcommandName = metadata.HookSubcommandName
|
2018-12-10 15:30:19 +00:00
|
|
|
)
|
|
|
|
|
2020-05-12 10:33:16 +02:00
|
|
|
// Metadata provided by the plugin.
|
2025-03-04 23:16:33 +01:00
|
|
|
type Metadata = metadata.Metadata
|