Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockAgentNetworkPolicyInfoQuerier
- func (m *MockAgentNetworkPolicyInfoQuerier) EXPECT() *MockAgentNetworkPolicyInfoQuerierMockRecorder
- func (m *MockAgentNetworkPolicyInfoQuerier) GetAddressGroupNum() int
- func (m *MockAgentNetworkPolicyInfoQuerier) GetAddressGroups() []v1beta2.AddressGroup
- func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedNetworkPolicies(arg0, arg1 string, arg2 *querier.NetworkPolicyQueryFilter) []v1beta2.NetworkPolicy
- func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroupNum() int
- func (m *MockAgentNetworkPolicyInfoQuerier) GetAppliedToGroups() []v1beta2.AppliedToGroup
- func (m *MockAgentNetworkPolicyInfoQuerier) GetControllerConnectionStatus() bool
- func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicies(arg0 *querier.NetworkPolicyQueryFilter) []v1beta2.NetworkPolicy
- func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyByRuleFlowID(arg0 uint32) *v1beta2.NetworkPolicyReference
- func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicyNum() int
- func (m *MockAgentNetworkPolicyInfoQuerier) GetRuleByFlowID(arg0 uint32) *types.PolicyRule
- type MockAgentNetworkPolicyInfoQuerierMockRecorder
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroupNum() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroups() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedNetworkPolicies(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroupNum() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAppliedToGroups() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetControllerConnectionStatus() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicies(arg0 interface{}) *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyByRuleFlowID(arg0 interface{}) *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetNetworkPolicyNum() *gomock.Call
- func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetRuleByFlowID(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockAgentNetworkPolicyInfoQuerier) EXPECT() *MockAgentNetworkPolicyInfoQuerierMockRecorder
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 ¶
func (m *MockAgentNetworkPolicyInfoQuerier) GetNetworkPolicies(arg0 *querier.NetworkPolicyQueryFilter) []v1beta2.NetworkPolicy
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 ¶
func (mr *MockAgentNetworkPolicyInfoQuerierMockRecorder) GetAddressGroups() *gomock.Call
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