- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for cobra (0.2 sec)
-
istioctl/cmd/root.go
_ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) { return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete) }) _ = rootCmd.RegisterFlagCompletionFunc(cli.FlagNamespace, func( cmd *cobra.Command, args []string, toComplete string, ) ([]string, cobra.ShellCompDirective) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/config.go
"k8s.io/kubernetes/cmd/kubeadm/app/util/output" utilruntime "k8s.io/kubernetes/cmd/kubeadm/app/util/runtime" ) // newCmdConfig returns cobra.Command for "kubeadm config" command func newCmdConfig(out io.Writer) *cobra.Command { var kubeConfigFile string cmd := &cobra.Command{ Use: "config", Short: "Manage configuration for a kubeadm cluster persisted in a ConfigMap in the cluster", Long: fmt.Sprintf(dedent.Dedent(`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 18.9K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
} return &gw, nil } waypointGenerateCmd := &cobra.Command{ Use: "generate", Short: "Generate a waypoint configuration", Long: "Generate a waypoint configuration as YAML", Example: ` # Generate a waypoint as yaml istioctl waypoint generate --namespace default`, RunE: func(cmd *cobra.Command, args []string) error { gw, err := makeGateway(false) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/cmd.go
return rootCmd } func newProxyCommand(sds istioagent.SDSServiceFactory) *cobra.Command { return &cobra.Command{ Use: "proxy", Short: "XDS proxy agent", FParseErrWhitelist: cobra.FParseErrWhitelist{ // Allow unknown flags for backward-compatibility. UnknownFlags: true, }, PersistentPreRunE: configureLogging, RunE: func(c *cobra.Command, args []string) error { cmd.PrintFlags(c.Flags())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 11.9K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
"istio.io/istio/pkg/slices" ) const ( jsonOutput = "json" yamlOutput = "yaml" summaryOutput = "short" defaultProxyAdminPort = 15000 ) func ZtunnelConfig(ctx cli.Context) *cobra.Command { configCmd := &cobra.Command{ Use: "ztunnel-config", Short: "Update or retrieve current Ztunnel configuration.", Long: "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/node.go
outputWriter io.Writer } // newCmdNode returns the cobra command for `kubeadm upgrade node` func newCmdNode(out io.Writer) *cobra.Command { nodeOptions := newNodeOptions() nodeRunner := workflow.NewRunner() cmd := &cobra.Command{ Use: "node", Short: "Upgrade commands for a node in the cluster", RunE: func(cmd *cobra.Command, args []string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 10K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplanejoin.go
RunAllSiblings: true, ArgsValidator: cobra.NoArgs, }, newEtcdLocalSubphase(), newMarkControlPlaneSubphase(), }, } } func newEtcdLocalSubphase() workflow.Phase { return workflow.Phase{ Name: "etcd", Short: "Add a new local etcd member", Run: runEtcdPhase, InheritFlags: getControlPlaneJoinPhaseFlags("etcd"), ArgsValidator: cobra.NoArgs, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 03:09:42 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/genericclioptions/record_flags.go
See the License for the specific language governing permissions and limitations under the License. */ package genericclioptions import ( "os" "path/filepath" "strings" "github.com/spf13/cobra" "github.com/spf13/pflag" jsonpatch "gopkg.in/evanphx/json-patch.v4" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/json" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubemark/app/hollow_node.go
} } // NewHollowNodeCommand creates a *cobra.Command object with default parameters func NewHollowNodeCommand() *cobra.Command { s := &hollowNodeConfig{ NodeLabels: make(map[string]string), ExtendedResources: make(map[string]string), } cmd := &cobra.Command{ Use: "kubemark", Long: "kubemark", RunE: func(cmd *cobra.Command, args []string) error { verflag.PrintAndExitIfRequested()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 11K bytes - Viewed (0) -
cni/pkg/cmd/root.go
o := ctrlz.DefaultOptions() o.EnablePprof = true return o }() ) var rootCmd = &cobra.Command{ Use: "install-cni", Short: "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.", SilenceUsage: true, PreRunE: func(c *cobra.Command, args []string) error { if err := istiolog.Configure(logOptions); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 13K bytes - Viewed (0)