1 // Copyright 2014 go-dockerclient authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
9 // ChangeType is a type for constants indicating the type of change
14 // ChangeModify is the ChangeType for container modifications
15 ChangeModify ChangeType = iota
17 // ChangeAdd is the ChangeType for additions to a container
20 // ChangeDelete is the ChangeType for deletions from a container
24 // Change represents a change in a container.
26 // See https://goo.gl/9GsTIF for more details.
32 func (change *Change) String() string {
42 return fmt.Sprintf("%s %s", kind, change.Path)