Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AddAddressToDNSConjunction(arg0 uint32, arg1 []types.Address) error
- func (m *MockClient) AddPolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address, arg3 *uint16) error
- func (m *MockClient) BatchInstallPolicyRuleFlows(arg0 []*types.PolicyRule) error
- func (m *MockClient) DeleteAddressFromDNSConjunction(arg0 uint32, arg1 []types.Address) error
- func (m *MockClient) DeletePolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address, arg3 *uint16) error
- func (m *MockClient) DeleteStaleFlows() error
- func (m *MockClient) Disconnect() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetFlowTableStatus() []openflow.TableStatus
- func (m *MockClient) GetNetworkPolicyFlowKeys(arg0, arg1 string) []string
- func (m *MockClient) GetPodFlowKeys(arg0 string) []string
- func (m *MockClient) GetPolicyInfoFromConjunction(arg0 uint32) (string, string)
- func (m *MockClient) GetServiceFlowKeys(arg0 net.IP, arg1 uint16, arg2 openflow.Protocol, arg3 []proxy.Endpoint) []string
- func (m *MockClient) GetTunnelVirtualMAC() net.HardwareAddr
- func (m *MockClient) InitialTLVMap() error
- func (m *MockClient) Initialize(arg0 types.RoundInfo, arg1 *config.NodeConfig, arg2 *config.NetworkConfig) (<-chan struct{}, error)
- func (m *MockClient) InstallBridgeUplinkFlows() error
- func (m *MockClient) InstallClusterServiceCIDRFlows(arg0 []*net.IPNet) error
- func (m *MockClient) InstallDefaultServiceFlows(arg0, arg1 []net.IP) error
- func (m *MockClient) InstallDefaultTunnelFlows() error
- func (m *MockClient) InstallEndpointFlows(arg0 openflow.Protocol, arg1 []proxy.Endpoint) error
- func (m *MockClient) InstallExternalFlows(arg0 []net.IPNet) error
- func (m *MockClient) InstallGatewayFlows() error
- func (m *MockClient) InstallMulticastFlow(arg0 net.IP) error
- func (m *MockClient) InstallMulticastInitialFlows(arg0 byte) error
- func (m *MockClient) InstallNodeFlows(arg0 string, arg1 map[*net.IPNet]net.IP, arg2 *ip.DualStackIPs, arg3 uint32, ...) error
- func (m *MockClient) InstallPodFlows(arg0 string, arg1 []net.IP, arg2 net.HardwareAddr, arg3 uint32, arg4 uint16) error
- func (m *MockClient) InstallPodSNATFlows(arg0 uint32, arg1 net.IP, arg2 uint32) error
- func (m *MockClient) InstallPolicyRuleFlows(arg0 *types.PolicyRule) error
- func (m *MockClient) InstallSNATMarkFlows(arg0 net.IP, arg1 uint32) error
- func (m *MockClient) InstallServiceFlows(arg0 openflow.GroupIDType, arg1 net.IP, arg2 uint16, arg3 openflow.Protocol, ...) error
- func (m *MockClient) InstallServiceGroup(arg0 openflow.GroupIDType, arg1 bool, arg2 []proxy.Endpoint) error
- func (m *MockClient) InstallTraceflowFlows(arg0 byte, arg1, arg2, arg3 bool, arg4 *openflow.Packet, arg5 uint32, ...) error
- func (m *MockClient) IsConnected() bool
- func (m *MockClient) NetworkPolicyMetrics() map[uint32]*types.RuleMetric
- func (m *MockClient) NewDNSpacketInConjunction(arg0 uint32) error
- func (m *MockClient) ReassignFlowPriorities(arg0 map[uint16]uint16, arg1 byte) error
- func (m *MockClient) RegisterPacketInHandler(arg0 byte, arg1 string, arg2 interface{})
- func (m *MockClient) ReplayFlows()
- func (m *MockClient) SendICMPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 byte, ...) error
- func (m *MockClient) SendIGMPQueryPacketOut(arg0 net.HardwareAddr, arg1 net.IP, arg2 uint32, arg3 util.Message) error
- func (m *MockClient) SendTCPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 uint16, ...) error
- func (m *MockClient) SendTraceflowPacket(arg0 byte, arg1 *openflow.Packet, arg2 uint32, arg3 int32) error
- func (m *MockClient) SendUDPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 uint16, ...) error
- func (m *MockClient) StartPacketInHandler(arg0 []byte, arg1 <-chan struct{})
- func (m *MockClient) SubscribePacketIn(arg0 byte, arg1 *openflow.PacketInQueue) error
- func (m *MockClient) UninstallEndpointFlows(arg0 openflow.Protocol, arg1 proxy.Endpoint) error
- func (m *MockClient) UninstallMulticastFlow(arg0 net.IP) error
- func (m *MockClient) UninstallNodeFlows(arg0 string) error
- func (m *MockClient) UninstallPodFlows(arg0 string) error
- func (m *MockClient) UninstallPodSNATFlows(arg0 uint32) error
- func (m *MockClient) UninstallPolicyRuleFlows(arg0 uint32) ([]string, error)
- func (m *MockClient) UninstallSNATMarkFlows(arg0 uint32) error
- func (m *MockClient) UninstallServiceFlows(arg0 net.IP, arg1 uint16, arg2 openflow.Protocol) error
- func (m *MockClient) UninstallServiceGroup(arg0 openflow.GroupIDType) error
- func (m *MockClient) UninstallTraceflowFlows(arg0 byte) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AddAddressToDNSConjunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AddPolicyRuleAddress(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) BatchInstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAddressFromDNSConjunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePolicyRuleAddress(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteStaleFlows() *gomock.Call
- func (mr *MockClientMockRecorder) Disconnect() *gomock.Call
- func (mr *MockClientMockRecorder) GetFlowTableStatus() *gomock.Call
- func (mr *MockClientMockRecorder) GetNetworkPolicyFlowKeys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPodFlowKeys(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetPolicyInfoFromConjunction(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetServiceFlowKeys(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetTunnelVirtualMAC() *gomock.Call
- func (mr *MockClientMockRecorder) InitialTLVMap() *gomock.Call
- func (mr *MockClientMockRecorder) Initialize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallBridgeUplinkFlows() *gomock.Call
- func (mr *MockClientMockRecorder) InstallClusterServiceCIDRFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallDefaultServiceFlows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallDefaultTunnelFlows() *gomock.Call
- func (mr *MockClientMockRecorder) InstallEndpointFlows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallExternalFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallGatewayFlows() *gomock.Call
- func (mr *MockClientMockRecorder) InstallMulticastFlow(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallMulticastInitialFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallNodeFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallPodFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallPodSNATFlows(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallSNATMarkFlows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallServiceFlows(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallServiceGroup(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) InstallTraceflowFlows(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) IsConnected() *gomock.Call
- func (mr *MockClientMockRecorder) NetworkPolicyMetrics() *gomock.Call
- func (mr *MockClientMockRecorder) NewDNSpacketInConjunction(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReassignFlowPriorities(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RegisterPacketInHandler(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ReplayFlows() *gomock.Call
- func (mr *MockClientMockRecorder) SendICMPPacketOut(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SendIGMPQueryPacketOut(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SendTCPPacketOut(...) *gomock.Call
- func (mr *MockClientMockRecorder) SendTraceflowPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SendUDPPacketOut(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartPacketInHandler(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SubscribePacketIn(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallEndpointFlows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallMulticastFlow(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallNodeFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallPodFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallPodSNATFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallSNATMarkFlows(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallServiceFlows(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallServiceGroup(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UninstallTraceflowFlows(arg0 interface{}) *gomock.Call
- type MockOFEntryOperations
- func (m *MockOFEntryOperations) Add(arg0 openflow.Flow) error
- func (m *MockOFEntryOperations) AddAll(arg0 []openflow.Flow) error
- func (m *MockOFEntryOperations) AddOFEntries(arg0 []openflow.OFEntry) error
- func (m *MockOFEntryOperations) BundleOps(arg0, arg1, arg2 []openflow.Flow) error
- func (m *MockOFEntryOperations) Delete(arg0 openflow.Flow) error
- func (m *MockOFEntryOperations) DeleteAll(arg0 []openflow.Flow) error
- func (m *MockOFEntryOperations) DeleteOFEntries(arg0 []openflow.OFEntry) error
- func (m *MockOFEntryOperations) EXPECT() *MockOFEntryOperationsMockRecorder
- func (m *MockOFEntryOperations) Modify(arg0 openflow.Flow) error
- func (m *MockOFEntryOperations) ModifyAll(arg0 []openflow.Flow) error
- type MockOFEntryOperationsMockRecorder
- func (mr *MockOFEntryOperationsMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) AddAll(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) AddOFEntries(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) BundleOps(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) DeleteAll(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) DeleteOFEntries(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) Modify(arg0 interface{}) *gomock.Call
- func (mr *MockOFEntryOperationsMockRecorder) ModifyAll(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) AddAddressToDNSConjunction ¶ added in v1.3.0
func (m *MockClient) AddAddressToDNSConjunction(arg0 uint32, arg1 []types.Address) error
AddAddressToDNSConjunction mocks base method
func (*MockClient) AddPolicyRuleAddress ¶
func (m *MockClient) AddPolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address, arg3 *uint16) error
AddPolicyRuleAddress mocks base method
func (*MockClient) BatchInstallPolicyRuleFlows ¶
func (m *MockClient) BatchInstallPolicyRuleFlows(arg0 []*types.PolicyRule) error
BatchInstallPolicyRuleFlows mocks base method
func (*MockClient) DeleteAddressFromDNSConjunction ¶ added in v1.3.0
func (m *MockClient) DeleteAddressFromDNSConjunction(arg0 uint32, arg1 []types.Address) error
DeleteAddressFromDNSConjunction mocks base method
func (*MockClient) DeletePolicyRuleAddress ¶
func (m *MockClient) DeletePolicyRuleAddress(arg0 uint32, arg1 types.AddressType, arg2 []types.Address, arg3 *uint16) error
DeletePolicyRuleAddress mocks base method
func (*MockClient) DeleteStaleFlows ¶
func (m *MockClient) DeleteStaleFlows() error
DeleteStaleFlows mocks base method
func (*MockClient) Disconnect ¶
func (m *MockClient) Disconnect() error
Disconnect mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) GetFlowTableStatus ¶
func (m *MockClient) GetFlowTableStatus() []openflow.TableStatus
GetFlowTableStatus mocks base method
func (*MockClient) GetNetworkPolicyFlowKeys ¶
func (m *MockClient) GetNetworkPolicyFlowKeys(arg0, arg1 string) []string
GetNetworkPolicyFlowKeys mocks base method
func (*MockClient) GetPodFlowKeys ¶
func (m *MockClient) GetPodFlowKeys(arg0 string) []string
GetPodFlowKeys mocks base method
func (*MockClient) GetPolicyInfoFromConjunction ¶
func (m *MockClient) GetPolicyInfoFromConjunction(arg0 uint32) (string, string)
GetPolicyInfoFromConjunction mocks base method
func (*MockClient) GetServiceFlowKeys ¶
func (m *MockClient) GetServiceFlowKeys(arg0 net.IP, arg1 uint16, arg2 openflow.Protocol, arg3 []proxy.Endpoint) []string
GetServiceFlowKeys mocks base method
func (*MockClient) GetTunnelVirtualMAC ¶
func (m *MockClient) GetTunnelVirtualMAC() net.HardwareAddr
GetTunnelVirtualMAC mocks base method
func (*MockClient) InitialTLVMap ¶
func (m *MockClient) InitialTLVMap() error
InitialTLVMap mocks base method
func (*MockClient) Initialize ¶
func (m *MockClient) Initialize(arg0 types.RoundInfo, arg1 *config.NodeConfig, arg2 *config.NetworkConfig) (<-chan struct{}, error)
Initialize mocks base method
func (*MockClient) InstallBridgeUplinkFlows ¶
func (m *MockClient) InstallBridgeUplinkFlows() error
InstallBridgeUplinkFlows mocks base method
func (*MockClient) InstallClusterServiceCIDRFlows ¶
func (m *MockClient) InstallClusterServiceCIDRFlows(arg0 []*net.IPNet) error
InstallClusterServiceCIDRFlows mocks base method
func (*MockClient) InstallDefaultServiceFlows ¶ added in v1.4.0
func (m *MockClient) InstallDefaultServiceFlows(arg0, arg1 []net.IP) error
InstallDefaultServiceFlows mocks base method
func (*MockClient) InstallDefaultTunnelFlows ¶
func (m *MockClient) InstallDefaultTunnelFlows() error
InstallDefaultTunnelFlows mocks base method
func (*MockClient) InstallEndpointFlows ¶
InstallEndpointFlows mocks base method
func (*MockClient) InstallExternalFlows ¶
func (m *MockClient) InstallExternalFlows(arg0 []net.IPNet) error
InstallExternalFlows mocks base method
func (*MockClient) InstallGatewayFlows ¶
func (m *MockClient) InstallGatewayFlows() error
InstallGatewayFlows mocks base method
func (*MockClient) InstallMulticastFlow ¶ added in v1.5.0
func (m *MockClient) InstallMulticastFlow(arg0 net.IP) error
InstallMulticastFlow mocks base method
func (*MockClient) InstallMulticastInitialFlows ¶ added in v1.5.0
func (m *MockClient) InstallMulticastInitialFlows(arg0 byte) error
InstallMulticastInitialFlows mocks base method
func (*MockClient) InstallNodeFlows ¶
func (m *MockClient) InstallNodeFlows(arg0 string, arg1 map[*net.IPNet]net.IP, arg2 *ip.DualStackIPs, arg3 uint32, arg4 net.HardwareAddr) error
InstallNodeFlows mocks base method
func (*MockClient) InstallPodFlows ¶
func (m *MockClient) InstallPodFlows(arg0 string, arg1 []net.IP, arg2 net.HardwareAddr, arg3 uint32, arg4 uint16) error
InstallPodFlows mocks base method
func (*MockClient) InstallPodSNATFlows ¶
InstallPodSNATFlows mocks base method
func (*MockClient) InstallPolicyRuleFlows ¶
func (m *MockClient) InstallPolicyRuleFlows(arg0 *types.PolicyRule) error
InstallPolicyRuleFlows mocks base method
func (*MockClient) InstallSNATMarkFlows ¶
func (m *MockClient) InstallSNATMarkFlows(arg0 net.IP, arg1 uint32) error
InstallSNATMarkFlows mocks base method
func (*MockClient) InstallServiceFlows ¶
func (m *MockClient) InstallServiceFlows(arg0 openflow.GroupIDType, arg1 net.IP, arg2 uint16, arg3 openflow.Protocol, arg4 uint16, arg5 bool, arg6 v1.ServiceType) error
InstallServiceFlows mocks base method
func (*MockClient) InstallServiceGroup ¶
func (m *MockClient) InstallServiceGroup(arg0 openflow.GroupIDType, arg1 bool, arg2 []proxy.Endpoint) error
InstallServiceGroup mocks base method
func (*MockClient) InstallTraceflowFlows ¶
func (m *MockClient) InstallTraceflowFlows(arg0 byte, arg1, arg2, arg3 bool, arg4 *openflow.Packet, arg5 uint32, arg6 uint16) error
InstallTraceflowFlows mocks base method
func (*MockClient) IsConnected ¶
func (m *MockClient) IsConnected() bool
IsConnected mocks base method
func (*MockClient) NetworkPolicyMetrics ¶
func (m *MockClient) NetworkPolicyMetrics() map[uint32]*types.RuleMetric
NetworkPolicyMetrics mocks base method
func (*MockClient) NewDNSpacketInConjunction ¶ added in v1.3.0
func (m *MockClient) NewDNSpacketInConjunction(arg0 uint32) error
NewDNSpacketInConjunction mocks base method
func (*MockClient) ReassignFlowPriorities ¶
func (m *MockClient) ReassignFlowPriorities(arg0 map[uint16]uint16, arg1 byte) error
ReassignFlowPriorities mocks base method
func (*MockClient) RegisterPacketInHandler ¶
func (m *MockClient) RegisterPacketInHandler(arg0 byte, arg1 string, arg2 interface{})
RegisterPacketInHandler mocks base method
func (*MockClient) SendICMPPacketOut ¶
func (m *MockClient) SendICMPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 byte, arg9 []byte, arg10 func(openflow.PacketOutBuilder) openflow.PacketOutBuilder) error
SendICMPPacketOut mocks base method
func (*MockClient) SendIGMPQueryPacketOut ¶ added in v1.5.0
func (m *MockClient) SendIGMPQueryPacketOut(arg0 net.HardwareAddr, arg1 net.IP, arg2 uint32, arg3 util.Message) error
SendIGMPQueryPacketOut mocks base method
func (*MockClient) SendTCPPacketOut ¶
func (m *MockClient) SendTCPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 uint16, arg9 uint32, arg10 byte, arg11 func(openflow.PacketOutBuilder) openflow.PacketOutBuilder) error
SendTCPPacketOut mocks base method
func (*MockClient) SendTraceflowPacket ¶
func (m *MockClient) SendTraceflowPacket(arg0 byte, arg1 *openflow.Packet, arg2 uint32, arg3 int32) error
SendTraceflowPacket mocks base method
func (*MockClient) SendUDPPacketOut ¶ added in v1.3.0
func (m *MockClient) SendUDPPacketOut(arg0, arg1, arg2, arg3 string, arg4, arg5 uint32, arg6 bool, arg7, arg8 uint16, arg9 []byte, arg10 func(openflow.PacketOutBuilder) openflow.PacketOutBuilder) error
SendUDPPacketOut mocks base method
func (*MockClient) StartPacketInHandler ¶
func (m *MockClient) StartPacketInHandler(arg0 []byte, arg1 <-chan struct{})
StartPacketInHandler mocks base method
func (*MockClient) SubscribePacketIn ¶
func (m *MockClient) SubscribePacketIn(arg0 byte, arg1 *openflow.PacketInQueue) error
SubscribePacketIn mocks base method
func (*MockClient) UninstallEndpointFlows ¶
UninstallEndpointFlows mocks base method
func (*MockClient) UninstallMulticastFlow ¶ added in v1.5.0
func (m *MockClient) UninstallMulticastFlow(arg0 net.IP) error
UninstallMulticastFlow mocks base method
func (*MockClient) UninstallNodeFlows ¶
func (m *MockClient) UninstallNodeFlows(arg0 string) error
UninstallNodeFlows mocks base method
func (*MockClient) UninstallPodFlows ¶
func (m *MockClient) UninstallPodFlows(arg0 string) error
UninstallPodFlows mocks base method
func (*MockClient) UninstallPodSNATFlows ¶
func (m *MockClient) UninstallPodSNATFlows(arg0 uint32) error
UninstallPodSNATFlows mocks base method
func (*MockClient) UninstallPolicyRuleFlows ¶
func (m *MockClient) UninstallPolicyRuleFlows(arg0 uint32) ([]string, error)
UninstallPolicyRuleFlows mocks base method
func (*MockClient) UninstallSNATMarkFlows ¶
func (m *MockClient) UninstallSNATMarkFlows(arg0 uint32) error
UninstallSNATMarkFlows mocks base method
func (*MockClient) UninstallServiceFlows ¶
UninstallServiceFlows mocks base method
func (*MockClient) UninstallServiceGroup ¶
func (m *MockClient) UninstallServiceGroup(arg0 openflow.GroupIDType) error
UninstallServiceGroup mocks base method
func (*MockClient) UninstallTraceflowFlows ¶
func (m *MockClient) UninstallTraceflowFlows(arg0 byte) error
UninstallTraceflowFlows mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) AddAddressToDNSConjunction ¶ added in v1.3.0
func (mr *MockClientMockRecorder) AddAddressToDNSConjunction(arg0, arg1 interface{}) *gomock.Call
AddAddressToDNSConjunction indicates an expected call of AddAddressToDNSConjunction
func (*MockClientMockRecorder) AddPolicyRuleAddress ¶
func (mr *MockClientMockRecorder) AddPolicyRuleAddress(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
AddPolicyRuleAddress indicates an expected call of AddPolicyRuleAddress
func (*MockClientMockRecorder) BatchInstallPolicyRuleFlows ¶
func (mr *MockClientMockRecorder) BatchInstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
BatchInstallPolicyRuleFlows indicates an expected call of BatchInstallPolicyRuleFlows
func (*MockClientMockRecorder) DeleteAddressFromDNSConjunction ¶ added in v1.3.0
func (mr *MockClientMockRecorder) DeleteAddressFromDNSConjunction(arg0, arg1 interface{}) *gomock.Call
DeleteAddressFromDNSConjunction indicates an expected call of DeleteAddressFromDNSConjunction
func (*MockClientMockRecorder) DeletePolicyRuleAddress ¶
func (mr *MockClientMockRecorder) DeletePolicyRuleAddress(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeletePolicyRuleAddress indicates an expected call of DeletePolicyRuleAddress
func (*MockClientMockRecorder) DeleteStaleFlows ¶
func (mr *MockClientMockRecorder) DeleteStaleFlows() *gomock.Call
DeleteStaleFlows indicates an expected call of DeleteStaleFlows
func (*MockClientMockRecorder) Disconnect ¶
func (mr *MockClientMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect
func (*MockClientMockRecorder) GetFlowTableStatus ¶
func (mr *MockClientMockRecorder) GetFlowTableStatus() *gomock.Call
GetFlowTableStatus indicates an expected call of GetFlowTableStatus
func (*MockClientMockRecorder) GetNetworkPolicyFlowKeys ¶
func (mr *MockClientMockRecorder) GetNetworkPolicyFlowKeys(arg0, arg1 interface{}) *gomock.Call
GetNetworkPolicyFlowKeys indicates an expected call of GetNetworkPolicyFlowKeys
func (*MockClientMockRecorder) GetPodFlowKeys ¶
func (mr *MockClientMockRecorder) GetPodFlowKeys(arg0 interface{}) *gomock.Call
GetPodFlowKeys indicates an expected call of GetPodFlowKeys
func (*MockClientMockRecorder) GetPolicyInfoFromConjunction ¶
func (mr *MockClientMockRecorder) GetPolicyInfoFromConjunction(arg0 interface{}) *gomock.Call
GetPolicyInfoFromConjunction indicates an expected call of GetPolicyInfoFromConjunction
func (*MockClientMockRecorder) GetServiceFlowKeys ¶
func (mr *MockClientMockRecorder) GetServiceFlowKeys(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
GetServiceFlowKeys indicates an expected call of GetServiceFlowKeys
func (*MockClientMockRecorder) GetTunnelVirtualMAC ¶
func (mr *MockClientMockRecorder) GetTunnelVirtualMAC() *gomock.Call
GetTunnelVirtualMAC indicates an expected call of GetTunnelVirtualMAC
func (*MockClientMockRecorder) InitialTLVMap ¶
func (mr *MockClientMockRecorder) InitialTLVMap() *gomock.Call
InitialTLVMap indicates an expected call of InitialTLVMap
func (*MockClientMockRecorder) Initialize ¶
func (mr *MockClientMockRecorder) Initialize(arg0, arg1, arg2 interface{}) *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockClientMockRecorder) InstallBridgeUplinkFlows ¶
func (mr *MockClientMockRecorder) InstallBridgeUplinkFlows() *gomock.Call
InstallBridgeUplinkFlows indicates an expected call of InstallBridgeUplinkFlows
func (*MockClientMockRecorder) InstallClusterServiceCIDRFlows ¶
func (mr *MockClientMockRecorder) InstallClusterServiceCIDRFlows(arg0 interface{}) *gomock.Call
InstallClusterServiceCIDRFlows indicates an expected call of InstallClusterServiceCIDRFlows
func (*MockClientMockRecorder) InstallDefaultServiceFlows ¶ added in v1.4.0
func (mr *MockClientMockRecorder) InstallDefaultServiceFlows(arg0, arg1 interface{}) *gomock.Call
InstallDefaultServiceFlows indicates an expected call of InstallDefaultServiceFlows
func (*MockClientMockRecorder) InstallDefaultTunnelFlows ¶
func (mr *MockClientMockRecorder) InstallDefaultTunnelFlows() *gomock.Call
InstallDefaultTunnelFlows indicates an expected call of InstallDefaultTunnelFlows
func (*MockClientMockRecorder) InstallEndpointFlows ¶
func (mr *MockClientMockRecorder) InstallEndpointFlows(arg0, arg1 interface{}) *gomock.Call
InstallEndpointFlows indicates an expected call of InstallEndpointFlows
func (*MockClientMockRecorder) InstallExternalFlows ¶
func (mr *MockClientMockRecorder) InstallExternalFlows(arg0 interface{}) *gomock.Call
InstallExternalFlows indicates an expected call of InstallExternalFlows
func (*MockClientMockRecorder) InstallGatewayFlows ¶
func (mr *MockClientMockRecorder) InstallGatewayFlows() *gomock.Call
InstallGatewayFlows indicates an expected call of InstallGatewayFlows
func (*MockClientMockRecorder) InstallMulticastFlow ¶ added in v1.5.0
func (mr *MockClientMockRecorder) InstallMulticastFlow(arg0 interface{}) *gomock.Call
InstallMulticastFlow indicates an expected call of InstallMulticastFlow
func (*MockClientMockRecorder) InstallMulticastInitialFlows ¶ added in v1.5.0
func (mr *MockClientMockRecorder) InstallMulticastInitialFlows(arg0 interface{}) *gomock.Call
InstallMulticastInitialFlows indicates an expected call of InstallMulticastInitialFlows
func (*MockClientMockRecorder) InstallNodeFlows ¶
func (mr *MockClientMockRecorder) InstallNodeFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
InstallNodeFlows indicates an expected call of InstallNodeFlows
func (*MockClientMockRecorder) InstallPodFlows ¶
func (mr *MockClientMockRecorder) InstallPodFlows(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
InstallPodFlows indicates an expected call of InstallPodFlows
func (*MockClientMockRecorder) InstallPodSNATFlows ¶
func (mr *MockClientMockRecorder) InstallPodSNATFlows(arg0, arg1, arg2 interface{}) *gomock.Call
InstallPodSNATFlows indicates an expected call of InstallPodSNATFlows
func (*MockClientMockRecorder) InstallPolicyRuleFlows ¶
func (mr *MockClientMockRecorder) InstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
InstallPolicyRuleFlows indicates an expected call of InstallPolicyRuleFlows
func (*MockClientMockRecorder) InstallSNATMarkFlows ¶
func (mr *MockClientMockRecorder) InstallSNATMarkFlows(arg0, arg1 interface{}) *gomock.Call
InstallSNATMarkFlows indicates an expected call of InstallSNATMarkFlows
func (*MockClientMockRecorder) InstallServiceFlows ¶
func (mr *MockClientMockRecorder) InstallServiceFlows(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
InstallServiceFlows indicates an expected call of InstallServiceFlows
func (*MockClientMockRecorder) InstallServiceGroup ¶
func (mr *MockClientMockRecorder) InstallServiceGroup(arg0, arg1, arg2 interface{}) *gomock.Call
InstallServiceGroup indicates an expected call of InstallServiceGroup
func (*MockClientMockRecorder) InstallTraceflowFlows ¶
func (mr *MockClientMockRecorder) InstallTraceflowFlows(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call
InstallTraceflowFlows indicates an expected call of InstallTraceflowFlows
func (*MockClientMockRecorder) IsConnected ¶
func (mr *MockClientMockRecorder) IsConnected() *gomock.Call
IsConnected indicates an expected call of IsConnected
func (*MockClientMockRecorder) NetworkPolicyMetrics ¶
func (mr *MockClientMockRecorder) NetworkPolicyMetrics() *gomock.Call
NetworkPolicyMetrics indicates an expected call of NetworkPolicyMetrics
func (*MockClientMockRecorder) NewDNSpacketInConjunction ¶ added in v1.3.0
func (mr *MockClientMockRecorder) NewDNSpacketInConjunction(arg0 interface{}) *gomock.Call
NewDNSpacketInConjunction indicates an expected call of NewDNSpacketInConjunction
func (*MockClientMockRecorder) ReassignFlowPriorities ¶
func (mr *MockClientMockRecorder) ReassignFlowPriorities(arg0, arg1 interface{}) *gomock.Call
ReassignFlowPriorities indicates an expected call of ReassignFlowPriorities
func (*MockClientMockRecorder) RegisterPacketInHandler ¶
func (mr *MockClientMockRecorder) RegisterPacketInHandler(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterPacketInHandler indicates an expected call of RegisterPacketInHandler
func (*MockClientMockRecorder) ReplayFlows ¶
func (mr *MockClientMockRecorder) ReplayFlows() *gomock.Call
ReplayFlows indicates an expected call of ReplayFlows
func (*MockClientMockRecorder) SendICMPPacketOut ¶
func (mr *MockClientMockRecorder) SendICMPPacketOut(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call
SendICMPPacketOut indicates an expected call of SendICMPPacketOut
func (*MockClientMockRecorder) SendIGMPQueryPacketOut ¶ added in v1.5.0
func (mr *MockClientMockRecorder) SendIGMPQueryPacketOut(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendIGMPQueryPacketOut indicates an expected call of SendIGMPQueryPacketOut
func (*MockClientMockRecorder) SendTCPPacketOut ¶
func (mr *MockClientMockRecorder) SendTCPPacketOut(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11 interface{}) *gomock.Call
SendTCPPacketOut indicates an expected call of SendTCPPacketOut
func (*MockClientMockRecorder) SendTraceflowPacket ¶
func (mr *MockClientMockRecorder) SendTraceflowPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendTraceflowPacket indicates an expected call of SendTraceflowPacket
func (*MockClientMockRecorder) SendUDPPacketOut ¶ added in v1.3.0
func (mr *MockClientMockRecorder) SendUDPPacketOut(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 interface{}) *gomock.Call
SendUDPPacketOut indicates an expected call of SendUDPPacketOut
func (*MockClientMockRecorder) StartPacketInHandler ¶
func (mr *MockClientMockRecorder) StartPacketInHandler(arg0, arg1 interface{}) *gomock.Call
StartPacketInHandler indicates an expected call of StartPacketInHandler
func (*MockClientMockRecorder) SubscribePacketIn ¶
func (mr *MockClientMockRecorder) SubscribePacketIn(arg0, arg1 interface{}) *gomock.Call
SubscribePacketIn indicates an expected call of SubscribePacketIn
func (*MockClientMockRecorder) UninstallEndpointFlows ¶
func (mr *MockClientMockRecorder) UninstallEndpointFlows(arg0, arg1 interface{}) *gomock.Call
UninstallEndpointFlows indicates an expected call of UninstallEndpointFlows
func (*MockClientMockRecorder) UninstallMulticastFlow ¶ added in v1.5.0
func (mr *MockClientMockRecorder) UninstallMulticastFlow(arg0 interface{}) *gomock.Call
UninstallMulticastFlow indicates an expected call of UninstallMulticastFlow
func (*MockClientMockRecorder) UninstallNodeFlows ¶
func (mr *MockClientMockRecorder) UninstallNodeFlows(arg0 interface{}) *gomock.Call
UninstallNodeFlows indicates an expected call of UninstallNodeFlows
func (*MockClientMockRecorder) UninstallPodFlows ¶
func (mr *MockClientMockRecorder) UninstallPodFlows(arg0 interface{}) *gomock.Call
UninstallPodFlows indicates an expected call of UninstallPodFlows
func (*MockClientMockRecorder) UninstallPodSNATFlows ¶
func (mr *MockClientMockRecorder) UninstallPodSNATFlows(arg0 interface{}) *gomock.Call
UninstallPodSNATFlows indicates an expected call of UninstallPodSNATFlows
func (*MockClientMockRecorder) UninstallPolicyRuleFlows ¶
func (mr *MockClientMockRecorder) UninstallPolicyRuleFlows(arg0 interface{}) *gomock.Call
UninstallPolicyRuleFlows indicates an expected call of UninstallPolicyRuleFlows
func (*MockClientMockRecorder) UninstallSNATMarkFlows ¶
func (mr *MockClientMockRecorder) UninstallSNATMarkFlows(arg0 interface{}) *gomock.Call
UninstallSNATMarkFlows indicates an expected call of UninstallSNATMarkFlows
func (*MockClientMockRecorder) UninstallServiceFlows ¶
func (mr *MockClientMockRecorder) UninstallServiceFlows(arg0, arg1, arg2 interface{}) *gomock.Call
UninstallServiceFlows indicates an expected call of UninstallServiceFlows
func (*MockClientMockRecorder) UninstallServiceGroup ¶
func (mr *MockClientMockRecorder) UninstallServiceGroup(arg0 interface{}) *gomock.Call
UninstallServiceGroup indicates an expected call of UninstallServiceGroup
func (*MockClientMockRecorder) UninstallTraceflowFlows ¶
func (mr *MockClientMockRecorder) UninstallTraceflowFlows(arg0 interface{}) *gomock.Call
UninstallTraceflowFlows indicates an expected call of UninstallTraceflowFlows
type MockOFEntryOperations ¶
type MockOFEntryOperations struct {
// contains filtered or unexported fields
}
MockOFEntryOperations is a mock of OFEntryOperations interface
func NewMockOFEntryOperations ¶
func NewMockOFEntryOperations(ctrl *gomock.Controller) *MockOFEntryOperations
NewMockOFEntryOperations creates a new mock instance
func (*MockOFEntryOperations) Add ¶
func (m *MockOFEntryOperations) Add(arg0 openflow.Flow) error
Add mocks base method
func (*MockOFEntryOperations) AddAll ¶
func (m *MockOFEntryOperations) AddAll(arg0 []openflow.Flow) error
AddAll mocks base method
func (*MockOFEntryOperations) AddOFEntries ¶
func (m *MockOFEntryOperations) AddOFEntries(arg0 []openflow.OFEntry) error
AddOFEntries mocks base method
func (*MockOFEntryOperations) BundleOps ¶
func (m *MockOFEntryOperations) BundleOps(arg0, arg1, arg2 []openflow.Flow) error
BundleOps mocks base method
func (*MockOFEntryOperations) Delete ¶
func (m *MockOFEntryOperations) Delete(arg0 openflow.Flow) error
Delete mocks base method
func (*MockOFEntryOperations) DeleteAll ¶
func (m *MockOFEntryOperations) DeleteAll(arg0 []openflow.Flow) error
DeleteAll mocks base method
func (*MockOFEntryOperations) DeleteOFEntries ¶
func (m *MockOFEntryOperations) DeleteOFEntries(arg0 []openflow.OFEntry) error
DeleteOFEntries mocks base method
func (*MockOFEntryOperations) EXPECT ¶
func (m *MockOFEntryOperations) EXPECT() *MockOFEntryOperationsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockOFEntryOperationsMockRecorder ¶
type MockOFEntryOperationsMockRecorder struct {
// contains filtered or unexported fields
}
MockOFEntryOperationsMockRecorder is the mock recorder for MockOFEntryOperations
func (*MockOFEntryOperationsMockRecorder) Add ¶
func (mr *MockOFEntryOperationsMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockOFEntryOperationsMockRecorder) AddAll ¶
func (mr *MockOFEntryOperationsMockRecorder) AddAll(arg0 interface{}) *gomock.Call
AddAll indicates an expected call of AddAll
func (*MockOFEntryOperationsMockRecorder) AddOFEntries ¶
func (mr *MockOFEntryOperationsMockRecorder) AddOFEntries(arg0 interface{}) *gomock.Call
AddOFEntries indicates an expected call of AddOFEntries
func (*MockOFEntryOperationsMockRecorder) BundleOps ¶
func (mr *MockOFEntryOperationsMockRecorder) BundleOps(arg0, arg1, arg2 interface{}) *gomock.Call
BundleOps indicates an expected call of BundleOps
func (*MockOFEntryOperationsMockRecorder) Delete ¶
func (mr *MockOFEntryOperationsMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockOFEntryOperationsMockRecorder) DeleteAll ¶
func (mr *MockOFEntryOperationsMockRecorder) DeleteAll(arg0 interface{}) *gomock.Call
DeleteAll indicates an expected call of DeleteAll
func (*MockOFEntryOperationsMockRecorder) DeleteOFEntries ¶
func (mr *MockOFEntryOperationsMockRecorder) DeleteOFEntries(arg0 interface{}) *gomock.Call
DeleteOFEntries indicates an expected call of DeleteOFEntries
func (*MockOFEntryOperationsMockRecorder) Modify ¶
func (mr *MockOFEntryOperationsMockRecorder) Modify(arg0 interface{}) *gomock.Call
Modify indicates an expected call of Modify
func (*MockOFEntryOperationsMockRecorder) ModifyAll ¶
func (mr *MockOFEntryOperationsMockRecorder) ModifyAll(arg0 interface{}) *gomock.Call
ModifyAll indicates an expected call of ModifyAll