Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Brunei (0.24 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config certificates <ztunnel-name[.namespace]> -o json
    `,
    		Aliases: []string{"certificates", "certs", "cert"},
    		Args:    common.validateArgs,
    		RunE: runConfigDump(ctx, common, func(cw *ztunnelDump.ConfigWriter) error {
    			switch common.outputFormat {
    			case summaryOutput:
    				return cw.PrintSecretSummary()
    			case jsonOutput, yamlOutput:
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/podcgroupns.go

    // a canonical form. Practically this means that we convert any punctuation to
    // dashes, which is how the UID is represented within Kubernetes.
    func canonicalizePodUID(uid string) types.UID {
    	return types.UID(strings.Map(func(r rune) rune {
    		if unicode.IsPunct(r) {
    			r = '-'
    		}
    		return r
    	}, uid))
    }
    
    // Cgroup represents a linux cgroup.
    type Cgroup struct {
    	HierarchyID    string
    	ControllerList string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. istioctl/pkg/injector/injector-list.go

    		Example: `  istioctl experimental injector list`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	cmd.AddCommand(injectorListCommand(cliContext))
    	return cmd
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. istioctl/pkg/config/config.go

    	return configCmd
    }
    
    func listCommand() *cobra.Command {
    	listCmd := &cobra.Command{
    		Use:   "list",
    		Short: "List istio configurable defaults",
    		Args:  cobra.ExactArgs(0),
    		RunE: func(c *cobra.Command, _ []string) error {
    			root.Scope.Debugf("Config file %q", root.IstioConfig)
    			return runList(c.OutOrStdout())
    		},
    	}
    	return listCmd
    }
    
    func runList(writer io.Writer) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    func seeExperimentalCmd(name string) *cobra.Command {
    	msg := fmt.Sprintf("(%s is experimental. Use `istioctl experimental %s`)", name, name)
    	return &cobra.Command{
    		Use:   name,
    		Short: msg,
    		RunE: func(_ *cobra.Command, _ []string) error {
    			return errors.New(msg)
    		},
    	}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    			if namespace == "" {
    				return fmt.Errorf("expecting a workload namespace")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			u := &unstructured.Unstructured{
    				Object: map[string]any{
    					"apiVersion": gvk.WorkloadGroup.GroupVersion(),
    					"kind":       gvk.WorkloadGroup.Kind,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := log.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    	RunE: func(c *cobra.Command, args []string) (err error) {
    		cmd.PrintFlags(c.Flags())
    		ctx := c.Context()
    
    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/precheck/precheck.go

      istioctl x precheck
    
      # Check only a single namespace
      istioctl x precheck --namespace default
    
      # Check for behavioral changes since a specific version
      istioctl x precheck --from-version 1.10`,
    		RunE: func(cmd *cobra.Command, args []string) (err error) {
    			msgs := diag.Messages{}
    			if !skipControlPlane {
    				msgs, err = checkControlPlane(ctx)
    				if err != nil {
    					return err
    				}
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \
        | kubectl --kubeconfig=c1.yaml apply -f -`,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, args []string) error {
    			if err := opts.prepare(ctx); err != nil {
    				return err
    			}
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-diff.go

    			"removed.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    				return fmt.Errorf("diff requires two files or directories")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			var err error
    			var equal bool
    			if diffArgs.compareDir {
    				equal, err = compareManifestsFromDirs(diffArgs.verbose, args[0], args[1],
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top