Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for canSave (0.17 sec)

  1. cmd/kubeadm/app/phases/certs/certlist_test.go

    			for _, cert := range test.certs {
    				if cert.CAName != "" && certMap[cert.CAName] == nil {
    					t.Errorf("Certificate %q references nonexistent CA %q", cert.Name, cert.CAName)
    				}
    			}
    		})
    	}
    }
    
    func TestMakeCertTree(t *testing.T) {
    	rootCert := &KubeadmCert{
    		Name: "root",
    	}
    	leaf0 := &KubeadmCert{
    		Name:   "leaf0",
    		CAName: "root",
    	}
    	leaf1 := &KubeadmCert{
    		Name:   "leaf1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/certs/certlist.go

    	caMap := make(CertificateTree)
    
    	for _, cert := range m {
    		if cert.CAName == "" {
    			if _, ok := caMap[cert]; !ok {
    				caMap[cert] = []*KubeadmCert{}
    			}
    		} else {
    			ca, ok := m[cert.CAName]
    			if !ok {
    				return nil, errors.Errorf("certificate %q references unknown CA %q", cert.Name, cert.CAName)
    			}
    			caMap[ca] = append(caMap[ca], cert)
    		}
    	}
    
    	return caMap, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/tighten.go

    		// Too many values live across blocks can cause pathological
    		// behavior in the register allocator (see issue 52180).
    		return
    	}
    
    	canMove := f.Cache.allocBoolSlice(f.NumValues())
    	defer f.Cache.freeBoolSlice(canMove)
    
    	// Compute the memory states of each block.
    	startMem := f.Cache.allocValueSlice(f.NumBlocks())
    	defer f.Cache.freeValueSlice(startMem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/apis/output/v1alpha3/types.go

    	// ExternallyManaged defines if the certificate is externally managed.
    	ExternallyManaged bool `json:"externallyManaged"`
    
    	// CAName represents the name of the CA that signed the certificate.
    	// This field is empty for self-signed, root CA certificates.
    	CAName string `json:"caName,omitempty"`
    
    	// Missing represents if the certificate is missing.
    	Missing bool `json:"missing"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    		exist: false,
    	}
    	tests := []struct {
    		name    string
    		cas     map[string]*CAExpirationHandler
    		caName  string
    		want    bool
    		wantErr bool
    	}{
    		{
    			name:    "caName does not exist in cas list",
    			cas:     map[string]*CAExpirationHandler{},
    			caName:  "foo",
    			want:    false,
    			wantErr: true,
    		},
    		{
    			name: "ca exists",
    			cas: map[string]*CAExpirationHandler{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	defer os.RemoveAll(dirPKI)
    
    	// write the CA cert and key to the temporary PKI dir
    	caName := kubeadmconstants.CACertAndKeyBaseName
    	if err := pkiutil.WriteCertAndKey(
    		dirPKI,
    		caName,
    		testCACert,
    		testCAKey); err != nil {
    		t.Fatalf("couldn't write out certificate %s to %s", caName, dirPKI)
    	}
    
    	// creates a certificate and then embeds it into a kubeconfig file
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. pkg/kube/inject/testdata/inputs/hello-openshift.yaml.47.values.gen.yaml

    {
      "global": {
        "autoscalingv2API": true,
        "caAddress": "",
        "caName": "",
        "certSigners": [],
        "configCluster": false,
        "configValidation": true,
        "defaultPodDisruptionBudget": {
          "enabled": true
        },
        "defaultResources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "enabled": false,
        "externalIstiod": false,
        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. pkg/kube/inject/testdata/inputs/hello-probes.yaml.18.values.gen.yaml

    {
      "global": {
        "autoscalingv2API": true,
        "caAddress": "",
        "caName": "",
        "certSigners": [],
        "configCluster": false,
        "configValidation": true,
        "defaultPodDisruptionBudget": {
          "enabled": true
        },
        "defaultResources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "enabled": false,
        "externalIstiod": false,
        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. pkg/kube/inject/testdata/inputs/hello.yaml.14.values.gen.yaml

    {
      "global": {
        "autoscalingv2API": true,
        "caAddress": "",
        "caName": "",
        "certSigners": [],
        "configCluster": false,
        "configValidation": true,
        "defaultPodDisruptionBudget": {
          "enabled": true
        },
        "defaultResources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "enabled": false,
        "externalIstiod": false,
        "hub": "gcr.io/istio-testing",
        "imagePullPolicy": "",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. pkg/kube/inject/testdata/inputs/hello.yaml.3.values.gen.yaml

    {
      "global": {
        "autoscalingv2API": true,
        "caAddress": "",
        "caName": "",
        "certSigners": [],
        "configCluster": false,
        "configValidation": true,
        "defaultPodDisruptionBudget": {
          "enabled": true
        },
        "defaultResources": {
          "requests": {
            "cpu": "10m"
          }
        },
        "enabled": false,
        "externalIstiod": false,
        "hub": "gcr.io/istio-testing",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 21:01:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top