MCPcopy
hub / github.com/docker/compose / errorEvent

Function errorEvent

pkg/compose/progress.go:36–43  ·  view source on GitHub ↗

errorEvent creates a new Error Resource with message

(id string, msg string)

Source from the content-addressed store, hash-verified

34
35// errorEvent creates a new Error Resource with message
36func errorEvent(id string, msg string) api.Resource {
37 return api.Resource{
38 ID: id,
39 Status: api.Error,
40 Text: api.StatusError,
41 Details: msg,
42 }
43}
44
45// errorEventf creates a new Error Resource with format message
46func errorEventf(id string, msg string, args ...any) api.Resource {

Callers 11

PullModelMethod · 0.85
ConfigureModelMethod · 0.85
pullServiceImageMethod · 0.85
errorEventfFunction · 0.85
executePluginMethod · 0.85
killMethod · 0.85
createVolumeMethod · 0.85
removeNetworkMethod · 0.85
stopContainerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected