Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 331 for podspec_ (0.15 sec)

  1. pkg/printers/internalversion/printers_test.go

    					},
    					Spec: api.PodSpec{
    						Containers: []api.Container{},
    					},
    				},
    			},
    			{
    				ObjectMeta: metav1.ObjectMeta{Name: "pod-template-2"},
    				Template: api.PodTemplateSpec{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:   "pod-template-2",
    						Labels: map[string]string{"a": "b"},
    					},
    					Spec: api.PodSpec{
    						Containers: []api.Container{},
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  2. pkg/volume/plugins_test.go

    	_, err = vpm.FindPluginBySpec(volumeSpec)
    	if err != nil {
    		t.Errorf("Should return test plugin if volume spec is not nil")
    	}
    }
    
    func Test_ValidatePodTemplate(t *testing.T) {
    	pod := &v1.Pod{
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name:         "vol",
    					VolumeSource: v1.VolumeSource{},
    				},
    			},
    		},
    	}
    	var want error
    	if got := ValidateRecyclerPodTemplate(pod); got != want {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. .gitignore

    /tensorflow/lite/tools/make/gen/**
    /api_init_files_list.txt
    /estimator_api_init_files_list.txt
    *.whl
    
    # 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 22:28:59 UTC 2024
    - 934 bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/injection/image-auto.go

    			if strings.HasSuffix(wh.Name, "istio.io") {
    				istioWebhooks = append(istioWebhooks, wh)
    			}
    		}
    		return true
    	})
    	c.ForEach(gvk.Pod, func(resource *resource.Instance) bool {
    		p := resource.Message.(*v1.PodSpec)
    		// If a pod has `image: auto` it is broken whether the webhooks match or not
    		if !hasAutoImage(p) {
    			return true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/server_v1_test.go

    		{
    			Name: containerName,
    		},
    	}
    	pods := []*v1.Pod{
    		{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      podName,
    				Namespace: podNamespace,
    				UID:       podUID,
    			},
    			Spec: v1.PodSpec{
    				Containers: containers,
    			},
    		},
    	}
    
    	pluginCDIDevices := []*podresourcesapi.CDIDevice{{Name: "dra-dev0"}, {Name: "dra-dev1"}}
    	draDevs := []*podresourcesapi.DynamicResource{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	// default NodeName in test is 127.0.0.1
    	pods := []*v1.Pod{
    		podWithUIDNameNsSpec("123456789", "notfittingpod", "foo", v1.PodSpec{NodeName: "127.0.0.2"}),
    		podWithUIDNameNsSpec("987654321", "fittingpod", "foo", v1.PodSpec{NodeName: "127.0.0.1"}),
    	}
    
    	notfittingPod := pods[0]
    	fittingPod := pods[1]
    
    	kl.HandlePodAdditions(pods)
    
    	// Check pod status stored in the status map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/kubelet/container/ref_test.go

    import (
    	"testing"
    
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	_ "k8s.io/kubernetes/pkg/apis/core/install"
    )
    
    func TestFieldPath(t *testing.T) {
    	pod := &v1.Pod{Spec: v1.PodSpec{Containers: []v1.Container{
    		{Name: "foo"},
    		{Name: "bar"},
    		{Name: ""},
    		{Name: "baz"},
    	}}}
    	table := map[string]struct {
    		pod       *v1.Pod
    		container *v1.Container
    		path      string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/pod_container_manager_linux_test.go

    	}
    }
    
    func TestGetPodContainerName(t *testing.T) {
    	newGuaranteedPodWithUID := func(uid types.UID) *v1.Pod {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID: uid,
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Name: "container",
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    								v1.ResourceCPU:    resource.MustParse("1000m"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 08 13:06:38 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  9. pkg/kubelet/config/common_test.go

    	pod := &v1.Pod{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			UID:       "12345",
    			Namespace: "mynamespace",
    		},
    		Spec: v1.PodSpec{
    			RestartPolicy:                 v1.RestartPolicyAlways,
    			DNSPolicy:                     v1.DNSClusterFirst,
    			TerminationGracePeriodSeconds: &grace,
    			Containers: []v1.Container{{
    				Name:                     "image",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  10. pkg/registry/apps/deployment/strategy_test.go

    		},
    		Spec: apps.DeploymentSpec{
    			Replicas: 1,
    			Strategy: apps.DeploymentStrategy{
    				Type: apps.RecreateDeploymentStrategyType,
    			},
    			Template: api.PodTemplateSpec{
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{
    							Name:  "test",
    							Image: "test",
    						},
    					},
    				},
    			},
    		},
    	}
    }
    
    func TestSelectorImmutability(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top