mock_v2

package
v0.18.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_v2 is a generated GoMock package.

Index

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

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

func (*MockGatewayClient) Write

func (m *MockGatewayClient) Write(resource *v2.Gateway, opts clients.WriteOpts) (*v2.Gateway, error)

Write 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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL