Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 120 for modzip (0.71 sec)

  1. pkg/kube/krt/join_test.go

    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    	})
    }
    
    func TestCollectionJoinSync(t *testing.T) {
    	c := kube.NewFakeClient(&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pkg/util/node/node.go

    			klog.Errorf("Failed to retrieve node info: %v", err)
    			return false, nil
    		}
    		nodeIP, err = GetNodeHostIP(node)
    		if err != nil {
    			klog.Errorf("Failed to retrieve node IP: %v", err)
    			return false, err
    		}
    		return true, nil
    	})
    	if err == nil {
    		klog.Infof("Successfully retrieved node IP: %v", nodeIP)
    	}
    	return nodeIP
    }
    
    // IsNodeReady returns true if a node is ready; false otherwise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/files/archiveNaming/tests/archiveNaming.sample.conf

    # tag::cli[]
    # gradle --quiet myZip
    # end::cli[]
    executable: gradle
    args: myZip
    flags: --quiet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 135 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-lazy/groovy/build.gradle

    // tag::container-api[]
    tasks.register('greeting') {
        doLast { println('Hello, World!') }
    }
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.register('docZip', Zip) {
        archiveFileName = 'doc.zip'
        from 'doc'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 261 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-eager/groovy/build.gradle

    // tag::container-api[]
    tasks.create('greeting') {
        doLast { println('Hello, World!') }
    }
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.create(name: 'docZip', type: Zip) {
        archiveFileName = 'doc.zip'
        from 'doc'
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 269 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/files/archivesChangedBaseName/kotlin/build.gradle.kts

    }
    // end::base-plugin-config[]
    
    val myZip by tasks.registering(Zip::class) {
        from("somedir")
    }
    
    val myOtherZip by tasks.registering(Zip::class) {
        archiveAppendix = "wrapper"
        archiveClassifier = "src"
        from("somedir")
    }
    
    tasks.register("echoNames") {
        val projectNameString = project.name
        val archiveFileName = myZip.flatMap { it.archiveFileName }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 828 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/kotlinDsl/creating-tasks-eager/kotlin/build.gradle.kts

    // tag::container-api[]
    tasks.create("greeting") {
        doLast { println("Hello, World!") }
    }
    // end::container-api[]
    
    // tag::typed-container-api[]
    tasks.create<Zip>("docZip") {
        archiveFileName = "doc.zip"
        from("doc")
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 258 bytes
    - Viewed (0)
  8. cni/pkg/util/podutil.go

    		return nil
    	}
    	return err
    }
    
    // Get any IPs currently assigned to the Pod.
    //
    // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
    // otherwise fallback to 'PodIP'.
    //
    // Note that very early in the pod's lifecycle (before all the node CNI plugin invocations finish)
    // K8S may not have received the pod IPs yet, and may not report the pod as having any.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pilot/pkg/controllers/untaint/nodeuntainter_test.go

    		pod.Status = corev1.PodStatus{}
    		newPod := s.pc.Create(pod)
    		if markReady {
    			setPodReady(newPod)
    		}
    		newPod.Status.PodIP = ip
    		newPod.Status.Phase = corev1.PodRunning
    		newPod.Status.PodIPs = []corev1.PodIP{
    			{
    				IP: ip,
    			},
    		}
    		s.pc.UpdateStatus(newPod)
    	} else {
    		s.pc.Update(pod)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 00:50:31 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pkg/util/node/node_test.go

    			} else if !reflect.DeepEqual(nodeIPs, tc.expectIPs) {
    				t.Errorf("expected %v, got %v", tc.expectIPs, nodeIPs)
    			} else if !nodeIP.Equal(nodeIPs[0]) {
    				t.Errorf("GetNodeHostIP did not return same primary (%s) as GetNodeHostIPs (%s)", nodeIP.String(), nodeIPs[0].String())
    			}
    		})
    	}
    }
    
    func TestIsNodeReady(t *testing.T) {
    	testCases := []struct {
    		name   string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 27 23:24:38 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top