Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Flags (0.21 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    	return err
    }
    
    // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. istioctl/pkg/validate/validate.go

    			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")
    	_ = flags.MarkHidden("referential")
    	return c
    }
    
    func warningToString(w validation.Warning) string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. operator/README.md

    1. The controller does not accept any dynamic user config through flags. All user interaction is through the
    IstioOperator CR.
    1. The controller has additional logic that mirrors istioctl commands like upgrade, but is driven from the declarative
    API rather than command line.
    
    ### Quick tour of CLI commands
    
    #### Flags
    
    The `istioctl` command supports the following flags:
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/ztunnelserver.go

    	err := c.SetReadDeadline(time.Now().Add(timeout))
    	if err != nil {
    		return nil, 0, err
    	}
    	n, oobn, flags, _, err := c.ReadMsgUnix(buf[:], oob)
    	if err != nil {
    		return nil, 0, err
    	}
    	if flags&unix.MSG_TRUNC != 0 {
    		return nil, 0, fmt.Errorf("truncated message")
    	}
    	if flags&unix.MSG_CTRUNC != 0 {
    		return nil, 0, fmt.Errorf("truncated control message")
    	}
    	var resp T
    	var respPtr PT = &resp
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    			if deleteAll {
    				return deleteWaypoints(cmd, kubeClient, ns, nil)
    			}
    
    			// Delete waypoints by names if provided
    			return deleteWaypoints(cmd, kubeClient, ns, args)
    		},
    	}
    	waypointDeleteCmd.Flags().BoolVar(&deleteAll, "all", false, "Delete all waypoints in the namespace")
    
    	waypointListCmd := &cobra.Command{
    		Use:   "list",
    		Short: "List managed waypoint configurations",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload_test.go

    			args:              strings.Split("group create --name foo", " "),
    			expectedException: true,
    			expectedOutput:    "Error: expecting a workload namespace\n",
    		},
    		{
    			description:       "valid case - minimal flags, infer defaults",
    			args:              strings.Split("group create --name foo --namespace bar", " "),
    			expectedException: false,
    			expectedOutput:    defaultYAML,
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    			default:
    				return fmt.Errorf("output format %q not supported", outputFormat)
    			}
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	bootstrapConfigCmd.Flags().StringVarP(&outputFormat, "output", "o", jsonOutput, "Output format: one of json|yaml|short")
    	bootstrapConfigCmd.PersistentFlags().StringVarP(&configDumpFile, "file", "f", "",
    		"Envoy config dump JSON file")
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. istioctl/pkg/wait/wait.go

    // Cmd represents the wait command
    func Cmd(cliCtx cli.Context) *cobra.Command {
    	namespace := cliCtx.Namespace()
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "wait [flags] <type> <name>[.<namespace>]",
    		Short: "Wait for an Istio resource",
    		Long:  `Waits for the specified condition to be true of an Istio resource.`,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    // is passed in on stdin. Your plugin may wish to expose its functionality via
    // runtime args, see CONVENTIONS.md in the CNI spec.
    type Config struct {
    	types.NetConf
    
    	// Add plugin-specific flags here
    	LogLevel        string     `json:"log_level"`
    	LogUDSAddress   string     `json:"log_uds_address"`
    	CNIEventAddress string     `json:"cni_event_address"`
    	AmbientEnabled  bool       `json:"ambient_enabled"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestGenerate(filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	return runManifestCommand("generate", filenames, flags, chartSource, fileSelect)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top