MCPcopy Index your code
hub / github.com/moby/swarmkit / StoreObject

Interface StoreObject

api/storeobject.go:19–27  ·  view source on GitHub ↗

StoreObject is an abstract object that can be handled by the store.

Source from the content-addressed store, hash-verified

17
18// StoreObject is an abstract object that can be handled by the store.
19type StoreObject interface {
20 GetID() string // Get ID
21 GetMeta() Meta // Retrieve metadata
22 SetMeta(Meta) // Set metadata
23 CopyStoreObject() StoreObject // Return a copy of this object
24 EventCreate() Event // Return a creation event
25 EventUpdate(oldObject StoreObject) Event // Return an update event
26 EventDelete() Event // Return a deletion event
27}
28
29// Event is the type used for events passed over watcher channels, and also
30// the type used to specify filtering in calls to Watch.

Callers 20

TestAllocateFunction · 0.65
TestAllocateSerialFunction · 0.65
CopyFromMethod · 0.65
allocateMethod · 0.65
allocateServicesMethod · 0.65
allocateTasksMethod · 0.65
allocateTaskMethod · 0.65
commitAllocatedTaskMethod · 0.65
createMethod · 0.65
updateMethod · 0.65
createMethod · 0.65
updateMethod · 0.65

Implementers 10

Nodeapi/objects.pb.go
Serviceapi/objects.pb.go
Taskapi/objects.pb.go
Networkapi/objects.pb.go
Clusterapi/objects.pb.go
Secretapi/objects.pb.go
Configapi/objects.pb.go
Resourceapi/objects.pb.go
Extensionapi/objects.pb.go
Volumeapi/objects.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected