Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BuildContainerID (0.15 sec)

  1. pkg/kubelet/container/runtime.go

    	// the underlying container runtime. (Note that the container
    	// runtime interface still takes the whole struct as input).
    	ID string
    }
    
    // BuildContainerID returns the ContainerID given type and id.
    func BuildContainerID(typ, ID string) ContainerID {
    	return ContainerID{Type: typ, ID: ID}
    }
    
    // ParseContainerID is a convenience method for creating a ContainerID from an ID 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)
  2. pkg/kubelet/kubelet_test.go

    		id := fmt.Sprintf("%v", i)
    		containerName := fmt.Sprintf("%vcontainer", id)
    		expectedOrder = append(expectedOrder, containerName)
    		cStatus := &kubecontainer.Status{
    			ID:   kubecontainer.BuildContainerID("test", id),
    			Name: containerName,
    		}
    		// Rearrange container statuses
    		if i%2 == 0 {
    			cStatuses = append(cStatuses, cStatus)
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    				kl := testKubelet.kubelet
    				kl.statusManager.SetPodStatus(test.pod, test.previousStatus)
    				for _, name := range test.unreadyContainer {
    					kl.readinessManager.Set(kubecontainer.BuildContainerID("", findContainerStatusByName(test.expected, name).ContainerID), results.Failure, test.pod)
    				}
    				expected := test.expected.DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top