Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for ContainerImage (0.31 sec)

  1. pkg/kubelet/images/image_manager_test.go

    type pullerTestCase struct {
    	testName       string
    	containerImage string
    	policy         v1.PullPolicy
    	inspectErr     error
    	pullerErr      error
    	qps            float32
    	burst          int
    	expected       []pullerExpects
    }
    
    func pullerTestCases() []pullerTestCase {
    	return []pullerTestCase{
    		{ // pull missing image
    			testName:       "image missing, pull",
    			containerImage: "missing_image",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/docker.md

    ## Was ist ein Containerimage?
    
    Ein **Container** wird von einem **Containerimage** ausgeführt.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 18:19:17 UTC 2024
    - 38.9K bytes
    - Viewed (0)
  3. pkg/kubelet/images/image_gc_manager.go

    				imagesInUse.Insert(container.ImageID)
    			} else {
    				imageKey := getImageTuple(container.ImageID, container.ImageRuntimeHandler)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_node_status_test.go

    	// expectedImageList is generated by imageList according to size and maxImages
    	// 1. sort the imageList by size
    	sort.Sort(sliceutils.ByImageSize(imageList))
    	// 2. convert sorted imageList to v1.ContainerImage list
    	var expectedImageList []v1.ContainerImage
    	for _, kubeImage := range imageList {
    		apiImage := v1.ContainerImage{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  5. pkg/kubelet/nodestatus/setters.go

    ) Setter {
    	return func(ctx context.Context, node *v1.Node) error {
    		// Update image list of this node
    		var imagesOnNode []v1.ContainerImage
    		containerImages, err := imageListFunc()
    		if err != nil {
    			node.Status.Images = imagesOnNode
    			return fmt.Errorf("error getting image list: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 12:12:04 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/zz_generated.conversion.go

    	}
    	if err := s.AddGeneratedConversionFunc((*v1.ContainerImage)(nil), (*core.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1_ContainerImage_To_core_ContainerImage(a.(*v1.ContainerImage), b.(*core.ContainerImage), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*core.ContainerImage)(nil), (*v1.ContainerImage)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters_test.go

    	// copy the imageList, we do not want to mutate it in-place and accidentally edit a test case
    	images := make([]kubecontainer.Image, len(imageList))
    	copy(images, imageList)
    	// sort images by size
    	sort.Sort(sliceutils.ByImageSize(images))
    	// convert to []v1.ContainerImage and truncate the list of names
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. pkg/scheduler/testing/wrappers.go

    // to an image name and its size in bytes.
    func (n *NodeWrapper) Images(images map[string]int64) *NodeWrapper {
    	var containerImages []v1.ContainerImage
    	for name, size := range images {
    		containerImages = append(containerImages, v1.ContainerImage{Names: []string{name}, SizeBytes: size})
    	}
    	n.Status.Images = containerImages
    	return n
    }
    
    // Taints applies taints to the inner node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    	imageStatus1 := []v1.ContainerImage{
    		{
    			Names: []string{
    				"gcr.io/40:latest",
    				"gcr.io/40:v1",
    			},
    			SizeBytes: int64(80 * mb),
    		},
    		{
    			Names: []string{
    				"gcr.io/300:latest",
    				"gcr.io/300:v1",
    			},
    			SizeBytes: int64(300 * mb),
    		},
    	}
    
    	imageStatus2 := []v1.ContainerImage{
    		{
    			Names: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. pkg/apis/core/zz_generated.deepcopy.go

    func (in *ContainerImage) DeepCopyInto(out *ContainerImage) {
    	*out = *in
    	if in.Names != nil {
    		in, out := &in.Names, &out.Names
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerImage.
    func (in *ContainerImage) DeepCopy() *ContainerImage {
    	if in == nil {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
Back to top