- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 161 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/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) -
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) -
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) -
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) -
platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SigningFixtures.groovy
import org.bouncycastle.openpgp.PGPSignatureSubpacketGenerator import org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector import org.bouncycastle.openpgp.PGPUserAttributeSubpacketVectorGenerator import org.bouncycastle.openpgp.PGPUtil import org.bouncycastle.openpgp.bc.BcPGPPublicKeyRingCollection import org.bouncycastle.openpgp.bc.BcPGPSecretKeyRingCollection import org.bouncycastle.openpgp.operator.bc.BcKeyFingerprintCalculator
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 12.1K 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) -
pkg/volume/projected/projected.go
&projectedVolume{ volName: volName, podUID: podUID, plugin: plugin, MetricsProvider: volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))), }, }, nil } func (plugin *projectedPlugin) ConstructVolumeSpec(volumeName, mountPath string) (volume.ReconstructedVolume, error) { projectedVolume := &v1.Volume{ Name: volumeName,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 12.8K bytes - Viewed (0)