testing

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgentNetworkPolicyInfoQuerier

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

MockAgentNetworkPolicyInfoQuerier is a mock of AgentNetworkPolicyInfoQuerier interface

func NewMockAgentNetworkPolicyInfoQuerier

func NewMockAgentNetworkPolicyInfoQuerier(ctrl *gomock.Controller) *MockAgentNetworkPolicyInfoQuerier

NewMockAgentNetworkPolicyInfoQuerier creates a new mock instance

func (*MockAgentNetworkPolicyInfoQuerier) EXPECT

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

func (*MockAgentNetworkPolicyInfoQuerier) GetAddressGroupNum

func (m *MockAgentNetworkPolicyInfoQuerier) GetAddressGroupNum() int

GetAddressGroupNum mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetAddressGroups

func (m *MockAgentNetworkPolicyInfoQuerier) GetAddressGroups() []v1beta2.AddressGroup

GetAddressGroups mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetAppliedNetworkPolicies

func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedNetworkPolicies(arg0, arg1 string, arg2 *querier.NetworkPolicyQueryFilter) []v1beta2.NetworkPolicy

GetAppliedNetworkPolicies mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroupNum

func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroupNum() int

GetAppliedToGroupNum mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroups

func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroups() []v1beta2.AppliedToGroup

GetAppliedToGroups mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetControllerConnectionStatus

func (m *MockAgentNetworkPolicyInfoQuerier) GetControllerConnectionStatus() bool

GetControllerConnectionStatus mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicies

GetNetworkPolicies mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyByRuleFlowID

func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyByRuleFlowID(arg0 uint32) *v1beta2.NetworkPolicyReference

GetNetworkPolicyByRuleFlowID mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyNum

func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyNum() int

GetNetworkPolicyNum mocks base method

func (*MockAgentNetworkPolicyInfoQuerier) GetRuleByFlowID

func (m *MockAgentNetworkPolicyInfoQuerier) GetRuleByFlowID(arg0 uint32) *types.PolicyRule

GetRuleByFlowID mocks base method

type MockAgentNetworkPolicyInfoQuerierMockRecorder

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

MockAgentNetworkPolicyInfoQuerierMockRecorder is the mock recorder for MockAgentNetworkPolicyInfoQuerier

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroupNum

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroupNum() *gomock.Call

GetAddressGroupNum indicates an expected call of GetAddressGroupNum

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroups

GetAddressGroups indicates an expected call of GetAddressGroups

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedNetworkPolicies

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedNetworkPolicies(arg0, arg1, arg2 interface{}) *gomock.Call

GetAppliedNetworkPolicies indicates an expected call of GetAppliedNetworkPolicies

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroupNum

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroupNum() *gomock.Call

GetAppliedToGroupNum indicates an expected call of GetAppliedToGroupNum

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroups

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroups() *gomock.Call

GetAppliedToGroups indicates an expected call of GetAppliedToGroups

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetControllerConnectionStatus

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetControllerConnectionStatus() *gomock.Call

GetControllerConnectionStatus indicates an expected call of GetControllerConnectionStatus

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicies

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicies(arg0 interface{}) *gomock.Call

GetNetworkPolicies indicates an expected call of GetNetworkPolicies

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyByRuleFlowID

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyByRuleFlowID(arg0 interface{}) *gomock.Call

GetNetworkPolicyByRuleFlowID indicates an expected call of GetNetworkPolicyByRuleFlowID

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyNum

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyNum() *gomock.Call

GetNetworkPolicyNum indicates an expected call of GetNetworkPolicyNum

func (*MockAgentNetworkPolicyInfoQuerierMockRecorder) GetRuleByFlowID

func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetRuleByFlowID(arg0 interface{}) *gomock.Call

GetRuleByFlowID indicates an expected call of GetRuleByFlowID

Jump to

Keyboard shortcuts

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