Documentation ¶
Overview ¶
Package testutils contains files that are used in tests but not elsewhere and thus can be excluded from the final executable. Including them in a different package allows this to happen
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerOverridesEqual ¶
func ContainerOverridesEqual(lhs, rhs apicontainer.ContainerOverrides) bool
ContainerOverridesEqual determines if two container overrides are equal
func ContainersEqual ¶
func ContainersEqual(lhs, rhs *apicontainer.Container) bool
ContainersEqual determines if this container is equal to another container. This is not exact equality, but logical equality. TODO: use reflection along with `equal:"unordered"` annotations on slices to replace this verbose code (low priority, but would be fun)
func TasksEqual ¶
TasksEqual determines if the lhs and rhs tasks are equal for the definition of having the same family, version, statuses, and equal containers.
Types ¶
This section is empty.