Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,133 for valid (0.08 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			serverUpgradeHeader:    "SPDY/3.1",
    			serverStatusCode:       http.StatusSwitchingProtocols,
    			shouldError:            true, // fails because the client doesn't trust the proxy
    		},
    		"proxied https (valid hostname + RootCAs) -> https (valid hostname + RootCAs)": {
    			serverFunc:             httpsServerValidHostname(t),
    			proxyServerFunc:        httpsServerValidHostname(t),
    			clientTLS:              &tls.Config{RootCAs: localhostPool},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
  2. src/strconv/quote.go

    			out = string(buf)
    		}
    		// NOTE: Prior implementations did not verify that raw strings consist
    		// of valid UTF-8 characters and we continue to not verify it as such.
    		// The Go specification does not explicitly require valid UTF-8,
    		// but only mention that it is implicitly valid for Go source code
    		// (which must be valid UTF-8).
    		return out, in[end:], nil
    	case '"', '\'':
    		// Handle quoted strings without any escape sequences.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    	// This is required if ProxyProtocol is HTTPConnect or GRPC.
    	// +optional
    	Transport *Transport
    }
    
    // ProtocolType is a set of valid values for Connection.ProtocolType
    type ProtocolType string
    
    // Valid types for ProtocolType for konnectivity server
    const (
    	// Use HTTPConnect to connect to konnectivity server
    	ProtocolHTTPConnect ProtocolType = "HTTPConnect"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. src/net/error_test.go

    		}
    	}
    	if e.Err == nil {
    		return fmt.Errorf("OpError.Err is empty: %v", e)
    	}
    	return nil
    }
    
    // parseDialError parses nestedErr and reports whether it is a valid
    // error value from Dial, Listen functions.
    // It returns nil when nestedErr is valid.
    func parseDialError(nestedErr error) error {
    	if nestedErr == nil {
    		return nil
    	}
    
    	switch err := nestedErr.(type) {
    	case *OpError:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    	}{
    		{
    			desc:     "empty path and name",
    			path:     "",
    			name:     "",
    			expected: false,
    		},
    		{
    			desc:     "valid path and name, both cert and key exist",
    			path:     tmpdir,
    			name:     "foo-0",
    			expected: true,
    		},
    		{
    			desc:     "valid path and name, only cert exist",
    			path:     tmpdir,
    			name:     "foo-1",
    			expected: true,
    		},
    	}
    	for _, rt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. cmd/object-api-options.go

    }
    
    func getAndValidateAttributesOpts(ctx context.Context, w http.ResponseWriter, r *http.Request, bucket, object string) (opts ObjectOptions, valid bool) {
    	var argumentName string
    	var argumentValue string
    	var apiErr APIError
    	var err error
    	valid = true
    
    	defer func() {
    		if valid {
    			return
    		}
    
    		errResp := objectAttributesErrorResponse{
    			ArgumentName:  &argumentName,
    			ArgumentValue: &argumentValue,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pkg/apis/resource/validation/validation.go

    		allErrs = append(allErrs, corevalidation.ValidateNodeSelector(resourceClass.SuitableNodes, field.NewPath("suitableNodes"))...)
    	}
    
    	return allErrs
    }
    
    // ValidateClassUpdate tests if an update to ResourceClass is valid.
    func ValidateClassUpdate(resourceClass, oldClass *resource.ResourceClass) field.ErrorList {
    	allErrs := corevalidation.ValidateObjectMetaUpdate(&resourceClass.ObjectMeta, &oldClass.ObjectMeta, field.NewPath("metadata"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. src/crypto/x509/verify.go

    	}
    
    	var valid string
    	if ip := net.ParseIP(h.Host); ip != nil {
    		// Trying to validate an IP
    		if len(c.IPAddresses) == 0 {
    			return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
    		}
    		for _, san := range c.IPAddresses {
    			if len(valid) > 0 {
    				valid += ", "
    			}
    			valid += san.String()
    		}
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    			expectedOutput:    "Error: expecting a workload namespace\n",
    		},
    		{
    			description:       "valid case - minimal flags, infer defaults",
    			args:              strings.Split("group create --name foo --namespace bar", " "),
    			expectedException: false,
    			expectedOutput:    defaultYAML,
    		},
    		{
    			description: "valid case - create full workload group",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. pkg/kubelet/network/dns/dns_test.go

    		},
    		{
    			desc:            "valid DNSClusterFirstWithHostNet without hostnetwork",
    			hasClusterDNS:   true,
    			dnsPolicy:       v1.DNSClusterFirstWithHostNet,
    			expectedDNSType: podDNSCluster,
    		},
    		{
    			desc:            "valid DNSDefault without hostnetwork",
    			dnsPolicy:       v1.DNSDefault,
    			expectedDNSType: podDNSHost,
    		},
    		{
    			desc:            "valid DNSDefault with hostnetwork",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top