Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for cflags (0.2 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  2. 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. operator/cmd/mesh/profile-dump.go

    	// manifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    	manifestsPath string
    }
    
    const (
    	jsonOutput  = "json"
    	yamlOutput  = "yaml"
    	flagsOutput = "flags"
    )
    
    const (
    	istioOperatorTreeString = `
    apiVersion: install.istio.io/v1alpha1
    kind: IstioOperator
    `
    )
    
    func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. istioctl/pkg/clioptions/central.go

    	// GCP project number or ID to use for XDS calls, if any.
    	GCPProject string
    
    	// Istiod address. For MCP may be different than Xds.
    	IstiodAddr string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --endpoint)
    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-dump_test.go

    			inPath := filepath.Join(testDataDir, "input", tt.desc+".yaml")
    			outPath := filepath.Join(testDataDir, "output", tt.desc+".txt")
    
    			got, err := runProfileDump(inPath, tt.configPath, snapshotCharts, "flags")
    			if err != nil {
    				t.Fatal(err)
    			}
    			// installPackagePath may change, we will remove it for consistent output
    			got = installPackagePathRegex.ReplaceAllString(got, "")
    
    			if refreshGoldenFiles() {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. 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 Mar 20 22:53:08 GMT 2024
    - Last Modified: Sun Sep 17 08:27:52 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  7. 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 01 22:53:12 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  8. 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 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. istioctl/cmd/istioctl_test.go

    package cmd
    
    import (
    	"testing"
    
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    )
    
    func TestBadParse(t *testing.T) {
    	// unknown flags should be a command parse
    	rootCmd := GetRootCmd([]string{"--unknown-flag"})
    	fErr := rootCmd.Execute()
    
    	switch fErr.(type) {
    	case istioctlutil.CommandParseError:
    		// do nothing
    	default:
    		t.Errorf("Expected a CommandParseError, but got %q.", fErr)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Aug 29 14:53:25 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. istioctl/pkg/root/root.go

    )
    
    var (
    	// IstioConfig is the name of the istioctl config file (if any)
    	IstioConfig = env.Register("ISTIOCONFIG", defaultIstioctlConfig,
    		"Default values for istioctl flags").Get()
    
    	LoggingOptions = defaultLogOptions()
    
    	// scope is for dev logging.  Warning: log levels are not set by --log_output_level until command is Run().
    	Scope = log.RegisterScope("cli", "istioctl")
    )
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Mar 26 20:38:10 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top