mocks

package
v0.3.24 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMeshPolicyClient

type MockMeshPolicyClient struct {
	// contains filtered or unexported fields
}

MockMeshPolicyClient is a mock of MeshPolicyClient interface

func NewMockMeshPolicyClient

func NewMockMeshPolicyClient(ctrl *gomock.Controller) *MockMeshPolicyClient

NewMockMeshPolicyClient creates a new mock instance

func (*MockMeshPolicyClient) BaseClient

BaseClient mocks base method

func (*MockMeshPolicyClient) Delete

func (m *MockMeshPolicyClient) Delete(name string, opts clients.DeleteOpts) error

Delete mocks base method

func (*MockMeshPolicyClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMeshPolicyClient) List

List mocks base method

func (*MockMeshPolicyClient) Read

Read mocks base method

func (*MockMeshPolicyClient) Register

func (m *MockMeshPolicyClient) Register() error

Register mocks base method

func (*MockMeshPolicyClient) Watch

func (m *MockMeshPolicyClient) Watch(opts clients.WatchOpts) (<-chan v1alpha1.MeshPolicyList, <-chan error, error)

Watch mocks base method

func (*MockMeshPolicyClient) Write

Write mocks base method

type MockMeshPolicyClientMockRecorder

type MockMeshPolicyClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockMeshPolicyClientMockRecorder is the mock recorder for MockMeshPolicyClient

func (*MockMeshPolicyClientMockRecorder) BaseClient

func (mr *MockMeshPolicyClientMockRecorder) BaseClient() *gomock.Call

BaseClient indicates an expected call of BaseClient

func (*MockMeshPolicyClientMockRecorder) Delete

func (mr *MockMeshPolicyClientMockRecorder) Delete(name, opts interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockMeshPolicyClientMockRecorder) List

func (mr *MockMeshPolicyClientMockRecorder) List(opts interface{}) *gomock.Call

List indicates an expected call of List

func (*MockMeshPolicyClientMockRecorder) Read

func (mr *MockMeshPolicyClientMockRecorder) Read(name, opts interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockMeshPolicyClientMockRecorder) Register

Register indicates an expected call of Register

func (*MockMeshPolicyClientMockRecorder) Watch

func (mr *MockMeshPolicyClientMockRecorder) Watch(opts interface{}) *gomock.Call

Watch indicates an expected call of Watch

func (*MockMeshPolicyClientMockRecorder) Write

func (mr *MockMeshPolicyClientMockRecorder) Write(resource, opts interface{}) *gomock.Call

Write indicates an expected call of Write

type MockMeshPolicyReconciler

type MockMeshPolicyReconciler struct {
	// contains filtered or unexported fields
}

MockMeshPolicyReconciler is a mock of MeshPolicyReconciler interface

func NewMockMeshPolicyReconciler

func NewMockMeshPolicyReconciler(ctrl *gomock.Controller) *MockMeshPolicyReconciler

NewMockMeshPolicyReconciler creates a new mock instance

func (*MockMeshPolicyReconciler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMeshPolicyReconciler) Reconcile

func (m *MockMeshPolicyReconciler) Reconcile(namespace string, desiredResources v1alpha1.MeshPolicyList, transition v1alpha1.TransitionMeshPolicyFunc, opts clients.ListOpts) error

Reconcile mocks base method

type MockMeshPolicyReconcilerMockRecorder

type MockMeshPolicyReconcilerMockRecorder struct {
	// contains filtered or unexported fields
}

MockMeshPolicyReconcilerMockRecorder is the mock recorder for MockMeshPolicyReconciler

func (*MockMeshPolicyReconcilerMockRecorder) Reconcile

func (mr *MockMeshPolicyReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call

Reconcile indicates an expected call of Reconcile

type MockMeshPolicyWatcher added in v0.3.18

type MockMeshPolicyWatcher struct {
	// contains filtered or unexported fields
}

MockMeshPolicyWatcher is a mock of MeshPolicyWatcher interface

func NewMockMeshPolicyWatcher added in v0.3.18

func NewMockMeshPolicyWatcher(ctrl *gomock.Controller) *MockMeshPolicyWatcher

NewMockMeshPolicyWatcher creates a new mock instance

func (*MockMeshPolicyWatcher) EXPECT added in v0.3.18

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMeshPolicyWatcher) Watch added in v0.3.18

func (m *MockMeshPolicyWatcher) Watch(opts clients.WatchOpts) (<-chan v1alpha1.MeshPolicyList, <-chan error, error)

Watch mocks base method

type MockMeshPolicyWatcherMockRecorder added in v0.3.18

type MockMeshPolicyWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockMeshPolicyWatcherMockRecorder is the mock recorder for MockMeshPolicyWatcher

func (*MockMeshPolicyWatcherMockRecorder) Watch added in v0.3.18

