Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for PersistentFlags (0.13 sec)

  1. istioctl/pkg/analyze/analyze.go

    			return returnError
    		},
    	}
    
    	analysisCmd.PersistentFlags().BoolVarP(&listAnalyzers, "list-analyzers", "L", false,
    		"List the analyzers available to run. Suppresses normal execution.")
    	analysisCmd.PersistentFlags().BoolVarP(&useKube, "use-kube", "k", true,
    		"Use live Kubernetes cluster for analysis. Set --use-kube=false to analyze files only.")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	injectCmd.PersistentFlags().StringVar(&injectConfigFile, "injectConfigFile", "",
    		"Injection configuration filename. Cannot be used with --injectConfigMapName")
    	injectCmd.PersistentFlags().StringVar(&valuesFile, "valuesFile", "",
    		"Injection values configuration filename.")
    
    	injectCmd.PersistentFlags().StringVarP(&inFilename, "filename", "f",
    		"", "Input Kubernetes resource filename")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. istioctl/pkg/dashboard/dashboard.go

    		"e.g. `istioctl dashboard proxy --help`")
    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(envoy)
    
    	proxy := proxyDashCmd(cliContext)
    	proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    	opts.AttachControlPlaneFlags(logCmd)
    	logCmd.PersistentFlags().BoolVar(&istiodReset, "reset", istiodReset, "Reset levels to default value. (info)")
    	logCmd.PersistentFlags().IntVar(&controlzPort, "ctrlz_port", 9876, "ControlZ port")
    	logCmd.PersistentFlags().StringVar(&outputLogLevel, "level", outputLogLevel,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    		},
    	}
    
    	cmd.PersistentFlags().BoolVar(&overwrite, "overwrite", false, overrideHelpStr)
    	cmd.PersistentFlags().StringVarP(&manifestsPath, "manifests", "d", "", util.ManifestsFlagHelpStr)
    	cmd.PersistentFlags().BoolVarP(&skipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&revision, "revision", "r", "", revisionHelpStr)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Jul 22 15:40:30 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    	configureCmd.PersistentFlags().StringVar(&clusterID, "clusterID", "", "The ID used to identify the cluster")
    	configureCmd.PersistentFlags().Int64Var(&tokenDuration, "tokenDuration", 3600, "The token duration in seconds (default: 1 hour)")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    func (c *commonFlags) attach(cmd *cobra.Command) {
    	cmd.PersistentFlags().IntVar(&c.proxyAdminPort, "proxy-admin-port", defaultProxyAdminPort, "Ztunnel proxy admin port")
    	cmd.PersistentFlags().StringVarP(&c.outputFormat, "output", "o", summaryOutput, "Output format: one of json|yaml|short")
    	cmd.PersistentFlags().StringVar(&c.node, "node", "", "Filter workloads by node field")
    	cmd.PersistentFlags().StringVarP(&c.configDumpFile, "file", "f", "",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 19:17:45 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck.go

    				}
    			}
    			return nil
    		},
    	}
    	cmd.PersistentFlags().BoolVar(&skipControlPlane, "skip-controlplane", false, "skip checking the control plane")
    	cmd.PersistentFlags().Var(&outputThreshold, "output-threshold",
    		fmt.Sprintf("The severity level of precheck at which to display messages. Valid values: %v", diag.GetAllLevelStrings()))
    	cmd.PersistentFlags().StringVarP(&msgOutputFormat, "output", "o", formatting.LogFormat,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. istioctl/pkg/validate/validate.go

    			istioNamespace := ctx.IstioNamespace()
    			defaultNamespace := ctx.NamespaceOrDefault("")
    			return validateFiles(&istioNamespace, defaultNamespace, filenames, c.OutOrStderr())
    		},
    	}
    
    	flags := c.PersistentFlags()
    	flags.StringSliceVarP(&filenames, "filename", "f", nil, "Inputs of files to validate")
    	flags.BoolVarP(&referential, "referential", "x", true, "Enable structural validation for policy and telemetry")
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. istioctl/pkg/multicluster/remote_secret.go

    				return err
    			}
    			if warn != nil {
    				_, _ = fmt.Fprintf(c.OutOrStderr(), "warn: %v\n", warn)
    			}
    			_, _ = fmt.Fprint(c.OutOrStdout(), out)
    			return nil
    		},
    	}
    	opts.addFlags(c.PersistentFlags())
    	return c
    }
    
    func createRemoteServiceAccountSecret(kubeconfig *api.Config, clusterName, secName string) (*v1.Secret, error) { // nolint:interfacer
    	var data bytes.Buffer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top