MCPcopy
hub / github.com/keploy/keploy / FindContainerInCompose

Method FindContainerInCompose

pkg/platform/docker/service.go:28–28  ·  view source on GitHub ↗

FindContainerInCompose searches for a container within an already-parsed Compose structure (used when compose content is held in memory rather than on disk).

(compose *Compose, containerName string)

Source from the content-addressed store, hash-verified

26 // FindContainerInCompose searches for a container within an already-parsed Compose
27 // structure (used when compose content is held in memory rather than on disk).
28 FindContainerInCompose(compose *Compose, containerName string) (*ComposeServiceInfo, error)
29
30 // MarshalCompose serialises a Compose structure to YAML bytes without touching disk.
31 MarshalCompose(compose *Compose) ([]byte, error)

Callers 1

setupComposeInMemoryMethod · 0.65

Implementers 1

Implpkg/platform/docker/docker.go

Calls

no outgoing calls

Tested by

no test coverage detected