Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for kanred (0.17 sec)

  1. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClaimName,
    			Description: `JWT canned policy claim name` + defaultHelpPostfix(ClaimName),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Scopes,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    	}
    	for i, testCase := range testCases {
    		if _, s3Error := checkAdminRequestAuth(ctx, testCase.Request, policy.AllAdminActions, globalSite.Region); s3Error != testCase.ErrCode {
    			t.Errorf("Test %d: Unexpected s3error returned wanted %d, got %d", i, testCase.ErrCode, s3Error)
    		}
    	}
    }
    
    func TestValidateAdminSignature(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. istioctl/pkg/install/k8sversion/version_test.go

    			got, err := extractKubernetesVersion(c.version)
    			if c.errMsg != err && c.isValid {
    				t.Fatalf("\nwanted: %v \nbut found: %v", c.errMsg, err)
    			}
    			if got != c.expected {
    				t.Fatalf("wanted %v got %v", c.expected, got)
    			}
    		})
    	}
    }
    
    func TestIsK8VersionSupported(t *testing.T) {
    	cases := []struct {
    		version *version.Info
    		logMsg  string
    		isValid bool
    	}{
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    	for _, v := range policy.DefaultPolicies {
    		if _, ok := policies[v.Name]; !ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/streaming-signature-v4_test.go

    		{"000000000000bogus", 0, "invalid byte in chunk length"},
    		{"00000000000000000", 0, "http chunk length too large"}, // could accept if we wanted
    		{"10000000000000000", 0, "http chunk length too large"},
    		{"00000000000000001", 0, "http chunk length too large"}, // could accept if we wanted
    	}
    	for i := uint64(0); i <= 1234; i++ {
    		tests = append(tests, testCase{in: fmt.Sprintf("%x", i), want: i})
    	}
    	for _, tt := range tests {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 5.7K bytes
    - Viewed (0)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. cmd/bucket-stats_gen.go

    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    				err = z.Totals[za0001].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Totals", za0001)
    					return
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  8. cmd/api-headers.go

    	totalObjectSize, err := objInfo.GetActualSize()
    	if err != nil {
    		return err
    	}
    
    	if rs == nil && opts.PartNumber > 0 {
    		rs = partNumberToRangeSpec(objInfo, opts.PartNumber)
    	}
    
    	// For providing ranged content
    	start, rangeLen, err = rs.GetOffsetLength(totalObjectSize)
    	if err != nil {
    		return err
    	}
    
    	// Set content length.
    	w.Header().Set(xhttp.ContentLength, strconv.FormatInt(rangeLen, 10))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
  9. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, usageInfoJSON)
    }
    
    // InfoCannedPolicy - GET /minio/admin/v3/info-canned-policy?name={policyName}
    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    			t.Fatalf("Wanted an exception for 'istioctl %s', didn't get one, output was %q",
    				strings.Join(c.args, " "), output)
    		}
    	} else {
    		if fErr != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top