Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,659 for Validate2 (0.12 sec)

  1. operator/pkg/validate/validate.go

    // 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 {
    		return nil
    	}
    	if util.IsStruct(structPtr) {
    		scope.Debugf("validate path %s, skipping struct type %T", path, structPtr)
    		return 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)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Validate.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation validates the rule subject.
     * <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>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. pkg/kube/inject/validate.go

    	}
    	return nil
    }
    
    // ValidateIncludeIPRanges validates the includeIPRanges parameter
    func ValidateIncludeIPRanges(ipRanges string) error {
    	if ipRanges != "*" {
    		if e := validateCIDRList(ipRanges); e != nil {
    			return fmt.Errorf("includeIPRanges invalid: %v", e)
    		}
    	}
    	return nil
    }
    
    // ValidateExcludeIPRanges validates the excludeIPRanges parameter
    func ValidateExcludeIPRanges(ipRanges string) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cluster/validate-cluster.sh

          attempt=$((attempt+1))
          sleep 30
        else
          echo -e " ${color_yellow}Validate output:${color_norm}"
          kubectl_retry get cs
          echo -e "${color_red}Validation returned one or more failed components. Cluster is probably broken.${color_norm}"
          exit 1
        fi
      else
        break
      fi
    done
    
    echo "Validate output:"
    kubectl_retry get cs || true
    if [ "${return_value}" == "0" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 01 06:35:39 UTC 2019
    - 7.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top