Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,008 for validState (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go

    			},
    			wantErr: "",
    		},
    		{
    			name:        "happy path, with previous state",
    			service:     &testKMSv2EnvelopeService{err: fmt.Errorf("broken")}, // not called
    			state:       validState(t, "2", now, false),
    			statusKeyID: "2",
    			wantState: envelopekmsv2.State{
    				EncryptedObject:     kmstypes.EncryptedObject{KeyID: "2"},
    				ExpirationTimestamp: now.Add(3 * time.Minute),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 16:56:39 UTC 2024
    - 72.3K bytes
    - Viewed (0)
  2. istioctl/pkg/validate/validate.go

      # Validate all yaml files under samples/bookinfo/networking directory
      istioctl validate -f samples/bookinfo/networking
    
      # Validate current deployments under 'default' namespace within the cluster
      kubectl get deployments -o yaml | istioctl validate -f -
    
      # Validate current services under 'default' namespace within the cluster
      kubectl get services -o yaml | istioctl validate -f -
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 17:58:52 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. pilot/test/xdstest/validate.go

    		if found.InsertContains(l.Name) {
    			t.Errorf("duplicate listener name %v", l.Name)
    		}
    		ValidateListener(t, l)
    	}
    }
    
    func ValidateListener(t testing.TB, l *listener.Listener) {
    	t.Helper()
    	if err := l.Validate(); err != nil {
    		t.Errorf("listener %v is invalid: %v", l.Name, err)
    	}
    	validateInspector(t, l)
    	validateListenerTLS(t, l)
    	validateFilterChainMatch(t, l)
    	validateInboundListener(t, l)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. pkg/security/apparmor/validate.go

    type Validator interface {
    	Validate(pod *v1.Pod) error
    	ValidateHost() error
    }
    
    // NewValidator is in order to find AppArmor FS
    func NewValidator() Validator {
    	if err := validateHost(); err != nil {
    		return &validator{validateHostErr: err}
    	}
    	return &validator{}
    }
    
    type validator struct {
    	validateHostErr error
    }
    
    func (v *validator) Validate(pod *v1.Pod) error {
    	if !isRequired(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 20:22:50 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Validate.java

     * <p>
     * Validate rules execute after {@link Finalize} rules, but before rule subject is used as an input.
     * The first parameter of the rule is the rule subject, which is <b>immutable</b>.
     * <p>
     * Please see {@link RuleSource} for more information on method rules.
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @Incubating
    public @interface Validate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package analysis
    
    import (
    	"fmt"
    	"reflect"
    	"strings"
    	"unicode"
    )
    
    // Validate reports an error if any of the analyzers are misconfigured.
    // Checks include:
    // that the name is a valid identifier;
    // that the Doc is not empty;
    // that the Run is non-nil;
    // that the Requires graph is acyclic;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. pkg/kube/inject/validate.go

    Kuat <******@****.***> 1713384401 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/validate-external-gradle-plugin.gradle.kts

    Louis Jacomet <******@****.***> 1711728981 +0100
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go

    // the explored nodes of the object tree.
    func (r *ratchetingValueValidator) Validate(new interface{}) *validate.Result {
    	opts := append([]validate.Option{
    		r.getValidateOption(),
    	}, r.options...)
    
    	s := validate.NewSchemaValidator(r.schema, r.root, r.path, r.knownFormats, opts...)
    
    	res := s.Validate(r.correlation.Value)
    
    	if res.IsValid() {
    		return res
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 21:17:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/format_test.go

    			expr:        `format.dns1123Label().validate("my-label-name")`,
    			expectValue: types.OptionalNone,
    		},
    		{
    			name:        "example_usage_dns1123Subdomain",
    			expr:        `format.dns1123Subdomain().validate("apiextensions.k8s.io")`,
    			expectValue: types.OptionalNone,
    		},
    		{
    			name:        "example_usage_qualifiedName",
    			expr:        `format.qualifiedName().validate("apiextensions.k8s.io/v1beta1")`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top