MCPcopy Index your code
hub / github.com/coder/envbox / ContainerCreate

Method ContainerCreate

dockerutil/dockerfake/client.go:145–150  ·  view source on GitHub ↗
(ctx context.Context, config *containertypes.Config, hostConfig *containertypes.HostConfig, networkingConfig *networktypes.NetworkingConfig, pspecs *specs.Platform, containerName string)

Source from the content-addressed store, hash-verified

143}
144
145func (m MockClient) ContainerCreate(ctx context.Context, config *containertypes.Config, hostConfig *containertypes.HostConfig, networkingConfig *networktypes.NetworkingConfig, pspecs *specs.Platform, containerName string) (containertypes.CreateResponse, error) {
146 if m.ContainerCreateFn == nil {
147 return containertypes.CreateResponse{}, nil
148 }
149 return m.ContainerCreateFn(ctx, config, hostConfig, networkingConfig, pspecs, containerName)
150}
151
152func (MockClient) ContainerDiff(_ context.Context, _ string) ([]containertypes.FilesystemChange, error) {
153 panic("not implemented")

Callers 2

GetImageMetadataFunction · 0.80
CreateContainerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected