mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
add secret flag to options
This commit is contained in:
@@ -130,7 +130,7 @@ type ClientAccessFactory interface {
|
||||
FlagSet() *pflag.FlagSet
|
||||
// Command will stringify and return all environment arguments ie. a command run by a client
|
||||
// using the factory.
|
||||
Command() string
|
||||
Command(cmd *cobra.Command, showSecrets bool) string
|
||||
// BindFlags adds any flags that are common to all kubectl sub commands.
|
||||
BindFlags(flags *pflag.FlagSet)
|
||||
// BindExternalFlags adds any flags defined by external projects (not part of pflags)
|
||||
|
||||
Reference in New Issue
Block a user