Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 413 for got4 (0.03 sec)

  1. cmd/handler-utils_test.go

    		}
    		if err == nil && testCase.shouldFail {
    			t.Fatalf("Test %d should fail, but it passed", i+1)
    		}
    		if err == nil && !reflect.DeepEqual(metadata, testCase.metadata) {
    			t.Fatalf("Test %d failed: Expected \"%#v\", got \"%#v\"", i+1, testCase.metadata, metadata)
    		}
    	}
    }
    
    // Test getResource()
    func TestGetResource(t *testing.T) {
    	testCases := []struct {
    		p                string
    		host             string
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/kms/IAM.md

    ## FAQ
    
    > Why is this change needed?
    
    Before, there were two separate mechanisms - S3 objects got encrypted using a KMS,
    if present, and the IAM / configuration data got encrypted with the root credentials.
    Now, MinIO encrypts IAM / configuration and S3 objects with a KMS, if present. This
    change unified the key-management aspect within MinIO.
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. docs/distributed/decom.sh

    	exit 1
    fi
    
    got_checksum=$(./mc cat myminio/versioned/dsync/drwmutex.go | md5sum)
    if [ "${expected_checksum}" != "${got_checksum}" ]; then
    	echo "BUG: decommission failed on encrypted objects: expected ${expected_checksum} got ${got_checksum}"
    	exit 1
    fi
    
    # after decommissioning, compare listings in bucket2 and tiered
    ./mc version info myminio/bucket2 | grep -q "versioning is enabled"
    ret=$?
    if [ $ret -ne 0 ]; then
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

          dynamic_addr(symbol) = static_addr(symbol) + load_addr
     
    -     The choice of symbol is arbitrary. The static address we obtain
    -     by constructing a non GOT reference to the symbol, the dynamic
    -     address of the symbol we compute using adrp/add to compute the
    -     symbol's address relative to the PC. */
    -
    -  ElfW(Addr) static_addr;
    -  ElfW(Addr) dynamic_addr;
    -
    Registered: Tue Oct 29 12:39:09 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. internal/kms/dek_test.go

    		}
    		if key.Plaintext != nil {
    			t.Fatalf("Test %d: unmarshaled DEK contains non-nil plaintext", i)
    		}
    		if !bytes.Equal(key.Ciphertext, test.Key.Ciphertext) {
    			t.Fatalf("Test %d: ciphertext mismatch: got %x - want %x", i, key.Ciphertext, test.Key.Ciphertext)
    		}
    	}
    }
    
    func mustDecodeB64(s string) []byte {
    	b, err := base64.StdEncoding.DecodeString(s)
    	if err != nil {
    		panic(err)
    	}
    	return b
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/healthServer_test.go

    	t.Helper()
    	res, err := http.Get(url + endpoint)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer res.Body.Close()
    	if res.StatusCode != expectedStatusCode {
    		t.Fatalf("expected status code from %s: %d, got: %d", endpoint, expectedStatusCode, res.StatusCode)
    	}
    Registered: Wed Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		return
    	}
    	v.message(m)
    }
    
    func (c *Connection) handleResponse(m message) {
    	if debugPrint {
    		fmt.Printf("%s Got mux response: %v\n", c.Local, m)
    	}
    	v, ok := c.outgoing.Load(m.MuxID)
    	if !ok {
    		if debugReqs {
    			fmt.Println(m.MuxID, c.String(), "Got response for unknown mux")
    		}
    		PutByteBuffer(m.Payload)
    		return
    	}
    	if m.Flags&FlagPayloadIsErr != 0 {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. cmd/api-errors_test.go

    	ctx := context.Background()
    	for i, testCase := range toAPIErrorTests {
    		errCode := toAPIErrorCode(ctx, testCase.err)
    		if errCode != testCase.errCode {
    			t.Errorf("Test %d: Expected error code %d, got %d", i+1, testCase.errCode, errCode)
    		}
    	}
    }
    
    // Check if an API error is properly defined
    func TestAPIErrCodeDefinition(t *testing.T) {
    	for errAPI := ErrNone + 1; errAPI < apiErrCodeEnd; errAPI++ {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  9. internal/grid/manager.go

    				err := fmt.Errorf("grid: panic: %v\n", r)
    				gridLogIf(context.Background(), err, err.Error())
    				w.WriteHeader(http.StatusInternalServerError)
    			}
    		}()
    		if debugPrint {
    			fmt.Printf("grid: Got a %s request for: %v\n", req.Method, req.URL)
    		}
    		ctx := req.Context()
    		if err := authReq(req); err != nil {
    			gridLogOnceIf(ctx, fmt.Errorf("auth %s: %w", req.RemoteAddr, err), req.RemoteAddr)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. internal/config/compress/compress_test.go

    			if testCase.success && err != nil {
    				t.Errorf("expected success but failed instead %s", err)
    			}
    			if testCase.success && !reflect.DeepEqual(testCase.expectedPatterns, gotPatterns) {
    				t.Errorf("expected patterns %s but got %s", testCase.expectedPatterns, gotPatterns)
    			}
    		})
    	}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
Back to top