MCPcopy
hub / github.com/kubernetes/kubectl / AddFlags

Method AddFlags

pkg/kuberc/kuberc.go:60–60  ·  view source on GitHub ↗
(flags *pflag.FlagSet)

Source from the content-addressed store, hash-verified

58// arguments based on user's kuberc configuration.
59type PreferencesHandler interface {
60 AddFlags(flags *pflag.FlagSet)
61 Apply(rootCmd *cobra.Command, kubeConfigFlags *genericclioptions.ConfigFlags, args []string, errOut io.Writer) ([]string, error)
62}
63

Callers 15

NewKubectlCommandFunction · 0.65
NewCmdScaleFunction · 0.65
AddFlagsMethod · 0.65
NewCmdGetFunction · 0.65
AddFlagsMethod · 0.65
NewCmdReconcileFunction · 0.65
NewCmdTaintFunction · 0.65
NewCmdLabelFunction · 0.65
NewCmdDeleteFunction · 0.65
AddFlagsMethod · 0.65
NewCmdClusterInfoDumpFunction · 0.65
NewCmdReplaceFunction · 0.65

Implementers 1

Preferencespkg/kuberc/kuberc.go

Calls

no outgoing calls

Tested by 1

TestApplyWithPruneV2FailFunction · 0.52