Documentation ¶
Overview ¶
Package mockcontroller is a generated GoMock package.
Index ¶
- type MockDebugInfo
- func (m *MockDebugInfo) EXPECT() *MockDebugInfoMockRecorder
- func (m *MockDebugInfo) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, ...) error
- func (m *MockDebugInfo) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration, ...) error
- type MockDebugInfoMockRecorder
- type MockTriremeController
- func (m *MockTriremeController) CleanUp() error
- func (m *MockTriremeController) EXPECT() *MockTriremeControllerMockRecorder
- func (m *MockTriremeController) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, ...) error
- func (m *MockTriremeController) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration, ...) error
- func (m *MockTriremeController) Enforce(ctx context.Context, puID string, policy *policy.PUPolicy, ...) error
- func (m *MockTriremeController) Run(ctx context.Context) error
- func (m *MockTriremeController) UnEnforce(ctx context.Context, puID string, policy *policy.PUPolicy, ...) error
- func (m *MockTriremeController) UpdateConfiguration(networks []string) error
- func (m *MockTriremeController) UpdatePolicy(ctx context.Context, puID string, policy *policy.PUPolicy, ...) error
- func (m *MockTriremeController) UpdateSecrets(secrets secrets.Secrets) error
- type MockTriremeControllerMockRecorder
- func (mr *MockTriremeControllerMockRecorder) CleanUp() *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) EnableDatapathPacketTracing(contextID, direction, interval, putype interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval, putype interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) Enforce(ctx, puID, policy, runtime interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) Run(ctx interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) UnEnforce(ctx, puID, policy, runtime interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) UpdateConfiguration(networks interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) UpdatePolicy(ctx, puID, policy, runtime interface{}) *gomock.Call
- func (mr *MockTriremeControllerMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDebugInfo ¶
type MockDebugInfo struct {
// contains filtered or unexported fields
}
MockDebugInfo is a mock of DebugInfo interface nolint
func NewMockDebugInfo ¶
func NewMockDebugInfo(ctrl *gomock.Controller) *MockDebugInfo
NewMockDebugInfo creates a new mock instance nolint
func (*MockDebugInfo) EXPECT ¶
func (m *MockDebugInfo) EXPECT() *MockDebugInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockDebugInfo) EnableDatapathPacketTracing ¶
func (m *MockDebugInfo) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, interval time.Duration, putype common.PUType) error
EnableDatapathPacketTracing mocks base method nolint
type MockDebugInfoMockRecorder ¶
type MockDebugInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockDebugInfoMockRecorder is the mock recorder for MockDebugInfo nolint
func (*MockDebugInfoMockRecorder) EnableDatapathPacketTracing ¶
func (mr *MockDebugInfoMockRecorder) EnableDatapathPacketTracing(contextID, direction, interval, putype interface{}) *gomock.Call
EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint
func (*MockDebugInfoMockRecorder) EnableIPTablesPacketTracing ¶
func (mr *MockDebugInfoMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval, putype interface{}) *gomock.Call
EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint
type MockTriremeController ¶
type MockTriremeController struct {
// contains filtered or unexported fields
}
MockTriremeController is a mock of TriremeController interface nolint
func NewMockTriremeController ¶
func NewMockTriremeController(ctrl *gomock.Controller) *MockTriremeController
NewMockTriremeController creates a new mock instance nolint
func (*MockTriremeController) CleanUp ¶
func (m *MockTriremeController) CleanUp() error
CleanUp mocks base method nolint
func (*MockTriremeController) EXPECT ¶
func (m *MockTriremeController) EXPECT() *MockTriremeControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockTriremeController) EnableDatapathPacketTracing ¶
func (m *MockTriremeController) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, interval time.Duration, putype common.PUType) error
EnableDatapathPacketTracing mocks base method nolint
func (*MockTriremeController) EnableIPTablesPacketTracing ¶
func (m *MockTriremeController) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration, putype common.PUType) error
EnableIPTablesPacketTracing mocks base method nolint
func (*MockTriremeController) Enforce ¶
func (m *MockTriremeController) Enforce(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error
Enforce mocks base method nolint
func (*MockTriremeController) Run ¶
func (m *MockTriremeController) Run(ctx context.Context) error
Run mocks base method nolint
func (*MockTriremeController) UnEnforce ¶
func (m *MockTriremeController) UnEnforce(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error
UnEnforce mocks base method nolint
func (*MockTriremeController) UpdateConfiguration ¶
func (m *MockTriremeController) UpdateConfiguration(networks []string) error
UpdateConfiguration mocks base method nolint
func (*MockTriremeController) UpdatePolicy ¶
func (m *MockTriremeController) UpdatePolicy(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error
UpdatePolicy mocks base method nolint
func (*MockTriremeController) UpdateSecrets ¶
func (m *MockTriremeController) UpdateSecrets(secrets secrets.Secrets) error
UpdateSecrets mocks base method nolint
type MockTriremeControllerMockRecorder ¶
type MockTriremeControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockTriremeControllerMockRecorder is the mock recorder for MockTriremeController nolint
func (*MockTriremeControllerMockRecorder) CleanUp ¶
func (mr *MockTriremeControllerMockRecorder) CleanUp() *gomock.Call
CleanUp indicates an expected call of CleanUp nolint
func (*MockTriremeControllerMockRecorder) EnableDatapathPacketTracing ¶
func (mr *MockTriremeControllerMockRecorder) EnableDatapathPacketTracing(contextID, direction, interval, putype interface{}) *gomock.Call
EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint
func (*MockTriremeControllerMockRecorder) EnableIPTablesPacketTracing ¶
func (mr *MockTriremeControllerMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval, putype interface{}) *gomock.Call
EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint
func (*MockTriremeControllerMockRecorder) Enforce ¶
func (mr *MockTriremeControllerMockRecorder) Enforce(ctx, puID, policy, runtime interface{}) *gomock.Call
Enforce indicates an expected call of Enforce nolint
func (*MockTriremeControllerMockRecorder) Run ¶
func (mr *MockTriremeControllerMockRecorder) Run(ctx interface{}) *gomock.Call
Run indicates an expected call of Run nolint
func (*MockTriremeControllerMockRecorder) UnEnforce ¶
func (mr *MockTriremeControllerMockRecorder) UnEnforce(ctx, puID, policy, runtime interface{}) *gomock.Call
UnEnforce indicates an expected call of UnEnforce nolint
func (*MockTriremeControllerMockRecorder) UpdateConfiguration ¶
func (mr *MockTriremeControllerMockRecorder) UpdateConfiguration(networks interface{}) *gomock.Call
UpdateConfiguration indicates an expected call of UpdateConfiguration nolint
func (*MockTriremeControllerMockRecorder) UpdatePolicy ¶
func (mr *MockTriremeControllerMockRecorder) UpdatePolicy(ctx, puID, policy, runtime interface{}) *gomock.Call
UpdatePolicy indicates an expected call of UpdatePolicy nolint
func (*MockTriremeControllerMockRecorder) UpdateSecrets ¶
func (mr *MockTriremeControllerMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call
UpdateSecrets indicates an expected call of UpdateSecrets nolint