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

Method Scale

pkg/api/api.go:141–141  ·  view source on GitHub ↗

Scale manages numbers of container instances running per service

(ctx context.Context, project *types.Project, options ScaleOptions)

Source from the content-addressed store, hash-verified

139 Wait(ctx context.Context, projectName string, options WaitOptions) (int64, error)
140 // Scale manages numbers of container instances running per service
141 Scale(ctx context.Context, project *types.Project, options ScaleOptions) error
142 // Export a service container's filesystem as a tar archive
143 Export(ctx context.Context, projectName string, options ExportOptions) error
144 // Create a new image from a service container's changes

Callers 1

runScaleFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by

no test coverage detected