func (mr *MockMeshPolicyWatcherMockRecorder) Watch(opts interface{}) *gomock.Call

Watch indicates an expected call of Watch

type MockPolicyClient

type MockPolicyClient struct {
	// contains filtered or unexported fields
}

MockPolicyClient is a mock of PolicyClient interface

func NewMockPolicyClient

func NewMockPolicyClient(ctrl *gomock.Controller) *MockPolicyClient

NewMockPolicyClient creates a new mock instance

func (*MockPolicyClient) BaseClient

func (m *MockPolicyClient) BaseClient() clients.ResourceClient

BaseClient mocks base method

func (*MockPolicyClient) Delete

func (m *MockPolicyClient) Delete(namespace, name string, opts clients.DeleteOpts) error

Delete mocks base method

func (*MockPolicyClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPolicyClient) List

func (m *MockPolicyClient) List(namespace string, opts clients.ListOpts) (v1alpha1.PolicyList, error)

List mocks base method

func (*MockPolicyClient) Read

func (m *MockPolicyClient) Read(namespace, name string, opts clients.ReadOpts) (*v1alpha1.Policy, error)

Read mocks base method

func (*MockPolicyClient) Register

func (m *MockPolicyClient) Register() error

Register mocks base method

func (*MockPolicyClient) Watch

func (m *MockPolicyClient) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.PolicyList, <-chan error, error)

Watch mocks base method

func (*MockPolicyClient) Write

func (m *MockPolicyClient) Write(resource *v1alpha1.Policy, opts clients.WriteOpts) (*v1alpha1.Policy, error)

Write mocks base method

type MockPolicyClientMockRecorder

type MockPolicyClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockPolicyClientMockRecorder is the mock recorder for MockPolicyClient

func (*MockPolicyClientMockRecorder) BaseClient

func (mr *MockPolicyClientMockRecorder) BaseClient() *gomock.Call

BaseClient indicates an expected call of BaseClient

func (*MockPolicyClientMockRecorder) Delete

func (mr *MockPolicyClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockPolicyClientMockRecorder) List

func (mr *MockPolicyClientMockRecorder) List(namespace, opts interface{}) *gomock.Call

List indicates an expected call of List

func (*MockPolicyClientMockRecorder) Read

func (mr *MockPolicyClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockPolicyClientMockRecorder) Register

func (mr *MockPolicyClientMockRecorder) Register() *gomock.Call

Register indicates an expected call of Register

func (*MockPolicyClientMockRecorder) Watch

func (mr *MockPolicyClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch

func (*MockPolicyClientMockRecorder) Write

func (mr *MockPolicyClientMockRecorder) Write(resource, opts interface{}) *gomock.Call

Write indicates an expected call of Write

type MockPolicyReconciler

type MockPolicyReconciler struct {
	// contains filtered or unexported fields
}

MockPolicyReconciler is a mock of PolicyReconciler interface

func NewMockPolicyReconciler

func NewMockPolicyReconciler(ctrl *gomock.Controller) *MockPolicyReconciler

NewMockPolicyReconciler creates a new mock instance

func (*MockPolicyReconciler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPolicyReconciler) Reconcile

func (m *MockPolicyReconciler) Reconcile(namespace string, desiredResources v1alpha1.PolicyList, transition v1alpha1.TransitionPolicyFunc, opts clients.ListOpts) error

Reconcile mocks base method

type MockPolicyReconcilerMockRecorder

type MockPolicyReconcilerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPolicyReconcilerMockRecorder is the mock recorder for MockPolicyReconciler

func (*MockPolicyReconcilerMockRecorder) Reconcile

func (mr *MockPolicyReconcilerMockRecorder) Reconcile(namespace, desiredResources, transition, opts interface{}) *gomock.Call

Reconcile indicates an expected call of Reconcile

type MockPolicyWatcher added in v0.3.18

type MockPolicyWatcher struct {
	// contains filtered or unexported fields
}

MockPolicyWatcher is a mock of PolicyWatcher interface

func NewMockPolicyWatcher added in v0.3.18

func NewMockPolicyWatcher(ctrl *gomock.Controller) *MockPolicyWatcher

NewMockPolicyWatcher creates a new mock instance

func (*MockPolicyWatcher) EXPECT added in v0.3.18

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPolicyWatcher) Watch added in v0.3.18

func (m *MockPolicyWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan v1alpha1.PolicyList, <-chan error, error)

Watch mocks base method

type MockPolicyWatcherMockRecorder added in v0.3.18

type MockPolicyWatcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockPolicyWatcherMockRecorder is the mock recorder for MockPolicyWatcher

func (*MockPolicyWatcherMockRecorder) Watch added in v0.3.18

func (mr *MockPolicyWatcherMockRecorder) 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