Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAPIAddresser
- type MockAPIAddresserAPIHostPortsCall
- func (c *MockAPIAddresserAPIHostPortsCall) Do(f func(context.Context) ([]network.ProviderHostPorts, error)) *MockAPIAddresserAPIHostPortsCall
- func (c *MockAPIAddresserAPIHostPortsCall) DoAndReturn(f func(context.Context) ([]network.ProviderHostPorts, error)) *MockAPIAddresserAPIHostPortsCall
- func (c *MockAPIAddresserAPIHostPortsCall) Return(arg0 []network.ProviderHostPorts, arg1 error) *MockAPIAddresserAPIHostPortsCall
- type MockAPIAddresserMockRecorder
- type MockAPIAddresserWatchAPIHostPortsCall
- func (c *MockAPIAddresserWatchAPIHostPortsCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockAPIAddresserWatchAPIHostPortsCall
- func (c *MockAPIAddresserWatchAPIHostPortsCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockAPIAddresserWatchAPIHostPortsCall
- func (c *MockAPIAddresserWatchAPIHostPortsCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockAPIAddresserWatchAPIHostPortsCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPIAddresser ¶
type MockAPIAddresser struct {
// contains filtered or unexported fields
}
MockAPIAddresser is a mock of APIAddresser interface.
func NewMockAPIAddresser ¶
func NewMockAPIAddresser(ctrl *gomock.Controller) *MockAPIAddresser
NewMockAPIAddresser creates a new mock instance.
func (*MockAPIAddresser) APIHostPorts ¶
func (m *MockAPIAddresser) APIHostPorts(arg0 context.Context) ([]network.ProviderHostPorts, error)
APIHostPorts mocks base method.
func (*MockAPIAddresser) EXPECT ¶
func (m *MockAPIAddresser) EXPECT() *MockAPIAddresserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAPIAddresser) WatchAPIHostPorts ¶
func (m *MockAPIAddresser) WatchAPIHostPorts(arg0 context.Context) (watcher.Watcher[struct{}], error)
WatchAPIHostPorts mocks base method.
type MockAPIAddresserAPIHostPortsCall ¶
MockAPIAddresserAPIHostPortsCall wrap *gomock.Call
func (*MockAPIAddresserAPIHostPortsCall) Do ¶
func (c *MockAPIAddresserAPIHostPortsCall) Do(f func(context.Context) ([]network.ProviderHostPorts, error)) *MockAPIAddresserAPIHostPortsCall
Do rewrite *gomock.Call.Do
func (*MockAPIAddresserAPIHostPortsCall) DoAndReturn ¶
func (c *MockAPIAddresserAPIHostPortsCall) DoAndReturn(f func(context.Context) ([]network.ProviderHostPorts, error)) *MockAPIAddresserAPIHostPortsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPIAddresserAPIHostPortsCall) Return ¶
func (c *MockAPIAddresserAPIHostPortsCall) Return(arg0 []network.ProviderHostPorts, arg1 error) *MockAPIAddresserAPIHostPortsCall
Return rewrite *gomock.Call.Return
type MockAPIAddresserMockRecorder ¶
type MockAPIAddresserMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIAddresserMockRecorder is the mock recorder for MockAPIAddresser.
func (*MockAPIAddresserMockRecorder) APIHostPorts ¶
func (mr *MockAPIAddresserMockRecorder) APIHostPorts(arg0 any) *MockAPIAddresserAPIHostPortsCall
APIHostPorts indicates an expected call of APIHostPorts.
func (*MockAPIAddresserMockRecorder) WatchAPIHostPorts ¶
func (mr *MockAPIAddresserMockRecorder) WatchAPIHostPorts(arg0 any) *MockAPIAddresserWatchAPIHostPortsCall
WatchAPIHostPorts indicates an expected call of WatchAPIHostPorts.
type MockAPIAddresserWatchAPIHostPortsCall ¶
MockAPIAddresserWatchAPIHostPortsCall wrap *gomock.Call
func (*MockAPIAddresserWatchAPIHostPortsCall) Do ¶
func (c *MockAPIAddresserWatchAPIHostPortsCall) Do(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockAPIAddresserWatchAPIHostPortsCall
Do rewrite *gomock.Call.Do
func (*MockAPIAddresserWatchAPIHostPortsCall) DoAndReturn ¶
func (c *MockAPIAddresserWatchAPIHostPortsCall) DoAndReturn(f func(context.Context) (watcher.Watcher[struct{}], error)) *MockAPIAddresserWatchAPIHostPortsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAPIAddresserWatchAPIHostPortsCall) Return ¶
func (c *MockAPIAddresserWatchAPIHostPortsCall) Return(arg0 watcher.Watcher[struct{}], arg1 error) *MockAPIAddresserWatchAPIHostPortsCall
Return rewrite *gomock.Call.Return