Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for xargs (0.19 sec)

  1. 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)
  2. 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)
  3. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. 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)
  5. cni/pkg/util/podutil_test.go

    				Annotations: sidecarStatusAnnotation,
    			},
    		}
    	)
    
    	type args struct {
    		namespace *corev1.Namespace
    		pod       *corev1.Pod
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "ambient mode enabled for namespace",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       unlabelledPod,
    			},
    			want: true,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. 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 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/server.go

    }
    
    func NewServer(ctx context.Context, ready *atomic.Value, pluginSocket string, args AmbientArgs) (*Server, error) {
    	client, err := buildKubeClient(args.KubeConfig)
    	if err != nil {
    		return nil, fmt.Errorf("error initializing kube client: %w", err)
    	}
    
    	cfg := &iptables.Config{
    		RestoreFormat: true,
    		RedirectDNS:   args.DNSCapture,
    		EnableIPv6:    args.EnableIPv6,
    	}
    
    	log.Debug("creating ipsets in the node netns")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  8. internal/logger/logger.go

    			Source:    trace,
    			Variables: tags,
    		}
    	} else {
    		entry.Message = message
    	}
    
    	if anonFlag {
    		entry.API.Args.Bucket = HashString(entry.API.Args.Bucket)
    		entry.API.Args.Object = HashString(entry.API.Args.Object)
    		entry.RemoteHost = HashString(entry.RemoteHost)
    		if entry.Trace != nil {
    			entry.Trace.Variables = make(map[string]interface{})
    		}
    	}
    
    	return entry
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. docs/distributed/CONFIG.md

    console-address: ":9001"
    certs-dir: "/home/user/.minio/certs/"
    pools: # Specify the nodes and drives with pools
      - args:
          - "https://server-example-pool1:9000/mnt/disk{1...4}/"
          - "https://server{1...2}-pool1:9000/mnt/disk{1...4}/"
          - "https://server3-pool1:9000/mnt/disk{1...4}/"
          - "https://server4-pool1:9000/mnt/disk{1...4}/"
      - args:
          - "https://server-example-pool2:9000/mnt/disk{1...4}/"
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint.go

      # List all waypoints in a specific namespace
      istioctl x waypoint list --namespace default`,
    		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
    		},
    	}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 16:16:40 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top