- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 183 for podutil (0.15 sec)
-
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) -
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) -
pkg/kubelet/userns/userns_manager.go
return err } for _, podUID := range found { allFound.Insert(string(podUID)) } // Lets remove all the pods "found" that are not known. for _, podUID := range found { if allPods.Has(string(podUID)) { continue } klog.V(5).InfoS("Clean up orphaned pod user namespace possible allocation", "podUID", podUID) m.releaseWithLock(podUID) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig_test.go
kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3" kubeadmconstants "k8s.io/kubernetes/cmd/kubeadm/app/constants" kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util" "k8s.io/kubernetes/cmd/kubeadm/app/util/pkiutil" testutil "k8s.io/kubernetes/cmd/kubeadm/test" kubeconfigtestutil "k8s.io/kubernetes/cmd/kubeadm/test/kubeconfig" ) func generateTestKubeadmConfig(dir, id, certDir, clusterName string) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 5.5K bytes - Viewed (0) -
pkg/volume/fc/fc.go
} mapper.MetricsProvider = volume.NewMetricsBlock(filepath.Join(blockPath, string(podUID))) return mapper, nil } func (plugin *fcPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) { // Inject real implementations here, test through the internal function.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go
cert, key, err := pkiutil.NewCertAndKey(caCert, caKey, makeTestCertConfig(organization, notBefore, notAfter)) if err != nil { t.Fatalf("couldn't generate certificate: %v", err) } if err := pkiutil.WriteCertAndKey(dir, name, cert, key); err != nil { t.Fatalf("couldn't write out certificate %s to %s", name, dir) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 15:17:24 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes.go
volumePaths, err := kl.getMountedVolumePathListFromDisk(podUID) if err != nil { klog.ErrorS(err, "Pod found, but error occurred during checking mounted volumes from disk", "podUID", podUID) return true } if len(volumePaths) > 0 { klog.V(4).InfoS("Pod found, but volumes are still mounted on disk", "podUID", podUID, "paths", volumePaths) return true } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
}, ClusterConfiguration: kubeadmapi.ClusterConfiguration{ CertificatesDir: dir, }, } caCfg := Certificates{ { config: pkiutil.CertConfig{}, Name: "test-ca", BaseName: "test-ca", }, { config: pkiutil.CertConfig{ Config: certutil.Config{ AltNames: certutil.AltNames{ DNSNames: []string{"test-domain.space"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
pod := buildConvincingPod(false) var podUID string = string(pod.ObjectMeta.UID) fakeIPSetDeps := ipset.FakeNLDeps() set := ipset.IPSet{V4Name: "foo-v4", Prefix: "foo", Deps: fakeIPSetDeps} ipProto := uint8(unix.IPPROTO_TCP) fakeIPSetDeps.On("addIP", "foo-v4", netip.MustParseAddr("99.9.9.9"), ipProto, podUID, false, ).Return(nil) fakeIPSetDeps.On("addIP",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
return kubeconfigutil.CreateWithCerts( spec.APIServer, clustername, spec.ClientName, pkiutil.EncodeCertPEM(spec.CACert), encodedClientKey, pkiutil.EncodeCertPEM(clientCert), ), nil } func newClientCertConfigFromKubeConfigSpec(spec *kubeConfigSpec) pkiutil.CertConfig { return pkiutil.CertConfig{ Config: certutil.Config{ CommonName: spec.ClientName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0)