Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for newKeys (0.14 sec)

  1. security/samples/plugin_ca_certs/gen_certs.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    echo 'Generate key and cert for root CA.'
    openssl req -newkey rsa:2048 -nodes -keyout root-key.pem -x509 -days 36500 -out root-cert.pem <<EOF
    US
    California
    Sunnyvale
    Istio
    Test
    Root CA
    ******@****.***
    
    
    EOF
    
    echo 'Generate private key for Istio CA.'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Sep 14 20:15:07 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/work.go

    		if d.Path == path {
    			d.Syntax.markRemoved()
    			*d = Use{}
    		}
    	}
    	return nil
    }
    
    func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error {
    	return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers)
    }
    
    func (f *WorkFile) DropReplace(oldPath, oldVers string) error {
    	for _, r := range f.Replace {
    		if r.Old.Path == oldPath && r.Old.Version == oldVers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/HashBiMap.java

       * the position of the new key if it was previously present.
       */
      private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) {
        checkArgument(entry != ABSENT);
        int newKeyHash = Hashing.smearedHash(newKey);
        int newKeyIndex = findEntryByKey(newKey, newKeyHash);
    
        int newPredecessor = lastInInsertionOrder;
        int newSuccessor = ENDPOINT;
        if (newKeyIndex != ABSENT) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. plugin/pkg/admission/gc/gc_admission.go

    	newMeta, err := meta.Accessor(newObj)
    	if err != nil {
    		// if we don't have objectmeta, we don't have the object reference
    		return nil
    	}
    	newRefs := newMeta.GetOwnerReferences()
    	blockingNewRefs := blockingOwnerRefs(newRefs)
    	if len(blockingNewRefs) == 0 {
    		return nil
    	}
    
    	if oldObj == nil {
    		return blockingNewRefs
    	}
    	oldMeta, err := meta.Accessor(oldObj)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate_value.go

    		for K8SValKey, outPathTmpl := range t.KubernetesPatternMapping {
    			newKey, err := renderComponentName(K8SValKey, valKey)
    			if err != nil {
    				return err
    			}
    			newVal, err := renderFeatureComponentPathTemplate(outPathTmpl, componentName)
    			if err != nil {
    				return err
    			}
    			outputMapping[newKey] = &Translation{newVal, nil}
    		}
    	}
    
    	t.KubernetesMapping = outputMapping
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 03:52:24 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  6. pkg/kube/inject/webhook.go

    					if len(pair[0]) > 0 && len(pair) == 2 {
    						newRes = append(newRes, pair...)
    					}
    				}
    				return newRes
    			}
    			newRes = strings.Split(parts[2], "/")
    		}
    		for i, value := range newRes {
    			if i%2 != 0 {
    				// Replace --slash-- with / in values.
    				newRes[i] = strings.ReplaceAll(value, "--slash--", "/")
    			}
    		}
    		return newRes
    	}(path)
    	newEnvs := make(map[string]string)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/helpers_test.go

    		},
    	}
    	oldKey := getStableKey(pod, container)
    
    	// Updating the container image should change the key.
    	container.Image = "foo/image:v2"
    	newKey := getStableKey(pod, container)
    	assert.NotEqual(t, oldKey, newKey)
    }
    
    func TestToKubeContainer(t *testing.T) {
    	c := &runtimeapi.Container{
    		Id: "test-id",
    		Metadata: &runtimeapi.ContainerMetadata{
    			Name:    "test-name",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/pubkeypin/pubkeypin_test.go

    */
    
    package pubkeypin
    
    import (
    	"crypto/x509"
    	"encoding/pem"
    	"strings"
    	"testing"
    )
    
    // testCertPEM is a simple self-signed test certificate issued with the openssl CLI:
    // openssl req -new -newkey rsa:2048 -days 36500 -nodes -x509 -keyout /dev/null -out test.crt
    const testCertPEM = `
    -----BEGIN CERTIFICATE-----
    MIIDRDCCAiygAwIBAgIJAJgVaCXvC6HkMA0GCSqGSIb3DQEBBQUAMB8xHTAbBgNV
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 13 11:38:39 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/registry.go

    		volumezone.Name:                      volumezone.New,
    		nodevolumelimits.CSIName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewCSI),
    		nodevolumelimits.EBSName:             runtime.FactoryAdapter(fts, nodevolumelimits.NewEBS),
    		nodevolumelimits.GCEPDName:           runtime.FactoryAdapter(fts, nodevolumelimits.NewGCEPD),
    		nodevolumelimits.AzureDiskName:       runtime.FactoryAdapter(fts, nodevolumelimits.NewAzureDisk),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils_test.go

    	if len(matches) != 2 {
    		return podName
    	}
    	return matches[1]
    }
    
    // ownerRefsChanged returns true if newRefs does not match originalRefs.
    func ownerRefsChanged(originalRefs, newRefs []metav1.OwnerReference) bool {
    	if len(originalRefs) != len(newRefs) {
    		return true
    	}
    	key := func(ref *metav1.OwnerReference) string {
    		return fmt.Sprintf("%s-%s-%s", ref.APIVersion, ref.Kind, ref.Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
Back to top