Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for PersistentFlags (0.21 sec)

  1. 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,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. 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,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. istioctl/cmd/root.go

    		PersistentPreRunE: ConfigureLogging,
    		Long: `Istio configuration command line utility for service operators to
    debug and diagnose their Istio mesh.
    `,
    	}
    
    	rootCmd.SetArgs(args)
    
    	flags := rootCmd.PersistentFlags()
    	rootOptions := cli.AddRootFlags(flags)
    
    	ctx := cli.NewCLIContext(rootOptions)
    
    	_ = rootCmd.RegisterFlagCompletionFunc(cli.FlagIstioNamespace, func(
    		cmd *cobra.Command, args []string, toComplete string,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. 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")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. 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
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
Back to top