equality

package
v0.0.0-...-120fae7 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TaskStatusesEqualStable

func TaskStatusesEqualStable(a, b *api.TaskStatus) bool

TaskStatusesEqualStable compares the task status excluding timestamp fields.

func TasksEqualStable

func TasksEqualStable(a, b *api.Task) bool

TasksEqualStable returns true if the tasks are functionally equal, ignoring status, version and other superfluous fields.

This used to decide whether or not to propagate a task update to a controller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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