Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,387 for validState (0.35 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. operator/pkg/validate/validate.go

    		}
    	}
    	return
    }
    
    // Validate function below is used by third party for integrations and has to be public
    
    // Validate validates the values of the tree using the supplied Func.
    func Validate(validations map[string]ValidatorFunc, structPtr any, path util.Path, checkRequired bool) (errs util.Errors) {
    	scope.Debugf("validate with path %s, %v (%T)", path, structPtr, structPtr)
    	if structPtr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 12 16:04:15 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. releasenotes/notes/validate-appprotocol.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: istioctl
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 09 21:45:41 UTC 2022
    - 144 bytes
    - Viewed (0)
  9. releasenotes/notes/validate-unknown.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: istioctl
    issue:
    - 24861
    releaseNotes:
    - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 11 21:20:58 UTC 2020
    - 168 bytes
    - Viewed (0)
  10. apache-maven/src/assembly/shared/validate

    Michael Osipov <******@****.***> 1640033625 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 21 09:29:19 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top