Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Garg (0.26 sec)

  1. cmd/endpoint-ellipses.go

    		}
    		setArgs = s.Get()
    	}
    
    	uniqueArgs := set.NewStringSet()
    	for _, sargs := range setArgs {
    		for _, arg := range sargs {
    			if uniqueArgs.Contains(arg) {
    				return nil, config.ErrInvalidErasureEndpoints(nil).Msg(fmt.Sprintf("Input args (%s) has duplicate ellipses", args))
    			}
    			uniqueArgs.Add(arg)
    		}
    	}
    
    	return setArgs, nil
    }
    
    // Override set drive count for manual distribution.
    const (
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  2. istioctl/pkg/workload/workload_test.go

    		{arg: "key", wantKey: "key", wantValue: ""},
    		{arg: "", wantKey: "", wantValue: ""},
    	}
    	for _, tt := range tests {
    		t.Run(tt.arg, func(t *testing.T) {
    			gotKey, gotValue := splitEqual(tt.arg)
    			if gotKey != tt.wantKey {
    				t.Errorf("splitEqual(%v) got = %v, want %v", tt.arg, gotKey, tt.wantKey)
    			}
    			if gotValue != tt.wantValue {
    				t.Errorf("splitEqual(%v) got1 = %v, want %v", tt.arg, gotValue, tt.wantValue)
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Wed Mar 27 16:59:05 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. Dockerfile.release.old_cpu

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  4. Dockerfile.release.fips

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.fips -o /go/bin/minio && \
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  5. cmd/sftp-server.go

    func startSFTPServer(args []string) {
    	var (
    		port          int
    		publicIP      string
    		sshPrivateKey string
    	)
    
    	var err error
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

        }
    
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent) {
                ExecutionEvent ee = (ExecutionEvent) arg;
                InternalMavenSession session =
                        InternalMavenSession.from(ee.getSession().getSession());
    Java
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. Dockerfile.release

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Mar 29 19:10:49 GMT 2024
    - 2.8K bytes
    - Viewed (1)
  8. Dockerfile.hotfix

    FROM golang:1.21-alpine as build
    
    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/hotfixes/linux-${TARGETARCH}/archive/minio.${RELEASE} -o /go/bin/minio && \
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. cmd/endpoint.go

    	var endpointType EndpointType
    	var scheme string
    
    	uniqueArgs := set.NewStringSet()
    	// Loop through args and adds to endpoint list.
    	for i, arg := range args {
    		endpoint, err := NewEndpoint(arg)
    		if err != nil {
    			return nil, fmt.Errorf("'%s': %s", arg, err.Error())
    		}
    
    		// All endpoints have to be same type and scheme if applicable.
    		//nolint:gocritic
    		if i == 0 {
    			endpointType = endpoint.Type()
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Apr 10 16:34:59 GMT 2024
    - 34.1K bytes
    - Viewed (0)
  10. fastapi/security/api_key.py

                    parameter or in an HTTP Bearer token).
                    """
                ),
            ] = True,
        ):
            self.model: APIKey = APIKey(
                **{"in": APIKeyIn.query},  # type: ignore[arg-type]
                name=name,
                description=description,
            )
            self.scheme_name = scheme_name or self.__class__.__name__
            self.auto_error = auto_error
    
    Python
    - Registered: Sun Apr 14 07:19:09 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top