Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockConduit
- func (m *MockConduit) AddStream(arg0 context.Context, arg1 types.Stream) error
- func (m *MockConduit) Connect(ctx context.Context) error
- func (m *MockConduit) Disconnect(ctx context.Context) error
- func (m *MockConduit) EXPECT() *MockConduitMockRecorder
- func (m *MockConduit) Equals(arg0 *v1.Conduit) bool
- func (m *MockConduit) GetIPs() []string
- func (m *MockConduit) GetName() string
- func (m *MockConduit) GetStatus() types.ConduitStatus
- func (m *MockConduit) GetStreams(stream *v1.Stream) []types.Stream
- func (m *MockConduit) GetTrench() types.Trench
- func (m *MockConduit) RemoveStream(arg0 context.Context, arg1 types.Stream) error
- func (m *MockConduit) SetVIPs(vips []string) error
- type MockConduitMockRecorder
- func (mr *MockConduitMockRecorder) AddStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) Connect(ctx interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) Disconnect(ctx interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) Equals(arg0 interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) GetIPs() *gomock.Call
- func (mr *MockConduitMockRecorder) GetName() *gomock.Call
- func (mr *MockConduitMockRecorder) GetStatus() *gomock.Call
- func (mr *MockConduitMockRecorder) GetStreams(stream interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) GetTrench() *gomock.Call
- func (mr *MockConduitMockRecorder) RemoveStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockConduitMockRecorder) SetVIPs(vips interface{}) *gomock.Call
- type MockTrench
- func (m *MockTrench) AddConduit(arg0 context.Context, arg1 types.Conduit) error
- func (m *MockTrench) Delete(ctx context.Context) error
- func (m *MockTrench) EXPECT() *MockTrenchMockRecorder
- func (m *MockTrench) Equals(arg0 *v1.Trench) bool
- func (m *MockTrench) GetConduits(conduit *v1.Conduit) []types.Conduit
- func (m *MockTrench) GetName() string
- func (m *MockTrench) GetNamespace() string
- func (m *MockTrench) GetTargetRegistryClient() v1.TargetRegistryClient
- func (m *MockTrench) RemoveConduit(arg0 context.Context, arg1 types.Conduit) error
- type MockTrenchMockRecorder
- func (mr *MockTrenchMockRecorder) AddConduit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrenchMockRecorder) Delete(ctx interface{}) *gomock.Call
- func (mr *MockTrenchMockRecorder) Equals(arg0 interface{}) *gomock.Call
- func (mr *MockTrenchMockRecorder) GetConduits(conduit interface{}) *gomock.Call
- func (mr *MockTrenchMockRecorder) GetName() *gomock.Call
- func (mr *MockTrenchMockRecorder) GetNamespace() *gomock.Call
- func (mr *MockTrenchMockRecorder) GetTargetRegistryClient() *gomock.Call
- func (mr *MockTrenchMockRecorder) RemoveConduit(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConduit ¶
type MockConduit struct {
// contains filtered or unexported fields
}
MockConduit is a mock of Conduit interface.
func NewMockConduit ¶
func NewMockConduit(ctrl *gomock.Controller) *MockConduit
NewMockConduit creates a new mock instance.
func (*MockConduit) Connect ¶
func (m *MockConduit) Connect(ctx context.Context) error
Connect mocks base method.
func (*MockConduit) Disconnect ¶
func (m *MockConduit) Disconnect(ctx context.Context) error
Disconnect mocks base method.
func (*MockConduit) EXPECT ¶
func (m *MockConduit) EXPECT() *MockConduitMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConduit) Equals ¶
func (m *MockConduit) Equals(arg0 *v1.Conduit) bool
Equals mocks base method.
func (*MockConduit) GetStatus ¶
func (m *MockConduit) GetStatus() types.ConduitStatus
GetStatus mocks base method.
func (*MockConduit) GetStreams ¶
func (m *MockConduit) GetStreams(stream *v1.Stream) []types.Stream
GetStreams mocks base method.
func (*MockConduit) GetTrench ¶
func (m *MockConduit) GetTrench() types.Trench
GetTrench mocks base method.
func (*MockConduit) RemoveStream ¶
RemoveStream mocks base method.
func (*MockConduit) SetVIPs ¶
func (m *MockConduit) SetVIPs(vips []string) error
SetVIPs mocks base method.
type MockConduitMockRecorder ¶
type MockConduitMockRecorder struct {
// contains filtered or unexported fields
}
MockConduitMockRecorder is the mock recorder for MockConduit.
func (*MockConduitMockRecorder) AddStream ¶
func (mr *MockConduitMockRecorder) AddStream(arg0, arg1 interface{}) *gomock.Call
AddStream indicates an expected call of AddStream.
func (*MockConduitMockRecorder) Connect ¶
func (mr *MockConduitMockRecorder) Connect(ctx interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockConduitMockRecorder) Disconnect ¶
func (mr *MockConduitMockRecorder) Disconnect(ctx interface{}) *gomock.Call
Disconnect indicates an expected call of Disconnect.
func (*MockConduitMockRecorder) Equals ¶
func (mr *MockConduitMockRecorder) Equals(arg0 interface{}) *gomock.Call
Equals indicates an expected call of Equals.
func (*MockConduitMockRecorder) GetIPs ¶
func (mr *MockConduitMockRecorder) GetIPs() *gomock.Call
GetIPs indicates an expected call of GetIPs.
func (*MockConduitMockRecorder) GetName ¶
func (mr *MockConduitMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockConduitMockRecorder) GetStatus ¶
func (mr *MockConduitMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockConduitMockRecorder) GetStreams ¶
func (mr *MockConduitMockRecorder) GetStreams(stream interface{}) *gomock.Call
GetStreams indicates an expected call of GetStreams.
func (*MockConduitMockRecorder) GetTrench ¶
func (mr *MockConduitMockRecorder) GetTrench() *gomock.Call
GetTrench indicates an expected call of GetTrench.
func (*MockConduitMockRecorder) RemoveStream ¶
func (mr *MockConduitMockRecorder) RemoveStream(arg0, arg1 interface{}) *gomock.Call
RemoveStream indicates an expected call of RemoveStream.
func (*MockConduitMockRecorder) SetVIPs ¶
func (mr *MockConduitMockRecorder) SetVIPs(vips interface{}) *gomock.Call
SetVIPs indicates an expected call of SetVIPs.
type MockTrench ¶
type MockTrench struct {
// contains filtered or unexported fields
}
MockTrench is a mock of Trench interface.
func NewMockTrench ¶
func NewMockTrench(ctrl *gomock.Controller) *MockTrench
NewMockTrench creates a new mock instance.
func (*MockTrench) AddConduit ¶
AddConduit mocks base method.
func (*MockTrench) Delete ¶
func (m *MockTrench) Delete(ctx context.Context) error
Delete mocks base method.
func (*MockTrench) EXPECT ¶
func (m *MockTrench) EXPECT() *MockTrenchMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrench) Equals ¶
func (m *MockTrench) Equals(arg0 *v1.Trench) bool
Equals mocks base method.
func (*MockTrench) GetConduits ¶
func (m *MockTrench) GetConduits(conduit *v1.Conduit) []types.Conduit
GetConduits mocks base method.
func (*MockTrench) GetNamespace ¶
func (m *MockTrench) GetNamespace() string
GetNamespace mocks base method.
func (*MockTrench) GetTargetRegistryClient ¶
func (m *MockTrench) GetTargetRegistryClient() v1.TargetRegistryClient
GetTargetRegistryClient mocks base method.
func (*MockTrench) RemoveConduit ¶
RemoveConduit mocks base method.
type MockTrenchMockRecorder ¶
type MockTrenchMockRecorder struct {
// contains filtered or unexported fields
}
MockTrenchMockRecorder is the mock recorder for MockTrench.
func (*MockTrenchMockRecorder) AddConduit ¶
func (mr *MockTrenchMockRecorder) AddConduit(arg0, arg1 interface{}) *gomock.Call
AddConduit indicates an expected call of AddConduit.
func (*MockTrenchMockRecorder) Delete ¶
func (mr *MockTrenchMockRecorder) Delete(ctx interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTrenchMockRecorder) Equals ¶
func (mr *MockTrenchMockRecorder) Equals(arg0 interface{}) *gomock.Call
Equals indicates an expected call of Equals.
func (*MockTrenchMockRecorder) GetConduits ¶
func (mr *MockTrenchMockRecorder) GetConduits(conduit interface{}) *gomock.Call
GetConduits indicates an expected call of GetConduits.
func (*MockTrenchMockRecorder) GetName ¶
func (mr *MockTrenchMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockTrenchMockRecorder) GetNamespace ¶
func (mr *MockTrenchMockRecorder) GetNamespace() *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockTrenchMockRecorder) GetTargetRegistryClient ¶
func (mr *MockTrenchMockRecorder) GetTargetRegistryClient() *gomock.Call
GetTargetRegistryClient indicates an expected call of GetTargetRegistryClient.
func (*MockTrenchMockRecorder) RemoveConduit ¶
func (mr *MockTrenchMockRecorder) RemoveConduit(arg0, arg1 interface{}) *gomock.Call
RemoveConduit indicates an expected call of RemoveConduit.