MCPcopy Create free account
hub / github.com/docker/compose / skippedEvent

Function skippedEvent

pkg/compose/progress.go:106–112  ·  view source on GitHub ↗

skippedEvent creates a new Skipped Resource; kept as a named func for use as a function value.

(id string, reason string)

Source from the content-addressed store, hash-verified

104
105// skippedEvent creates a new Skipped Resource; kept as a named func for use as a function value.
106func skippedEvent(id string, reason string) api.Resource {
107 return api.Resource{
108 ID: id,
109 Status: api.Warning,
110 Text: "Skipped: " + reason,
111 }
112}
113
114// newEvent new event
115func newEvent(id string, status api.EventStatus, text string, reason ...string) api.Resource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected