Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for nargs (0.2 sec)

  1. operator/cmd/mesh/install.go

    			warnMarker, operatorVer.OperatorCodeBaseVersion)
    	}
    
    	setFlags := applyFlagAliases(iArgs.Set, iArgs.ManifestsPath, iArgs.Revision)
    
    	_, iop, err := manifest.GenerateConfig(iArgs.InFilenames, setFlags, iArgs.Force, kubeClient, l)
    	if err != nil {
    		return fmt.Errorf("generate config: %v", err)
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  2. cmd/endpoint-ellipses.go

    // This applies to even distributed setup syntax as well.
    func GetAllSets(setDriveCount uint64, args ...string) ([][]string, error) {
    	var setArgs [][]string
    	if !ellipses.HasEllipses(args...) {
    		var setIndexes [][]uint64
    		// Check if we have more one args.
    		if len(args) > 1 {
    			var err error
    			setIndexes, err = getSetIndexes(args, []uint64{uint64(len(args))}, setDriveCount, nil)
    			if err != nil {
    				return nil, err
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.quiet(msg+"\n", args...)
    	default:
    		if len(msg) != 0 && len(args) == 0 {
    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. cni/pkg/ipset/nldeps_mock.go

    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    	return args.Error(0)
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. cni/pkg/util/podutil_test.go

    			args: args{
    				namespace: unlabelledNamespace,
    				pod:       unlabelledPod,
    			},
    			want: false,
    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		{
    			name: "pod has label to disable ambient redirection",
    			args: args{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  6. internal/logger/target/console/console.go

    		if entry.API.Args != nil {
    			args := ""
    			if entry.API.Args.Bucket != "" {
    				args = args + "bucket=" + entry.API.Args.Bucket
    			}
    			if entry.API.Args.Object != "" {
    				args = args + ", object=" + entry.API.Args.Object
    			}
    			if entry.API.Args.VersionID != "" {
    				args = args + ", versionId=" + entry.API.Args.VersionID
    			}
    			if len(entry.API.Args.Objects) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. cni/pkg/plugin/plugin.go

    		}
    	}()
    
    	conf, err := parseConfig(args.StdinData)
    	if err != nil {
    		log.Errorf("istio-cni cmdAdd failed to parse config %v %v", string(args.StdinData), err)
    		return err
    	}
    
    	// Create a kube client
    	client, err := newK8sClient(*conf)
    	if err != nil {
    		return err
    	}
    
    	// Actually do the add
    	if err := doAddRun(args, conf, client, IptablesInterceptRuleMgr()); err != nil {
    		return err
    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)
  8. .github/workflows/contributor-pr.yml

              java-version: 11
          - id: determine-sys-prop-args
            uses: actions/github-script@v7
            with:
              script: |
                if (context.payload.pull_request && context.payload.pull_request.head.repo.fork) {
                    core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -DcacheNode=us')
                } else {
                    core.setOutput('sys-prop-args', '-DcacheNode=us')
                }
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    	}
    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

     # Reset levels of all the loggers to default value (warning)  for a specific Ztunnel pod.
     istioctl x ztunnel-config log <pod-name[.namespace]> -r
    `,
    		Aliases: []string{"o"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if err := common.validateArgs(cmd, args); err != nil {
    				return err
    			}
    			if reset && loggerLevelString != "" {
    				cmd.Println(cmd.UsageString())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
Back to top