Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Validation (0.17 sec)

  1. pkg/config/validation/validation.go

    }
    
    var _ error = Validation{}
    
    // WrapError turns an error into a Validation
    func WrapError(e error) Validation {
    	return Validation{Err: e}
    }
    
    // ValidateFunc defines a validation func for an API proto.
    type ValidateFunc func(config config.Config) (Warning, error)
    
    // IsValidateFunc indicates whether there is a validation function with the given name.
    func IsValidateFunc(name string) bool {
    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. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				type: string
    				minLength: 5
    				x-kubernetes-validations:
    				- rule: self == "baz"
    				  message: gotta be baz
    			`),
    			oldObj:            "unchanged",
    			newObj:            "unchanged",
    			runtimeCostBudget: 1,
    			errors: []string{
    				`validation failed due to running out of cost budget, no further validation rules will be run`,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/sets"
    	utilvalidation "k8s.io/apimachinery/pkg/util/validation"
    	"k8s.io/apimachinery/pkg/util/version"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubelet/pkg/cri/streaming/portforward"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/exec.go

    	// That cache entry holds a validation description,
    	// which is of the form:
    	//
    	//	filename \x00 statinfo \x00
    	//	...
    	//	compiler id
    	//
    	// If os.Stat of each filename matches statinfo,
    	// then the entry is still valid, and we can use the
    	// compiler id without any further expense.
    	//
    	// Otherwise, we compute a new validation description
    	// and compiler id (below).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    }
    
    // Returns true if the module holds all the invariants expected by the
    // Translator class.
    // TODO(hinsu): Now that translation is done by making a single pass over the
    // MLIR module, consider inlining these validation checks at the place where
    // these invariants are assumed instead of checking upfront.
    static bool IsValidTFLiteMlirModule(ModuleOp module) {
      MLIRContext* context = module.getContext();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

    import org.gradle.integtests.fixtures.build.BuildTestFile
    import org.gradle.integtests.fixtures.cache.FileAccessTimeJournalFixture
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.internal.reflect.validation.ValidationMessageChecker
    import org.gradle.test.fixtures.Flaky
    import org.gradle.test.fixtures.file.LeaksFileHandles
    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.server.http.BlockingHttpServer
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    						http.Error(w, errs.ToAggregate().Error(), http.StatusNotAcceptable)
    						return
    					}
    					// Validation ensures that the request does not query services and files at the same time
    					if len(nlq.Services) > 0 {
    						journal.ServeHTTP(w, req)
    						return
    					}
    					// Validation ensures that the request does not explicitly query multiple files at the same time
    					if len(nlq.Files) == 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    	"k8s.io/apimachinery/pkg/selection"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/apimachinery/pkg/util/validation/field"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apiserver/pkg/apis/example"
    	examplev1 "k8s.io/apiserver/pkg/apis/example/v1"
    	genericapirequest "k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/features"
    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/printers/internalversion/printers.go

    	validatingAdmissionPolicy := []metav1.TableColumnDefinition{
    		{Name: "Name", Type: "string", Format: "name", Description: metav1.ObjectMeta{}.SwaggerDoc()["name"]},
    		{Name: "Validations", Type: "integer", Description: "Validations indicates the number of validation rules defined in this configuration"},
    		{Name: "ParamKind", Type: "string", Description: "ParamKind specifies the kind of resources used to parameterize this policy"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    //		of module path prefixes that should always be fetched in an insecure
    //		manner. Only applies to dependencies that are being fetched directly.
    //		GOINSECURE does not disable checksum database validation. GOPRIVATE or
    //		GONOSUMDB may be used to achieve that.
    //	GOOS
    //		The operating system for which to compile code.
    //		Examples are linux, darwin, windows, netbsd.
    //	GOPATH
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top