Documentation ¶
Overview ¶
Package mock_v2 is a generated GoMock package.
Index ¶
- type MockGatewayClient
- func (m *MockGatewayClient) BaseClient() clients.ResourceClient
- func (m *MockGatewayClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockGatewayClient) EXPECT() *MockGatewayClientMockRecorder
- func (m *MockGatewayClient) List(namespace string, opts clients.ListOpts) (v2.GatewayList, error)
- func (m *MockGatewayClient) Read(namespace, name string, opts clients.ReadOpts) (*v2.Gateway, error)
- func (m *MockGatewayClient) Register() error
- func (m *MockGatewayClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v2.GatewayList, <-chan error, error)
- func (m *MockGatewayClient) Write(resource *v2.Gateway, opts clients.WriteOpts) (*v2.Gateway, error)
- type MockGatewayClientMockRecorder
- func (mr *MockGatewayClientMockRecorder) BaseClient() *gomock.Call
- func (mr *MockGatewayClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockGatewayClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockGatewayClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockGatewayClientMockRecorder) Register() *gomock.Call
- func (mr *MockGatewayClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockGatewayClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockGatewayWatcher
- type MockGatewayWatcherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGatewayClient ¶
type MockGatewayClient struct {
// contains filtered or unexported fields
}
MockGatewayClient is a mock of GatewayClient interface
func NewMockGatewayClient ¶
func NewMockGatewayClient(ctrl *gomock.Controller) *MockGatewayClient
NewMockGatewayClient creates a new mock instance
func (*MockGatewayClient) BaseClient ¶
func (m *MockGatewayClient) BaseClient() clients.ResourceClient
BaseClient mocks base method
func (*MockGatewayClient) Delete ¶
func (m *MockGatewayClient) Delete(namespace, name string, opts clients.DeleteOpts) error
Delete mocks base method
func (*MockGatewayClient) EXPECT ¶
func (m *MockGatewayClient) EXPECT() *MockGatewayClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGatewayClient) List ¶
func (m *MockGatewayClient) List(namespace string, opts clients.ListOpts) (v2.GatewayList, error)
List mocks base method
func (*MockGatewayClient) Read ¶
func (m *MockGatewayClient) Read(namespace, name string, opts clients.ReadOpts) (*v2.Gateway, error)
Read mocks base method
func (*MockGatewayClient) Register ¶
func (m *MockGatewayClient) Register() error
Register mocks base method
func (*MockGatewayClient) Watch ¶
func (m *MockGatewayClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v2.GatewayList, <-chan error, error)
Watch mocks base method
type MockGatewayClientMockRecorder ¶
type MockGatewayClientMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayClientMockRecorder is the mock recorder for MockGatewayClient
func (*MockGatewayClientMockRecorder) BaseClient ¶
func (mr *MockGatewayClientMockRecorder) BaseClient() *gomock.Call
BaseClient indicates an expected call of BaseClient
func (*MockGatewayClientMockRecorder) Delete ¶
func (mr *MockGatewayClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockGatewayClientMockRecorder) List ¶
func (mr *MockGatewayClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
List indicates an expected call of List
func (*MockGatewayClientMockRecorder) Read ¶
func (mr *MockGatewayClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockGatewayClientMockRecorder) Register ¶
func (mr *MockGatewayClientMockRecorder) Register() *gomock.Call
Register indicates an expected call of Register
func (*MockGatewayClientMockRecorder) Watch ¶
func (mr *MockGatewayClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch
func (*MockGatewayClientMockRecorder) Write ¶
func (mr *MockGatewayClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
Write indicates an expected call of Write
type MockGatewayWatcher ¶
type MockGatewayWatcher struct {
// contains filtered or unexported fields
}
MockGatewayWatcher is a mock of GatewayWatcher interface
func NewMockGatewayWatcher ¶
func NewMockGatewayWatcher(ctrl *gomock.Controller) *MockGatewayWatcher
NewMockGatewayWatcher creates a new mock instance
func (*MockGatewayWatcher) EXPECT ¶
func (m *MockGatewayWatcher) EXPECT() *MockGatewayWatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGatewayWatcher) Watch ¶
func (m *MockGatewayWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v2.GatewayList, <-chan error, error)
Watch mocks base method
type MockGatewayWatcherMockRecorder ¶
type MockGatewayWatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockGatewayWatcherMockRecorder is the mock recorder for MockGatewayWatcher
func (*MockGatewayWatcherMockRecorder) Watch ¶
func (mr *MockGatewayWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
Watch indicates an expected call of Watch