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

Method SwarmInit

pkg/mocks/mock_docker_api.go:1550–1556  ·  view source on GitHub ↗

SwarmInit mocks base method.

(arg0 context.Context, arg1 client.SwarmInitOptions)

Source from the content-addressed store, hash-verified

1548
1549// SwarmInit mocks base method.
1550func (m *MockAPIClient) SwarmInit(arg0 context.Context, arg1 client.SwarmInitOptions) (client.SwarmInitResult, error) {
1551 m.ctrl.T.Helper()
1552 ret := m.ctrl.Call(m, "SwarmInit", arg0, arg1)
1553 ret0, _ := ret[0].(client.SwarmInitResult)
1554 ret1, _ := ret[1].(error)
1555 return ret0, ret1
1556}
1557
1558// SwarmInit indicates an expected call of SwarmInit.
1559func (mr *MockAPIClientMockRecorder) SwarmInit(arg0, arg1 any) *gomock.Call {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected