Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 126 for stderr (0.1 sec)

  1. istioctl/pkg/describe/describe_test.go

    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	readQuorum, writeQuorum, err := objectQuorumFromMeta(ctx, metaArr, errs, er.defaultParityCount)
    	if err != nil {
    		if shouldCheckForDangling(err, errs, srcBucket) {
    			_, derr := er.deleteIfDangling(context.Background(), srcBucket, srcObject, metaArr, errs, nil, srcOpts)
    			if derr == nil {
    				if srcOpts.VersionID != "" {
    					err = errFileVersionNotFound
    				} else {
    					err = errFileNotFound
    				}
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    			return
    		}
    		publicKey, err = bytesToPublicKey(publicKeyBytes)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    	}
    	addErr := func(msg string) {}
    
    	// Write a version for making *incompatible* changes.
    	// The AdminClient will reject any version it does not know.
    	var inspectZipW *zip.Writer
    	if publicKey != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    			globalBucketTargetSys.markOffline(tgt.EndpointURL())
    		}
    
    		serr := ErrorRespToObjectError(cerr, bucket, object, objInfo.VersionID)
    		switch {
    		case isErrMethodNotAllowed(serr):
    			rAction = replicateAll
    		case isErrObjectNotFound(serr), isErrVersionNotFound(serr):
    			rAction = replicateAll
    		case isErrReadQuorum(serr), isErrWriteQuorum(serr):
    			rAction = replicateAll
    		default:
    			rinfo.Err = cerr
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. go.mod

    	github.com/go-asn1-ber/asn1-ber v1.5.7 // indirect
    	github.com/go-ini/ini v1.67.0 // indirect
    	github.com/go-jose/go-jose/v4 v4.0.4 // indirect
    	github.com/go-logr/logr v1.4.2 // indirect
    	github.com/go-logr/stdr v1.2.2 // indirect
    	github.com/go-ole/go-ole v1.3.0 // indirect
    	github.com/go-openapi/analysis v0.23.0 // indirect
    	github.com/go-openapi/errors v0.22.0 // indirect
    	github.com/go-openapi/jsonpointer v0.21.0 // indirect
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate_test.go

    			validateCmd.SilenceUsage = true
    			validateCmd.SetArgs(c.args)
    
    			// capture output to keep test logs clean
    			var out bytes.Buffer
    			validateCmd.SetOut(&out)
    			validateCmd.SetErr(&out)
    
    			err := validateCmd.Execute()
    			if (err != nil) != c.wantError {
    				t.Errorf("unexpected validate return status: got %v want %v: \nerr=%v",
    					err != nil, c.wantError, err)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    			z, err := OpenReader(test.file)
    			if err != nil {
    				t.Fatal(err)
    			}
    			var files []string
    			sawErr := false
    			err = fs.WalkDir(z, ".", func(path string, d fs.DirEntry, err error) error {
    				if err != nil {
    					if !test.wantErr {
    						t.Errorf("%s: %v", path, err)
    					}
    					sawErr = true
    					return nil
    				}
    				files = append(files, path)
    				return nil
    			})
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    		}
    	}()
    	b.Read(make([]byte, 100))
    }
    
    var errFake = errors.New("fake error")
    
    type errorThenGoodReader struct {
    	didErr bool
    	nread  int
    }
    
    func (r *errorThenGoodReader) Read(p []byte) (int, error) {
    	r.nread++
    	if !r.didErr {
    		r.didErr = true
    		return 0, errFake
    	}
    	return len(p), nil
    }
    
    func TestReaderClearError(t *testing.T) {
    	r := &errorThenGoodReader{}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. cmd/api-response.go

    	}
    	data.CommonPrefixes = commonPrefixes
    	data.KeyCount = len(data.Contents) + len(data.CommonPrefixes)
    	return data
    }
    
    type metaCheckFn = func(name string, action policy.Action) (s3Err APIErrorCode)
    
    // generates CopyObjectResponse from etag and lastModified time.
    func generateCopyObjectResponse(etag string, lastModified time.Time) CopyObjectResponse {
    	return CopyObjectResponse{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. go.sum

    github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
    github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
    github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
    github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
    github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ=
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 06:23:25 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top