Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for ContainerT (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

    // attribute already exists with a different value, returns an error.
    template <typename ContainerT,
              typename = typename std::enable_if<
                  std::is_same<mlir::Type, decltype(*std::declval<ContainerT>()
                                                         .begin())>::value>::type>
    Status SetTypeAttribute(absl::string_view name, ContainerT types,
                            AttrValueMap* values) {
      AttrValue value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/volume/util/util_test.go

    								{
    									Name: "vol2",
    								},
    							},
    						},
    					},
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol3",
    								},
    							},
    						},
    						{
    							Name: "container2",
    							VolumeDevices: []v1.VolumeDevice{
    								{
    									Name: "vol4",
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    					st.MakeContainer().Name("container1").Obj(),
    				}).Obj(),
    				st.MakePod().Name("p3.1").UID("p3.1").Node("node3").Priority(midPriority).Containers([]v1.Container{
    					st.MakeContainer().Name("container1").Obj(),
    					st.MakeContainer().Name("container2").Obj(),
    					st.MakeContainer().Name("container3").Obj(),
    				}).Obj(),
    			},
    			expected: "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    func (m *kubeGenericRuntimeManager) generateLinuxContainerResources(pod *v1.Pod, container *v1.Container, enforceMemoryQoS bool) *runtimeapi.LinuxContainerResources {
    	// set linux container resources
    	var cpuRequest *resource.Quantity
    	if _, cpuRequestExists := container.Resources.Requests[v1.ResourceCPU]; cpuRequestExists {
    		cpuRequest = container.Resources.Requests.Cpu()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    	Kubernetes      Kubernetes `json:"kubernetes"`
    }
    
    // K8sArgs is the valid CNI_ARGS used for Kubernetes
    // The field names need to match exact keys in containerd args for unmarshalling
    // https://github.com/containerd/containerd/blob/ced9b18c231a28990617bc0a4b8ce2e81ee2ffa1/pkg/cri/server/sandbox_run.go#L526-L532
    type K8sArgs struct {
    	types.CommonArgs
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/helpers_linux_test.go

    		},
    		"burstable-partial-limits-with-init-containers": {
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{
    							Resources: getResourceRequirements(getResourceList("100m", "100m"), getResourceList("100m", "100Mi")),
    						},
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    				continue
    			}
    		}
    		if err := cgc.manager.removeContainer(ctx, containers[i].id); err != nil {
    			klog.ErrorS(err, "Failed to remove container", "containerID", containers[i].id)
    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. pkg/kubelet/container/helpers_test.go

    					},
    					InitContainers: []v1.Container{
    						{Name: "init-container"},
    					},
    				},
    			},
    			haveName:      "init-container",
    			wantContainer: &v1.Container{Name: "init-container"},
    		},
    		{
    			name: "ephemeral container",
    			havePod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Containers: []v1.Container{
    						{Name: "plain-ole-container"},
    					},
    					InitContainers: []v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  10. pkg/kubelet/container/runtime.go

    // state of the container.
    type Container struct {
    	// The ID of the container, used by the container runtime to identify
    	// a container.
    	ID ContainerID
    	// The name of the container, which should be the same as specified by
    	// v1.Container.
    	Name string
    	// The image name of the container, this also includes the tag of the image,
    	// the expected form is "NAME:TAG".
    	Image string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top