testutils

package
v1.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

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 api.ContainerOverrides) bool

ContainerOverridesEqual determines if two container overrides are equal

func ContainersEqual

func ContainersEqual(lhs, rhs *api.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

func TasksEqual(lhs, rhs *api.Task) bool

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL