Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for AddCommand (0.22 sec)

  1. operator/cmd/mesh/operator.go

    	addFlags(odc, args)
    	addFlags(oic, args)
    	addFlags(orc, args)
    
    	addOperatorDumpFlags(odc, odArgs)
    	addOperatorInitFlags(oic, oiArgs)
    	addOperatorRemoveFlags(orc, orArgs)
    
    	oc.AddCommand(odc)
    	oc.AddCommand(oic)
    	oc.AddCommand(orc)
    
    	return oc
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  2. operator/cmd/mesh/manifest.go

    	ic := InstallCmd(ctx)
    
    	addFlags(mc, args)
    	addFlags(mgc, args)
    	addFlags(mdc, args)
    
    	addManifestGenerateFlags(mgc, mgcArgs)
    	addManifestDiffFlags(mdc, mdcArgs)
    
    	mc.AddCommand(mgc)
    	mc.AddCommand(mdc)
    	mc.AddCommand(ic)
    
    	return mc
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. operator/cmd/mesh/root.go

    	}
    	rootCmd.SetArgs(args)
    	rootCmd.PersistentFlags().AddGoFlagSet(flag.CommandLine)
    
    	rootCmd.AddCommand(ManifestCmd(ctx))
    	rootCmd.AddCommand(InstallCmd(ctx))
    	rootCmd.AddCommand(ProfileCmd(ctx))
    	rootCmd.AddCommand(OperatorCmd(ctx))
    	rootCmd.AddCommand(version.CobraCommand())
    	rootCmd.AddCommand(UpgradeCmd(ctx))
    
    	return rootCmd
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile.go

    	addFlags(plc, args)
    	addFlags(pdc, args)
    	addFlags(pdfc, args)
    
    	addProfileDumpFlags(pdc, pdArgs)
    	addProfileListFlags(plc, plArgs)
    	addProfileDiffFlags(pdfc, pdfArgs)
    
    	pc.AddCommand(plc)
    	pc.AddCommand(pdc)
    	pc.AddCommand(pdfc)
    
    	return pc
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  5. istioctl/cmd/root_test.go

    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    	_ = parent.PersistentFlags().String(childFlag2, "", childFlag2)
    	parent.AddCommand(child)
    
    	// verify both parent flags and the child flag are visible by default
    	parent.SetArgs([]string{"child", "--help"})
    	if err := parent.Execute(); err != nil {
    		t.Fatal(err)
    	}
    	got := out.String()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  6. istioctl/pkg/admin/admin.go

    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  7. istioctl/pkg/config/config.go

    		Use:   "config SUBCOMMAND",
    		Short: "Configure istioctl defaults",
    		Args:  cobra.NoArgs,
    		Example: `  # list configuration parameters
      istioctl experimental config list`,
    	}
    	configCmd.AddCommand(listCommand())
    	return configCmd
    }
    
    func listCommand() *cobra.Command {
    	listCmd := &cobra.Command{
    		Use:   "list",
    		Short: "List istio configurable defaults",
    		Args:  cobra.ExactArgs(0),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. istioctl/pkg/authz/authz.go

    func AuthZ(ctx cli.Context) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "authz",
    		Short: "Inspect Istio AuthorizationPolicy",
    	}
    
    	cmd.AddCommand(checkCmd(ctx))
    	cmd.Long += "\n\n" + util.ExperimentalMsg
    	return cmd
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top