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

Method Port

pkg/mocks/mock_docker_compose_api.go:274–281  ·  view source on GitHub ↗

Port mocks base method.

(ctx context.Context, projectName, service string, port uint16, options api.PortOptions)

Source from the content-addressed store, hash-verified

272
273// Port mocks base method.
274func (m *MockCompose) Port(ctx context.Context, projectName, service string, port uint16, options api.PortOptions) (string, int, error) {
275 m.ctrl.T.Helper()
276 ret := m.ctrl.Call(m, "Port", ctx, projectName, service, port, options)
277 ret0, _ := ret[0].(string)
278 ret1, _ := ret[1].(int)
279 ret2, _ := ret[2].(error)
280 return ret0, ret1, ret2
281}
282
283// Port indicates an expected call of Port.
284func (mr *MockComposeMockRecorder) Port(ctx, projectName, service, port, options any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected