Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 346 for podutil (0.11 sec)

  1. platforms/software/security/src/main/java/org/gradle/security/internal/pgp/BaseInMemoryPgpSignatoryProvider.java

     * limitations under the License.
     */
    
    package org.gradle.security.internal.pgp;
    
    import org.bouncycastle.openpgp.PGPSecretKey;
    import org.bouncycastle.openpgp.PGPSecretKeyRing;
    import org.bouncycastle.openpgp.PGPUtil;
    import org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRing;
    import org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRingCollection;
    import org.gradle.api.InvalidUserDataException;
    import org.gradle.api.Project;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/upgrade/plan.go

    	// flags are respected while keeping the configuration file not changed.
    	allowRCUpgrades, ok := cmdutil.ValueFromFlagsOrConfig(flagSet, options.AllowRCUpgrades, upgradeCfg.Plan.AllowRCUpgrades, &flags.allowRCUpgrades).(*bool)
    	if !ok {
    		return cmdutil.TypeMismatchErr("allowRCUpgrades", "bool")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/renewal/manager.go

    			return err
    		}
    	}
    	cfg := &pkiutil.CertConfig{
    		Config:              certConfig,
    		EncryptionAlgorithm: rm.cfg.EncryptionAlgorithmType(),
    	}
    
    	// generates the CSR request and save it
    	csr, key, err := pkiutil.NewCSRAndKey(cfg)
    	if err != nil {
    		return errors.Wrapf(err, "failure while generating %s CSR and key", name)
    	}
    	if err := pkiutil.WriteKey(outdir, name, key); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. pkg/kubelet/status/state/state_mem.go

    }
    
    func (s *stateMemory) deleteContainer(podUID string, containerName string) {
    	delete(s.podAllocation[podUID], containerName)
    	if len(s.podAllocation[podUID]) == 0 {
    		delete(s.podAllocation, podUID)
    		delete(s.podResizeStatus, podUID)
    	}
    	klog.V(3).InfoS("Deleted pod resource allocation", "podUID", podUID, "containerName", containerName)
    }
    
    func (s *stateMemory) Delete(podUID string, containerName string) error {
    	s.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. pkg/registry/core/persistentvolumeclaim/strategy.go

    	// in again here.
    	pvcutil.EnforceDataSourceBackwardsCompatibility(&newPvc.Spec, &oldPvc.Spec)
    	pvcutil.NormalizeDataSources(&newPvc.Spec)
    
    	// We also normalize the data source fields of the old PVC, so that objects saved
    	// from an earlier version will pass validation.
    	pvcutil.NormalizeDataSources(&oldPvc.Spec)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 20:58:25 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/token_test.go

    	// test dryRun = false on a non-exisiting file
    	if _, err = cmdutil.GetClientSet(fullPath, false); err == nil {
    		t.Errorf("GetClientSet(); dry-run: false; did no fail for test file %q: %v", fullPath, err)
    	}
    
    	// test dryRun = true on a non-exisiting file
    	if _, err = cmdutil.GetClientSet(fullPath, true); err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    	uploadKubeadmConfigExample = cmdutil.Examples(`
    		# upload the configuration of your cluster
    		kubeadm init phase upload-config --config=myConfig.yaml
    		`)
    
    	uploadKubeletConfigLongDesc = cmdutil.LongDesc(`
    		Upload the kubelet configuration extracted from the kubeadm InitConfiguration object
    		to a kubelet-config ConfigMap in the cluster
    		`)
    
    	uploadKubeletConfigExample = cmdutil.Examples(`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/containermap/container_map_test.go

    			}
    			if podUID != tc.podUID {
    				t.Errorf("mismatched pod UID %v, %v", tc.podUID, podUID)
    			}
    			if containerName != tc.containerNames[i] {
    				t.Errorf("mismatched container Name %v, %v", tc.containerNames[i], containerName)
    			}
    		}
    
    		// Remove all entries from the containerMap, checking proper removal of
    		// each along the way.
    		cm.Visit(func(podUID string, containerName string, containerID string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 02 13:40:55 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/diff.go

    	kubeadmapi "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm"
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta4"
    	"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/validation"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/constants"
    	"k8s.io/kubernetes/cmd/kubeadm/app/phases/controlplane"
    	kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 11:04:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. security/pkg/k8s/chiron/utils_test.go

    			}
    		})
    	}
    }
    
    func createFakeCsr(t *testing.T) []byte {
    	options := pkiutil.CertOptions{
    		Host:       "fake.com",
    		RSAKeySize: 2048,
    		PKCS8Key:   false,
    		ECSigAlg:   pkiutil.SupportedECSignatureAlgorithms("ECDSA"),
    	}
    	csrPEM, _, err := pkiutil.GenCSR(options)
    	if err != nil {
    		t.Fatalf("Error creating Mock CA client: %v", err)
    		return nil
    	}
    	return csrPEM
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top