package equality

import "github.com/docker/swarmkit/api/equality"

Index

Functions

func TasksEqualStable

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

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

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

Source Files

equality.go

Version
v1.12.0 (latest)
Published
Jul 26, 2016
Platform
linux/amd64
Imports
2 packages
Last checked
2 hours ago

Tools for package owners.