MCPcopy Create free account
hub / github.com/flant/shell-operator / WithMetadata

Method WithMetadata

pkg/task/task.go:123–128  ·  view source on GitHub ↗
(metadata interface{})

Source from the content-addressed store, hash-verified

121}
122
123func (t *BaseTask) WithMetadata(metadata interface{}) *BaseTask {
124 t.lock.Lock()
125 t.Metadata = metadata
126 t.lock.Unlock()
127 return t
128}
129
130func (t *BaseTask) WithCompactionID(id string) *BaseTask {
131 t.lock.Lock()

Calls

no outgoing calls