Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 189 for pvcs (0.04 sec)

  1. pkg/controller/volume/expand/expand_controller_test.go

    		pvcKey             string
    		pv                 *v1.PersistentVolume
    		pvc                *v1.PersistentVolumeClaim
    		expansionCalled    bool
    		hasError           bool
    		expectedAnnotation map[string]string
    	}{
    		{
    			name:     "when pvc has no PV binding",
    			pvc:      getFakePersistentVolumeClaim("no-pv-pvc", "", "1Gi", "1Gi", ""),
    			pvcKey:   "default/no-pv-pvc",
    			hasError: true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. src/runtime/traceback_system_test.go

    //go:noinline
    func child7bad() {
    }
    
    //go:noinline
    func child7() {
    	// Write runtime.Caller's view of the stack to stderr, for debugging.
    	var pcs [16]uintptr
    	n := runtime.Callers(1, pcs[:])
    	fmt.Fprintf(os.Stderr, "Callers: %#x\n", pcs[:n])
    	io.WriteString(os.Stderr, formatStack(pcs[:n]))
    
    	// Cause the crash report to be written to stdout.
    	panic("oops")
    }
    
    // TestTracebackSystem tests that the syntax of crash reports produced
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. security/pkg/pki/util/crypto.go

    	"crypto/x509"
    	"encoding/pem"
    	"fmt"
    	"reflect"
    	"strings"
    )
    
    const (
    	blockTypeECPrivateKey    = "EC PRIVATE KEY"
    	blockTypeRSAPrivateKey   = "RSA PRIVATE KEY" // PKCS#1 private key
    	blockTypePKCS8PrivateKey = "PRIVATE KEY"     // PKCS#8 plain private key
    )
    
    // ParsePemEncodedCertificate constructs a `x509.Certificate` object using the
    // given a PEM-encoded certificate.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 13:00:07 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/crypto/rsa/rsa.go

    // Package rsa implements RSA encryption as specified in PKCS #1 and RFC 8017.
    //
    // RSA is a single, fundamental operation that is used in this package to
    // implement either public-key encryption or public-key signatures.
    //
    // The original specification for encryption and signatures with RSA is PKCS #1
    // and the terms "RSA encryption" and "RSA signatures" by default refer to
    // PKCS #1 version 1.5. However, that specification has flaws and new designs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. pkg/registry/core/persistentvolumeclaim/strategy_test.go

    				}
    
    				switch {
    				case oldPvcHasConditins || newPvcHasConditions:
    					// new pvc should not be changed if the feature is enabled, or if the old pvc had Conditions
    					if !reflect.DeepEqual(newPvc, newPvcInfo.pvc()) {
    						t.Errorf("new pvc changed: %v", cmp.Diff(newPvc, newPvcInfo.pvc()))
    					}
    				default:
    					// new pvc should not need to be changed
    					if !reflect.DeepEqual(newPvc, newPvcInfo.pvc()) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. pkg/controller/volume/attachdetach/util/util.go

    	pvc, err := pvcLister.PersistentVolumeClaims(namespace).Get(name)
    	if err != nil {
    		return nil, fmt.Errorf("failed to find PVC %s/%s in PVCInformer cache: %v", namespace, name, err)
    	}
    
    	if pvc.Status.Phase != v1.ClaimBound || pvc.Spec.VolumeName == "" {
    		return nil, fmt.Errorf(
    			"PVC %s/%s has non-bound phase (%q) or empty pvc.Spec.VolumeName (%q)",
    			namespace,
    			name,
    			pvc.Status.Phase,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. plugin/pkg/admission/storage/persistentvolume/resize/admission_test.go

    			"the storageclass that provisions the pvc must support resize")
    	}
    	tests := []struct {
    		name        string
    		resource    schema.GroupVersionResource
    		subresource string
    		oldObj      runtime.Object
    		newObj      runtime.Object
    
    		checkError func(error) bool
    	}{
    		{
    			name:     "pvc-resize, update, no error",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. src/cmd/trace/pprof.go

    		return rec
    	}
    	// Slow path: the stack may still be in the map.
    
    	// Grab the stack's PCs as the source-of-truth.
    	var pcs [pprofMaxStack]uint64
    	pcsForStack(stack, &pcs)
    
    	// Check the source-of-truth.
    	var rec *traceviewer.ProfileRecord
    	if existing, ok := m.pcs[pcs]; ok {
    		// In the map.
    		rec = m.stacks[existing]
    		delete(m.stacks, existing)
    	} else {
    		// Not in the map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/aggregate/controller.go

    	// Locking Registries list while walking it to prevent inconsistent results
    	for _, r := range c.GetRegistries() {
    		svcs := r.Services()
    		if r.Provider() != provider.Kubernetes {
    			index += len(svcs)
    			services = append(services, svcs...)
    		} else {
    			for _, s := range svcs {
    				previous, ok := smap[s.Hostname]
    				if !ok {
    					// First time we see a service. The result will have a single service per hostname
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/util/util_test.go

    	hostPath    = &v1.HostPathVolumeSource{
    		Path: socketPath,
    		Type: &dirOrCreate,
    	}
    	migratedObjectReference    = v1.ObjectReference{Namespace: "default", Name: "migrated-pvc"}
    	nonMigratedObjectReference = v1.ObjectReference{Namespace: "default", Name: "non-migrated-pvc"}
    	fsVolumeMode               = new(v1.PersistentVolumeMode)
    )
    
    type vaTest struct {
    	desc                 string
    	createNodeName       kubetypes.NodeName
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top