mockcontroller

package
v10.201.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mockcontroller is a generated GoMock package.

Index

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

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

func (*MockDebugInfo) EnableIPTablesPacketTracing

func (m *MockDebugInfo) EnableIPTablesPacketTracing(ctx context.Context, contextID string, interval time.Duration, putype common.PUType) error

EnableIPTablesPacketTracing 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

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

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(cfg *runtime.Configuration) 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

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(cfg 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

Jump to

Keyboard shortcuts

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