Move Docker Trust out of experimental

Signed-off-by: Nassim 'Nass' Eddequiouaq <eddequiouaq.nassim@gmail.com>
This commit is contained in:
Nassim 'Nass' Eddequiouaq 2018-03-09 21:10:23 +01:00 committed by Victor Vieux
parent 240c03a7f8
commit ac35e851e8
3 changed files with 6 additions and 7 deletions

View File

@ -9,11 +9,10 @@ import (
// NewTrustCommand returns a cobra command for `trust` subcommands // NewTrustCommand returns a cobra command for `trust` subcommands
func NewTrustCommand(dockerCli command.Cli) *cobra.Command { func NewTrustCommand(dockerCli command.Cli) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "trust", Use: "trust",
Short: "Manage trust on Docker images (experimental)", Short: "Manage trust on Docker images",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()), RunE: command.ShowHelp(dockerCli.Err()),
Annotations: map[string]string{"experimentalCLI": ""},
} }
cmd.AddCommand( cmd.AddCommand(
newViewCommand(dockerCli), newViewCommand(dockerCli),

View File

@ -10,7 +10,7 @@ import (
func newTrustKeyCommand(dockerCli command.Streams) *cobra.Command { func newTrustKeyCommand(dockerCli command.Streams) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "key", Use: "key",
Short: "Manage keys for signing Docker images (experimental)", Short: "Manage keys for signing Docker images",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()), RunE: command.ShowHelp(dockerCli.Err()),
} }

View File

@ -10,7 +10,7 @@ import (
func newTrustSignerCommand(dockerCli command.Cli) *cobra.Command { func newTrustSignerCommand(dockerCli command.Cli) *cobra.Command {
cmd := &cobra.Command{ cmd := &cobra.Command{
Use: "signer", Use: "signer",
Short: "Manage entities who can sign Docker images (experimental)", Short: "Manage entities who can sign Docker images",
Args: cli.NoArgs, Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()), RunE: command.ShowHelp(dockerCli.Err()),
} }