Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for Both (0.13 sec)

  1. istioctl/pkg/injector/injector-list_test.go

    					Annotations: map[string]string{
    						annotation.SidecarStatus.Name: `{"revision": "test-anno"}`,
    					},
    				},
    			},
    			expectedRevision: "test-anno",
    		},
    		{
    			name: "has both rev label and annotation, use label",
    			pod: &corev1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{
    						label.IoIstioRev.Name: "test-label", // don't care about the label
    					},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    				}
    			}
    		})
    	}
    }
    
    // Wrapper for calling ListObjectsOnVersionedBuckets tests for both
    // Erasure multiple disks and single node setup.
    func TestListObjectsOnVersionedBuckets(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsOnVersionedBuckets)
    }
    
    // Wrapper for calling ListObjects tests for both Erasure multiple
    // disks and single node setup.
    func TestListObjects(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    		}
    		ctxt.Layout.pools = append(ctxt.Layout.pools, poolDisksLayout{cmdline: arg, layout: setArgs})
    	}
    	return
    }
    
    // CreateServerEndpoints - validates and creates new endpoints from input args, supports
    // both ellipses and without ellipses transparently.
    func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) (
    	endpointServerPools EndpointServerPools, setupType SetupType, err error,
    ) {
    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)
  4. cmd/common-main.go

    	}
    
    	globalDisableFreezeOnBoot = env.Get("_MINIO_DISABLE_API_FREEZE_ON_BOOT", "") == "true" || serverDebugLog
    }
    
    func loadRootCredentials() {
    	// At this point, either both environment variables
    	// are defined or both are not defined.
    	// Check both cases and authenticate them if correctly defined
    	var user, password string
    	var hasCredentials bool
    	//nolint:gocritic
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  5. cni/pkg/iptables/iptables.go

    	// as we are running within a privileged container - and we don't want to take the time to
    	// redetect for each pod anyway.
    	//
    	// Extreme corner case:
    	// If for some reason your host had both binaries, and you were injecting out-of-band
    	// iptables rules within a pod context into `legacy` tables, but your host context preferred
    	// `nft`, we would still inject our rules in-pod into nft tables, which is a bit wonky.
    	//
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    		}
    	}
    }
    
    // ExecObjectLayerAPITest - executes object layer API tests.
    // Creates single node and Erasure ObjectLayer instance, registers the specified API end points and runs test for both the layers.
    func ExecObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	// reset globals.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cni/pkg/util/podutil.go

    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    		Description:    "The requested range is not satisfiable",
    		HTTPStatusCode: http.StatusRequestedRangeNotSatisfiable,
    	},
    	ErrInvalidRangePartNumber: {
    		Code:           "InvalidRequest",
    		Description:    "Cannot specify both Range header and partNumber query parameter",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedXML: {
    		Code:           "MalformedXML",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/site-replication.go

    			// only changing the account status.
    			_, err = globalIAMSys.SetUserStatus(ctx, change.AccessKey, userReq.Status)
    		} else {
    			// We don't allow internal user creation with LDAP enabled for now
    			// (both sites must have LDAP disabled).
    			if globalIAMSys.LDAPConfig.Enabled() {
    				err = errIAMActionNotAllowed
    			} else {
    				_, err = globalIAMSys.CreateUser(ctx, change.AccessKey, userReq)
    			}
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/bucket-replication.go

    		"X-Amz-Object-Lock-Mode",
    		"X-Amz-Object-Lock-Retain-Until-Date",
    		"X-Amz-Object-Lock-Legal-Hold",
    		"X-Amz-Website-Redirect-Location",
    		"X-Amz-Meta-",
    	}
    
    	// compare metadata on both maps to see if meta is identical
    	compareMeta1 := make(map[string]string)
    	for k, v := range oi1.UserDefined {
    		var found bool
    		for _, prefix := range compareKeys {
    			if !stringsHasPrefixFold(k, prefix) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top