testing

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 8 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 MockAgentMulticastInfoQuerier added in v1.7.0

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

MockAgentMulticastInfoQuerier is a mock of AgentMulticastInfoQuerier interface

func NewMockAgentMulticastInfoQuerier added in v1.7.0

func NewMockAgentMulticastInfoQuerier(ctrl *gomock.Controller) *MockAgentMulticastInfoQuerier

NewMockAgentMulticastInfoQuerier creates a new mock instance

func (*MockAgentMulticastInfoQuerier) CollectIGMPReportNPStats added in v1.7.0

func (m *MockAgentMulticastInfoQuerier) CollectIGMPReportNPStats() (map[types0.UID]map[string]*types.RuleMetric, map[types0.UID]map[string]*types.RuleMetric)

CollectIGMPReportNPStats mocks base method

func (*MockAgentMulticastInfoQuerier) EXPECT added in v1.7.0

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

func (*MockAgentMulticastInfoQuerier) GetAllPodsStats added in v1.7.0

GetAllPodsStats mocks base method

func (*MockAgentMulticastInfoQuerier) GetGroupPods added in v1.7.0

func (m *MockAgentMulticastInfoQuerier) GetGroupPods() map[string][]v1beta2.PodReference

GetGroupPods mocks base method

func (*MockAgentMulticastInfoQuerier) GetPodStats added in v1.7.0

func (m *MockAgentMulticastInfoQuerier) GetPodStats(arg0, arg1 string) *multicast.PodTrafficStats

GetPodStats mocks base method

type MockAgentMulticastInfoQuerierMockRecorder added in v1.7.0

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

MockAgentMulticastInfoQuerierMockRecorder is the mock recorder for MockAgentMulticastInfoQuerier

func (*MockAgentMulticastInfoQuerierMockRecorder) CollectIGMPReportNPStats added in v1.7.0

func (mr *MockAgentMulticastInfoQuerierMockRecorder) CollectIGMPReportNPStats() *gomock.Call

CollectIGMPReportNPStats indicates an expected call of CollectIGMPReportNPStats

func (*MockAgentMulticastInfoQuerierMockRecorder) GetAllPodsStats added in v1.7.0

func (mr *MockAgentMulticastInfoQuerierMockRecorder) GetAllPodsStats() *gomock.Call

GetAllPodsStats indicates an expected call of GetAllPodsStats

func (*MockAgentMulticastInfoQuerierMockRecorder) GetGroupPods added in v1.7.0

GetGroupPods indicates an expected call of GetGroupPods

func (*MockAgentMulticastInfoQuerierMockRecorder) GetPodStats added in v1.7.0

func (mr *MockAgentMulticastInfoQuerierMockRecorder) GetPodStats(arg0, arg1 interface{}) *gomock.Call

GetPodStats indicates an expected call of GetPodStats

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