mirror of https://github.com/kubernetes/kops.git
24 lines
354 B
Go
24 lines
354 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
type CreateSecretCommand struct {
|
|
cobraCommand *cobra.Command
|
|
}
|
|
|
|
var createSecretCmd = CreateSecretCommand{
|
|
cobraCommand: &cobra.Command{
|
|
Use: "secret",
|
|
Short: "Create secrets",
|
|
Long: `Create secrets.`,
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
cmd := createSecretCmd.cobraCommand
|
|
|
|
createCmd.AddCommand(cmd)
|
|
}
|