Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 236 for podutil (0.28 sec)

  1. cmd/kubeadm/app/cmd/upgrade/common.go

    	ok := false
    	if upgradeApply {
    		printConfigCfg = upgradeCfg.Apply.PrintConfig
    		ignoreErrCfg = upgradeCfg.Apply.IgnorePreflightErrors
    		isDryRun, ok = cmdutil.ValueFromFlagsOrConfig(flagSet, options.DryRun, upgradeCfg.Apply.DryRun, &dryRun).(*bool)
    		if !ok {
    			return nil, nil, nil, nil, cmdutil.TypeMismatchErr("dryRun", "bool")
    		}
    	}
    
    	client, err := getClient(flags.kubeConfigPath, *isDryRun)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/preflight.go

    	utilsexec "k8s.io/utils/exec"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/options"
    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    var (
    	preflightExample = cmdutil.Examples(`
    		# Run pre-flight checks for kubeadm init using a config file.
    		kubeadm init phase preflight --config kubeadm-config.yaml
    		`)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/security/src/main/java/org/gradle/security/internal/SecuritySupport.java

    import org.bouncycastle.openpgp.PGPPublicKey;
    import org.bouncycastle.openpgp.PGPPublicKeyRing;
    import org.bouncycastle.openpgp.PGPSignature;
    import org.bouncycastle.openpgp.PGPSignatureList;
    import org.bouncycastle.openpgp.PGPUtil;
    import org.bouncycastle.openpgp.jcajce.JcaPGPObjectFactory;
    import org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator;
    import org.bouncycastle.openpgp.operator.PGPContentVerifierBuilderProvider;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. 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)
  9. 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)
  10. pkg/kubelet/status/testing/mock_pod_status_provider.go

    func (m *MockPodStartupLatencyStateHelper) DeletePodStartupState(podUID types.UID) {
    	m.ctrl.T.Helper()
    	m.ctrl.Call(m, "DeletePodStartupState", podUID)
    }
    
    // DeletePodStartupState indicates an expected call of DeletePodStartupState.
    func (mr *MockPodStartupLatencyStateHelperMockRecorder) DeletePodStartupState(podUID any) *gomock.Call {
    	mr.mock.ctrl.T.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top