Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,344 for valid (0.15 sec)

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

    					HealthChecks: []healthz.HealthChecker{
    						&mockHealthChecker{
    							pluginName: "valid-plugin",
    							err:        nil,
    						},
    					},
    					EncryptionFileContentHash: "some new config hash",
    				}, nil
    			},
    		},
    		{
    			name:                    "when same valid config is provided previous config shouldn't be changed",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. cmd/kube-apiserver/app/options/validation_test.go

    		},
    		/* success cases */
    		{
    			name:         "valid primary",
    			expectErrors: false,
    			options:      makeOptionsWithCIDRs("10.0.0.0/16", ""),
    		},
    		{
    			name:         "valid primary, class E range",
    			expectErrors: false,
    			options:      makeOptionsWithCIDRs("244.0.0.0/16", ""),
    		},
    		{
    			name:         "valid v4-v6 dual stack",
    			expectErrors: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/objectmeta_test.go

    		}
    	}
    
    	t.Logf("Creating a valid CR and then updating it with invalid values, expecting the same errors")
    	valid := &unstructured.Unstructured{}
    	if err := yaml.Unmarshal([]byte(embeddedResourceInstance), &valid.Object); err != nil {
    		t.Fatal(err)
    	}
    	unstructured.SetNestedField(valid.Object, "valid", "metadata", "name")
    	valid, err = fooClient.Create(context.TODO(), valid, metav1.CreateOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 19K bytes
    - Viewed (0)
  4. src/runtime/arena.go

    	h.mask = 0
    	h.valid = h.low
    
    	return
    }
    
    // write appends the pointerness of the next valid pointer slots
    // using the low valid bits of bits. 1=pointer, 0=scalar.
    func (h writeUserArenaHeapBits) write(s *mspan, bits, valid uintptr) writeUserArenaHeapBits {
    	if h.valid+valid <= ptrBits {
    		// Fast path - just accumulate the bits.
    		h.mask |= bits << h.valid
    		h.valid += valid
    		return h
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top