- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 664 for EXISTS (0.1 sec)
-
pkg/apis/core/v1/defaults.go
ResourceName: resourceName, RestartPolicy: v1.NotRequired, }) } } if _, exists := obj.Spec.Containers[i].Resources.Requests[v1.ResourceCPU]; exists { setDefaultResizePolicy(v1.ResourceCPU) } if _, exists := obj.Spec.Containers[i].Resources.Requests[v1.ResourceMemory]; exists { setDefaultResizePolicy(v1.ResourceMemory) } } } for i := range obj.Spec.InitContainers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certs_test.go
expectedCa *x509.Certificate }{ { // ca cert does not exists > ca written expectedCa: caCert, }, { // ca cert exists, is ca > existing ca used setupFunc: func(pkiDir string) error { return writeCertificateAuthorityFilesIfNotExist(pkiDir, "dummy", setupCert, setupKey) }, expectedCa: setupCert, }, { // some file exists, but it is not a valid ca cert > err setupFunc: func(pkiDir string) error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
pdev.RLock() defer pdev.RUnlock() containers, exists := pdev.devs[podUID] if !exists { return } resources, exists := containers[contName] if !exists { return } for resource, devices := range resources { allocatedResources[resource] = allocatedResources[resource].Union(devices.deviceIds.Devices()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go
if len(volumesToAttach) != 0 { t.Fatalf("len(volumesToAttach) Expected: <0> Actual: <%v>", len(volumesToAttach)) } } // Calls AddNode() once. // Verifies node exists. // Calls AddNode() again with the same node. // Verifies node exists, and zero volumes to attach. func Test_AddNode_Positive_ExistingNode(t *testing.T) { // Arrange volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 35.9K bytes - Viewed (0) -
platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy
given: buildFile << """ application.executableDir = '' """ when: run "installDist" then: file('build/install/sample/sample').exists() file('build/install/sample/sample.bat').exists() when: runViaStartScript(file('build/install/sample')) then: outputContains("Hello World") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 23.6K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
return true, nil, errors.New("unknown error") }) }, expectedError: true, }, { name: "configmap exists, update it", setupClient: func(client *clientsetfake.Clientset) { client.PrependReactor("create", "configmaps", func(clientgotesting.Action) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java
validateNotInReservedFileSystemLocation(propertyName, context, file); if (file.exists()) { if (file.isDirectory()) { reportCannotWriteFileToDirectory(propertyName, context, file); } // else, assume we can write to anything that exists and is not a directory } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 11:49:03 UTC 2024 - 16.5K bytes - Viewed (0) -
src/runtime/pinner.go
} } else { // unpin if pinState.isPinned() { if pinState.isMultiPinned() { var exists bool // TODO(mknyszek): investigate if systemstack is necessary here systemstack(func() { offset := objIndex * span.elemsize exists = span.decPinCounter(offset) }) if !exists { // counter is 0, clear multipin bit pinState.setMultiPinned(false) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 11K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy
assertStateStored() result.assertTasksExecuted(":clean") !buildDir.exists() when: buildDir.mkdirs() configurationCacheRun "clean" then: assertStateLoaded() result.assertTasksExecuted(":clean") !buildDir.exists() } def "build on Java project with source files and resources and no dependencies"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 21.9K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/graph.go
func (g *Graph) createVertex_locked(vertexType vertexType, namespace, name string) *namedVertex { typedVertices, exists := g.vertices[vertexType] if !exists { typedVertices = namespaceVertexMapping{} g.vertices[vertexType] = typedVertices } namespacedVertices, exists := typedVertices[namespace] if !exists { namespacedVertices = map[string]*namedVertex{} typedVertices[namespace] = namespacedVertices }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 17.5K bytes - Viewed (0)