mock_tc

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_tc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBpfTc

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

MockBpfTc is a mock of BpfTc interface.

func NewMockBpfTc

func NewMockBpfTc(ctrl *gomock.Controller) *MockBpfTc

NewMockBpfTc creates a new mock instance.

func (*MockBpfTc) CleanupQdiscs

func (m *MockBpfTc) CleanupQdiscs(ingressCleanup, egressCleanup bool) error

CleanupQdiscs mocks base method.

func (*MockBpfTc) EXPECT

func (m *MockBpfTc) EXPECT() *MockBpfTcMockRecorder

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

func (*MockBpfTc) GetAllAttachedProgIds added in v1.0.12

func (m *MockBpfTc) GetAllAttachedProgIds() (map[string]int, map[string]int, error)

GetAllAttachedProgIds mocks base method.

func (*MockBpfTc) TCEgressAttach

func (m *MockBpfTc) TCEgressAttach(interfaceName string, progFD int, funcName string) error

TCEgressAttach mocks base method.

func (*MockBpfTc) TCEgressDetach

func (m *MockBpfTc) TCEgressDetach(interfaceName string) error

TCEgressDetach mocks base method.

func (*MockBpfTc) TCIngressAttach

func (m *MockBpfTc) TCIngressAttach(interfaceName string, progFD int, funcName string) error

TCIngressAttach mocks base method.

func (*MockBpfTc) TCIngressDetach

func (m *MockBpfTc) TCIngressDetach(interfaceName string) error

TCIngressDetach mocks base method.

type MockBpfTcMockRecorder

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

MockBpfTcMockRecorder is the mock recorder for MockBpfTc.

func (*MockBpfTcMockRecorder) CleanupQdiscs

func (mr *MockBpfTcMockRecorder) CleanupQdiscs(ingressCleanup, egressCleanup interface{}) *gomock.Call

CleanupQdiscs indicates an expected call of CleanupQdiscs.

func (*MockBpfTcMockRecorder) GetAllAttachedProgIds added in v1.0.12

func (mr *MockBpfTcMockRecorder) GetAllAttachedProgIds() *gomock.Call

GetAllAttachedProgIds indicates an expected call of GetAllAttachedProgIds.

func (*MockBpfTcMockRecorder) TCEgressAttach

func (mr *MockBpfTcMockRecorder) TCEgressAttach(interfaceName, progFD, funcName interface{}) *gomock.Call

TCEgressAttach indicates an expected call of TCEgressAttach.

func (*MockBpfTcMockRecorder) TCEgressDetach

func (mr *MockBpfTcMockRecorder) TCEgressDetach(interfaceName interface{}) *gomock.Call

TCEgressDetach indicates an expected call of TCEgressDetach.

func (*MockBpfTcMockRecorder) TCIngressAttach

func (mr *MockBpfTcMockRecorder) TCIngressAttach(interfaceName, progFD, funcName interface{}) *gomock.Call

TCIngressAttach indicates an expected call of TCIngressAttach.

func (*MockBpfTcMockRecorder) TCIngressDetach

func (mr *MockBpfTcMockRecorder) TCIngressDetach(interfaceName interface{}) *gomock.Call

TCIngressDetach indicates an expected call of TCIngressDetach.

Jump to

Keyboard shortcuts

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