Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for validate0 (0.13 sec)

  1. pkg/config/validation/validation.go

    	return validateFuncs[name]
    }
    
    func RegisterValidateFunc(name string, f ValidateFunc) ValidateFunc {
    	// Wrap the original validate function with an extra validate function for object metadata
    	validate := validateMetadata(f)
    	validateFuncs[name] = validate
    	return validate
    }
    
    func validateMetadata(f ValidateFunc) ValidateFunc {
    	return func(config config.Config) (Warning, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	if err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// validate the request
    	if err := rreq.validate(ctx, objectAPI); err != nil {
    		apiErr := errorCodes.ToAPIErr(ErrMalformedXML)
    		apiErr.Description = err.Error()
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  4. cluster/gce/util.sh

        clear-kubeconfig
      else
      # If some master replicas remain: cluster has been changed, we need to re-validate it.
        echo "... calling validate-cluster" >&2
        # Override errexit
        (validate-cluster) && validate_result="$?" || validate_result="$?"
    
        # We have two different failure modes from validate cluster:
        # - 1: fatal error - cluster won't be working correctly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    					t.Error("Syncing jobs expected to return error when reached the podControl limit")
    				}
    			} else if err != nil {
    				t.Errorf("Unexpected error when syncing jobs: %v", err)
    			}
    			// validate created/deleted pods
    			if int32(len(fakePodControl.Templates)) != tc.expectedCreations {
    				t.Errorf("Unexpected number of creates.  Expected %d, saw %d\n", tc.expectedCreations, len(fakePodControl.Templates))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    			}
    			if len(tt.expectedSubsetClusters) > 0 {
    				compareClusters(t, tt.expectedSubsetClusters[0], subsetClusters[0])
    			}
    			// Validate that use client protocol configures cluster correctly.
    			if tt.destRule != nil && tt.destRule.TrafficPolicy != nil && tt.destRule.TrafficPolicy.GetConnectionPool().GetHttp().GetUseClientProtocol() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. go.sum

    github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
    github.com/envoyproxy/protoc-gen-validate v1.0.4 h1:gVPz/FMfvh57HdSJQyvBtF00j8JU4zdyUgIUNhlgg0A=
    github.com/envoyproxy/protoc-gen-validate v1.0.4/go.mod h1:qys6tmnRsYrQqIhm2bvKZH4Blx/1gTIZ2UKVY1M+Yew=
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 15:32:28 UTC 2024
    - 101.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	}
    	labels["prepare_create"] = "true"
    	metaObj.SetLabels(labels)
    }
    
    func (t *testRESTStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {}
    func (t *testRESTStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	return nil
    }
    func (t *testRESTStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string {
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    	// trigger deleting containers in a pod
    	containerDeletor *podContainerDeletor
    
    	// config iptables util rules
    	makeIPTablesUtilChains bool
    
    	// The AppArmor validator for checking whether AppArmor is supported.
    	appArmorValidator apparmor.Validator
    
    	// StatsProvider provides the node and the container stats.
    	StatsProvider *stats.Provider
    
    	// pluginmanager runs a set of asynchronous loops that figure out which
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    		}
    		clnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, arnStr)
    		if clnt == nil {
    			return sameTarget, toAPIError(ctx, BucketRemoteTargetNotFound{Bucket: bucket})
    		}
    		if checkRemote { // validate remote bucket
    			found, err := clnt.BucketExists(ctx, arn.Bucket)
    			if err != nil {
    				return sameTarget, errorCodes.ToAPIErrWithErr(ErrRemoteDestinationNotFoundError, err)
    			}
    			if !found {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
Back to top