mocks

package
v1.4.15 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

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 MockGenericDataplane

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

MockGenericDataplane is a mock of GenericDataplane interface.

func NewMockGenericDataplane

func NewMockGenericDataplane(ctrl *gomock.Controller) *MockGenericDataplane

NewMockGenericDataplane creates a new mock instance.

func (*MockGenericDataplane) AddPolicy

func (m *MockGenericDataplane) AddPolicy(policies *policies.NPMNetworkPolicy) error

AddPolicy mocks base method.

func (*MockGenericDataplane) AddToLists

func (m *MockGenericDataplane) AddToLists(listName, setNames []*ipsets.IPSetMetadata) error

AddToLists mocks base method.

func (*MockGenericDataplane) AddToSets

func (m *MockGenericDataplane) AddToSets(setNames []*ipsets.IPSetMetadata, podMetadata *dataplane.PodMetadata) error

AddToSets mocks base method.

func (*MockGenericDataplane) ApplyDataPlane

func (m *MockGenericDataplane) ApplyDataPlane() error

ApplyDataPlane mocks base method.

func (*MockGenericDataplane) CreateIPSets

func (m *MockGenericDataplane) CreateIPSets(setNames []*ipsets.IPSetMetadata)

CreateIPSets mocks base method.

func (*MockGenericDataplane) DeleteIPSet

func (m *MockGenericDataplane) DeleteIPSet(setMetadata *ipsets.IPSetMetadata)

DeleteIPSet mocks base method.

func (*MockGenericDataplane) EXPECT

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

func (*MockGenericDataplane) InitializeDataPlane added in v1.4.14

func (m *MockGenericDataplane) InitializeDataPlane() error

InitializeDataPlane mocks base method.

func (*MockGenericDataplane) RemoveFromList

func (m *MockGenericDataplane) RemoveFromList(listName *ipsets.IPSetMetadata, setNames []*ipsets.IPSetMetadata) error

RemoveFromList mocks base method.

func (*MockGenericDataplane) RemoveFromSets

func (m *MockGenericDataplane) RemoveFromSets(setNames []*ipsets.IPSetMetadata, podMetadata *dataplane.PodMetadata) error

RemoveFromSets mocks base method.

func (*MockGenericDataplane) RemovePolicy

func (m *MockGenericDataplane) RemovePolicy(policyName string) error

RemovePolicy mocks base method.

func (*MockGenericDataplane) ResetDataPlane added in v1.4.14

func (m *MockGenericDataplane) ResetDataPlane() error

ResetDataPlane mocks base method.

func (*MockGenericDataplane) UpdatePolicy

func (m *MockGenericDataplane) UpdatePolicy(policies *policies.NPMNetworkPolicy) error

UpdatePolicy mocks base method.

type MockGenericDataplaneMockRecorder

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

MockGenericDataplaneMockRecorder is the mock recorder for MockGenericDataplane.

func (*MockGenericDataplaneMockRecorder) AddPolicy

func (mr *MockGenericDataplaneMockRecorder) AddPolicy(policies interface{}) *gomock.Call

AddPolicy indicates an expected call of AddPolicy.

func (*MockGenericDataplaneMockRecorder) AddToLists

func (mr *MockGenericDataplaneMockRecorder) AddToLists(listName, setNames interface{}) *gomock.Call

AddToLists indicates an expected call of AddToLists.

func (*MockGenericDataplaneMockRecorder) AddToSets

func (mr *MockGenericDataplaneMockRecorder) AddToSets(setNames, podMetadata interface{}) *gomock.Call

AddToSets indicates an expected call of AddToSets.

func (*MockGenericDataplaneMockRecorder) ApplyDataPlane

func (mr *MockGenericDataplaneMockRecorder) ApplyDataPlane() *gomock.Call

ApplyDataPlane indicates an expected call of ApplyDataPlane.

func (*MockGenericDataplaneMockRecorder) CreateIPSets

func (mr *MockGenericDataplaneMockRecorder) CreateIPSets(setNames interface{}) *gomock.Call

CreateIPSets indicates an expected call of CreateIPSets.

func (*MockGenericDataplaneMockRecorder) DeleteIPSet

func (mr *MockGenericDataplaneMockRecorder) DeleteIPSet(setMetadata interface{}) *gomock.Call

DeleteIPSet indicates an expected call of DeleteIPSet.

func (*MockGenericDataplaneMockRecorder) InitializeDataPlane added in v1.4.14

func (mr *MockGenericDataplaneMockRecorder) InitializeDataPlane() *gomock.Call

InitializeDataPlane indicates an expected call of InitializeDataPlane.

func (*MockGenericDataplaneMockRecorder) RemoveFromList

func (mr *MockGenericDataplaneMockRecorder) RemoveFromList(listName, setNames interface{}) *gomock.Call

RemoveFromList indicates an expected call of RemoveFromList.

func (*MockGenericDataplaneMockRecorder) RemoveFromSets

func (mr *MockGenericDataplaneMockRecorder) RemoveFromSets(setNames, podMetadata interface{}) *gomock.Call

RemoveFromSets indicates an expected call of RemoveFromSets.

func (*MockGenericDataplaneMockRecorder) RemovePolicy

func (mr *MockGenericDataplaneMockRecorder) RemovePolicy(policyName interface{}) *gomock.Call

RemovePolicy indicates an expected call of RemovePolicy.

func (*MockGenericDataplaneMockRecorder) ResetDataPlane added in v1.4.14

func (mr *MockGenericDataplaneMockRecorder) ResetDataPlane() *gomock.Call

ResetDataPlane indicates an expected call of ResetDataPlane.

func (*MockGenericDataplaneMockRecorder) UpdatePolicy

func (mr *MockGenericDataplaneMockRecorder) UpdatePolicy(policies interface{}) *gomock.Call

UpdatePolicy indicates an expected call of UpdatePolicy.

Jump to

Keyboard shortcuts

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