MCPcopy Index your code
hub / github.com/cloudfoundry/java-buildpack / NewRegistry

Function NewRegistry

src/java/containers/container.go:30–35  ·  view source on GitHub ↗

NewRegistry creates a new container registry

(ctx *common.Context)

Source from the content-addressed store, hash-verified

28
29// NewRegistry creates a new container registry
30func NewRegistry(ctx *common.Context) *Registry {
31 return &Registry{
32 containers: []Container{},
33 context: ctx,
34 }
35}
36
37// Register adds a container to the registry
38func (r *Registry) Register(c Container) {

Callers 3

RunFunction · 0.92
container_test.goFile · 0.92
resolveContainerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected