Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for podspec (0.09 sec)

  1. cni/pkg/util/podutil_test.go

    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 1)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/cni-watcher_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod-bingo",
    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. .gitignore

    /api_init_files_list.txt
    /estimator_api_init_files_list.txt
    *.whl
    dist
    
    # Android
    .gradle
    .idea
    *.iml
    local.properties
    gradleBuild
    
    # iOS
    *.pbxproj
    *.xcworkspace
    /*.podspec
    /tensorflow/lite/**/coreml/**/BUILD
    /tensorflow/lite/**/ios/BUILD
    /tensorflow/lite/**/objc/BUILD
    /tensorflow/lite/**/swift/BUILD
    /tensorflow/lite/examples/ios/simple/data/*.tflite
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 20 17:43:17 UTC 2024
    - 939 bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/node/v1/generated.proto

    // The RuntimeClass is used to determine which container runtime is used to run
    // all containers in a pod. RuntimeClasses are manually defined by a
    // user or cluster provisioner, and referenced in the PodSpec. The Kubelet is
    // responsible for resolving the RuntimeClassName reference before running the
    // pod.  For more details, see
    // https://kubernetes.io/docs/concepts/containers/runtime-class/
    message RuntimeClass {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. cni/pkg/repair/repair_test_helpers.go

    			APIVersion: "v1",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        args.PodName,
    			Namespace:   "default",
    			Labels:      args.Labels,
    			Annotations: args.Annotations,
    		},
    		Spec: corev1.PodSpec{
    			NodeName: args.NodeName,
    			Volumes:  nil,
    			InitContainers: []corev1.Container{
    				{
    					Name: args.InitContainerName,
    				},
    			},
    			Containers: []corev1.Container{
    				{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 12 17:39:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/node/v1beta1/generated.proto

    // The RuntimeClass is used to determine which container runtime is used to run
    // all containers in a pod. RuntimeClasses are (currently) manually defined by a
    // user or cluster provisioner, and referenced in the PodSpec. The Kubelet is
    // responsible for resolving the RuntimeClassName reference before running the
    // pod.  For more details, see
    // https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
    message RuntimeClass {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. istioctl/pkg/util/handlers/handlers_test.go

    			}
    		})
    	}
    }
    
    func attachPod(ns string) *corev1.Pod {
    	return &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo-abc", Namespace: ns, ResourceVersion: "10"},
    		Spec: corev1.PodSpec{
    			RestartPolicy: corev1.RestartPolicyAlways,
    			DNSPolicy:     corev1.DNSClusterFirst,
    			Containers: []corev1.Container{
    				{
    					Name: "bar",
    				},
    			},
    			InitContainers: []corev1.Container{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jun 09 18:17:49 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/node/v1alpha1/generated.proto

    // The RuntimeClass is used to determine which container runtime is used to run
    // all containers in a pod. RuntimeClasses are (currently) manually defined by a
    // user or cluster provisioner, and referenced in the PodSpec. The Kubelet is
    // responsible for resolving the RuntimeClassName reference before running the
    // pod.  For more details, see
    // https://git.k8s.io/enhancements/keps/sig-node/585-runtime-class
    message RuntimeClass {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_dryrun_test.go

    			APIVersion: "core/v1",
    			Kind:       "Pod",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:        testPodName,
    			Namespace:   testNSName,
    			Annotations: map[string]string{},
    		},
    		Spec: corev1.PodSpec{
    			Containers: []corev1.Container{app, proxy, validate},
    		},
    	}
    
    	return fakePod
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver_test.go

    	id := ztunnelTestCounter.Add(1)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: fmt.Sprintf("name-%d", id),
    			UID:  types.UID(fmt.Sprintf("uid-%d", id)),
    		},
    		Spec:   v1.PodSpec{},
    		Status: v1.PodStatus{},
    	}
    	return pod, newFakeNs(devNull.Fd())
    }
    
    func connect(ctx context.Context) struct {
    	ztunClient *net.UnixConn
    	ztunServer *ztunnelServer
    	uid        string
    } {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top