- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 790 for containerB (0.16 sec)
-
subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy
def container = new DefaultMutableAttributeContainer(attributesFactory) then: container.empty container.keySet().empty !container.contains(thing) container.getAttribute(thing) == null when: container.attribute(thing, "thing") then: !container.empty container.keySet() == [thing] as Set container.contains(thing)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 08 14:34:28 UTC 2023 - 15.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go
for pod := range tc.assignments { for container, set := range tc.assignments[pod] { state.SetCPUSet(pod, container, set) if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) { t.Fatalf("state inconsistent, got %q instead of %q", set, cpus) } state.Delete(pod, container) if _, ok := state.GetCPUSet(pod, container); ok { t.Fatal("deleted container still existing in state") } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/kubelet/kubelet_volumes_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 17 16:53:28 UTC 2023 - 20.4K bytes - Viewed (0) -
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) -
pkg/volume/util/util_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 12:32:15 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go
for pod := range tc.assignments { for container, blocks := range tc.assignments[pod] { state.SetMemoryBlocks(pod, container, blocks) assert.Equal(t, blocks, state.GetMemoryBlocks(pod, container), "memory block inconsistent") state.Delete(pod, container) assert.Nil(t, state.GetMemoryBlocks(pod, container), "deleted container still existing in state") } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 03:35:26 UTC 2022 - 10.6K bytes - Viewed (0) -
pkg/api/v1/resource/helpers.go
} // findContainerInPod finds a container by its name in the provided pod func findContainerInPod(pod *v1.Pod, containerName string) (*v1.Container, error) { for _, container := range pod.Spec.Containers { if container.Name == containerName { return &container, nil } } for _, container := range pod.Spec.InitContainers { if container.Name == containerName { return &container, nil } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 13:58:16 UTC 2023 - 16.3K bytes - Viewed (0) -
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) -
pkg/api/pod/warnings_test.go
}}, expected: []string{ `spec.containers[0].ports[2]: duplicate port definition with spec.containers[0].ports[0]`, `spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[0]`, `spec.containers[1].ports[0]: duplicate port definition with spec.containers[0].ports[2]`, `spec.containers[1].ports[1]: duplicate port definition with spec.containers[0].ports[0]`,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/kubelet/container/helpers.go
return false } } return true } // HashContainer returns the hash of the container. It is used to compare // the running container with its desired spec. // Note: remember to update hashValues in container_hash_test.go as well. func HashContainer(container *v1.Container) uint64 { hash := fnv.New32a() containerJSON, _ := json.Marshal(pickFieldsToHash(container))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0)