MCPcopy Index your code
hub / github.com/coder/coder / Publish

Method Publish

coderd/database/pubsub/psmock/psmock.go:58–63  ·  view source on GitHub ↗

Publish mocks base method.

(event string, message []byte)

Source from the content-addressed store, hash-verified

56
57// Publish mocks base method.
58func (m *MockPubsub) Publish(event string, message []byte) error {
59 m.ctrl.T.Helper()
60 ret := m.ctrl.Call(m, "Publish", event, message)
61 ret0, _ := ret[0].(error)
62 return ret0
63}
64
65// Publish indicates an expected call of Publish.
66func (mr *MockPubsubMockRecorder) Publish(event, message any) *gomock.Call {

Callers

nothing calls this directly

Calls 2

CallMethod · 0.80
HelperMethod · 0.65

Tested by

no test coverage detected