Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 285 for podutil (0.11 sec)

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

    	if err != nil {
    		return nil, err
    	}
    
    	dryRun, ok := cmdutil.ValueFromFlagsOrConfig(cmd.Flags(), options.DryRun, upgradeCfg.Node.DryRun, &nodeOptions.dryRun).(*bool)
    	if !ok {
    		return nil, cmdutil.TypeMismatchErr("dryRun", "bool")
    	}
    	client, err := getClient(nodeOptions.kubeConfigPath, *dryRun)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/AbstractStandaloneSessionBuilderAgainstStdlibTest.kt

    import org.jetbrains.kotlin.psi.KtCallExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedFunction
    import org.jetbrains.kotlin.psi.KtTypeReference
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.junit.jupiter.api.Assertions
    import java.nio.file.Path
    
    @OptIn(KaAnalysisApiInternals::class)
    abstract class AbstractStandaloneSessionBuilderAgainstStdlibTest : TestWithDisposable() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cadvisor_stats_provider.go

    	}
    	return managed
    }
    
    // getCadvisorPodInfoFromPodUID returns a pod cgroup information by matching the podUID with its CgroupName identifier base name
    func getCadvisorPodInfoFromPodUID(podUID types.UID, infos map[string]cadvisorapiv2.ContainerInfo) *cadvisorapiv2.ContainerInfo {
    	if info, found := infos[cm.GetPodCgroupNameSuffix(podUID)]; found {
    		return &info
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 16 13:34:22 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/dra/claiminfo_test.go

    			expectedLen: 2,
    		},
    	} {
    		t.Run(test.description, func(t *testing.T) {
    			test.claimInfo.addPodReference(podUID)
    			assert.True(t, test.claimInfo.hasPodReference(podUID))
    			assert.Len(t, test.claimInfo.PodUIDs, test.expectedLen)
    		})
    	}
    }
    
    func TestClaimInfoHasPodReference(t *testing.T) {
    	podUID := types.UID("pod-uid")
    	for _, test := range []struct {
    		description    string
    		claimInfo      *ClaimInfo
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. pkg/volume/iscsi/iscsi.go

    	return plugin.newUnmounterInternal(volName, podUID, &ISCSIUtil{}, plugin.host.GetMounter(plugin.GetPluginName()), plugin.host.GetExec(plugin.GetPluginName()))
    }
    
    func (plugin *iscsiPlugin) newUnmounterInternal(volName string, podUID types.UID, manager diskManager, mounter mount.Interface, exec utilexec.Interface) (volume.Unmounter, error) {
    	return &iscsiDiskUnmounter{
    		iscsiDisk: &iscsiDisk{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/visibilityChecker/AbstractVisibilityCheckerTest.kt

    import org.jetbrains.kotlin.psi.KtExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedDeclaration
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.jetbrains.kotlin.test.services.TestServices
    import org.jetbrains.kotlin.test.services.assertions
    
    /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 16:12:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/ca.go

    	if err != nil {
    		return Cert{}, err
    	}
    
    	san := fmt.Sprintf("spiffe://%s/ns/%s/sa/%s", "cluster.local", namespace, serviceAccount)
    	options := pkiutil.CertOptions{
    		Host:       san,
    		RSAKeySize: 2048,
    	}
    	// Generate the cert/key, send CSR to CA.
    	csrPEM, keyPEM, err := pkiutil.GenCSR(options)
    	if err != nil {
    		return Cert{}, err
    	}
    	a, err := i.InternalDiscoveryAddressFor(c)
    	if err != nil {
    		return Cert{}, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. platforms/software/security/src/testFixtures/groovy/org/gradle/security/fixtures/SimpleKeyRing.groovy

    import org.bouncycastle.openpgp.PGPPublicKeyRingCollection
    import org.bouncycastle.openpgp.PGPSecretKey
    import org.bouncycastle.openpgp.PGPSignature
    import org.bouncycastle.openpgp.PGPSignatureGenerator
    import org.bouncycastle.openpgp.PGPUtil
    import org.bouncycastle.openpgp.operator.bc.BcPBESecretKeyDecryptorBuilder
    import org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
    import org.bouncycastle.openpgp.operator.bc.BcPGPDigestCalculatorProvider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. pkg/volume/configmap/configmap.go

    	}, nil
    }
    
    func (plugin *configMapPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return &configMapVolumeUnmounter{
    		&configMapVolume{
    			volName,
    			podUID,
    			plugin,
    			plugin.host.GetMounter(plugin.GetPluginName()),
    			volume.NewCachedMetrics(volume.NewMetricsDu(getPath(podUID, volName, plugin.host))),
    		},
    	}, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. pkg/volume/testing/volume_host.go

    }
    
    func (f *fakeVolumeHost) GetPodVolumeDir(podUID types.UID, pluginName, volumeName string) string {
    	return filepath.Join(f.rootDir, "pods", string(podUID), "volumes", pluginName, volumeName)
    }
    
    func (f *fakeVolumeHost) GetPodVolumeDeviceDir(podUID types.UID, pluginName string) string {
    	return filepath.Join(f.rootDir, "pods", string(podUID), "volumeDevices", pluginName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top