trireme-lib: go.aporeto.io/trireme-lib/controller/mockcontroller Index | Files

package mockcontroller

import "go.aporeto.io/trireme-lib/controller/mockcontroller"

Package mockcontroller is a generated GoMock package.

Index

Package Files

mocktrireme.go

type MockDebugInfo Uses

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

MockDebugInfo is a mock of DebugInfo interface nolint

func NewMockDebugInfo Uses

func NewMockDebugInfo(ctrl *gomock.Controller) *MockDebugInfo

NewMockDebugInfo creates a new mock instance nolint

func (*MockDebugInfo) EXPECT Uses

func (m *MockDebugInfo) EXPECT() *MockDebugInfoMockRecorder

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

func (*MockDebugInfo) EnableDatapathPacketTracing Uses

func (m *MockDebugInfo) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, interval time.Duration, putype common.PUType) error

EnableDatapathPacketTracing mocks base method nolint

func (*MockDebugInfo) EnableIPTablesPacketTracing Uses

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

EnableIPTablesPacketTracing mocks base method nolint

type MockDebugInfoMockRecorder Uses

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

MockDebugInfoMockRecorder is the mock recorder for MockDebugInfo nolint

func (*MockDebugInfoMockRecorder) EnableDatapathPacketTracing Uses

func (mr *MockDebugInfoMockRecorder) EnableDatapathPacketTracing(contextID, direction, interval, putype interface{}) *gomock.Call

EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint

func (*MockDebugInfoMockRecorder) EnableIPTablesPacketTracing Uses

func (mr *MockDebugInfoMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval, putype interface{}) *gomock.Call

EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint

type MockTriremeController Uses

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

MockTriremeController is a mock of TriremeController interface nolint

func NewMockTriremeController Uses

func NewMockTriremeController(ctrl *gomock.Controller) *MockTriremeController

NewMockTriremeController creates a new mock instance nolint

func (*MockTriremeController) CleanUp Uses

func (m *MockTriremeController) CleanUp() error

CleanUp mocks base method nolint

func (*MockTriremeController) EXPECT Uses

func (m *MockTriremeController) EXPECT() *MockTriremeControllerMockRecorder

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

func (*MockTriremeController) EnableDatapathPacketTracing Uses

func (m *MockTriremeController) EnableDatapathPacketTracing(contextID string, direction packettracing.TracingDirection, interval time.Duration, putype common.PUType) error

EnableDatapathPacketTracing mocks base method nolint

func (*MockTriremeController) EnableIPTablesPacketTracing Uses

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

EnableIPTablesPacketTracing mocks base method nolint

func (*MockTriremeController) Enforce Uses

func (m *MockTriremeController) Enforce(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error

Enforce mocks base method nolint

func (*MockTriremeController) Run Uses

func (m *MockTriremeController) Run(ctx context.Context) error

Run mocks base method nolint

func (*MockTriremeController) UnEnforce Uses

func (m *MockTriremeController) UnEnforce(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error

UnEnforce mocks base method nolint

func (*MockTriremeController) UpdateConfiguration Uses

func (m *MockTriremeController) UpdateConfiguration(cfg *runtime.Configuration) error

UpdateConfiguration mocks base method nolint

func (*MockTriremeController) UpdatePolicy Uses

func (m *MockTriremeController) UpdatePolicy(ctx context.Context, puID string, policy *policy.PUPolicy, runtime *policy.PURuntime) error

UpdatePolicy mocks base method nolint

func (*MockTriremeController) UpdateSecrets Uses

func (m *MockTriremeController) UpdateSecrets(secrets secrets.Secrets) error

UpdateSecrets mocks base method nolint

type MockTriremeControllerMockRecorder Uses

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

MockTriremeControllerMockRecorder is the mock recorder for MockTriremeController nolint

func (*MockTriremeControllerMockRecorder) CleanUp Uses

func (mr *MockTriremeControllerMockRecorder) CleanUp() *gomock.Call

CleanUp indicates an expected call of CleanUp nolint

func (*MockTriremeControllerMockRecorder) EnableDatapathPacketTracing Uses

func (mr *MockTriremeControllerMockRecorder) EnableDatapathPacketTracing(contextID, direction, interval, putype interface{}) *gomock.Call

EnableDatapathPacketTracing indicates an expected call of EnableDatapathPacketTracing nolint

func (*MockTriremeControllerMockRecorder) EnableIPTablesPacketTracing Uses

func (mr *MockTriremeControllerMockRecorder) EnableIPTablesPacketTracing(ctx, contextID, interval, putype interface{}) *gomock.Call

EnableIPTablesPacketTracing indicates an expected call of EnableIPTablesPacketTracing nolint

func (*MockTriremeControllerMockRecorder) Enforce Uses

func (mr *MockTriremeControllerMockRecorder) Enforce(ctx, puID, policy, runtime interface{}) *gomock.Call

Enforce indicates an expected call of Enforce nolint

func (*MockTriremeControllerMockRecorder) Run Uses

func (mr *MockTriremeControllerMockRecorder) Run(ctx interface{}) *gomock.Call

Run indicates an expected call of Run nolint

func (*MockTriremeControllerMockRecorder) UnEnforce Uses

func (mr *MockTriremeControllerMockRecorder) UnEnforce(ctx, puID, policy, runtime interface{}) *gomock.Call

UnEnforce indicates an expected call of UnEnforce nolint

func (*MockTriremeControllerMockRecorder) UpdateConfiguration Uses

func (mr *MockTriremeControllerMockRecorder) UpdateConfiguration(cfg interface{}) *gomock.Call

UpdateConfiguration indicates an expected call of UpdateConfiguration nolint

func (*MockTriremeControllerMockRecorder) UpdatePolicy Uses

func (mr *MockTriremeControllerMockRecorder) UpdatePolicy(ctx, puID, policy, runtime interface{}) *gomock.Call

UpdatePolicy indicates an expected call of UpdatePolicy nolint

func (*MockTriremeControllerMockRecorder) UpdateSecrets Uses

func (mr *MockTriremeControllerMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call

UpdateSecrets indicates an expected call of UpdateSecrets nolint

Package mockcontroller imports 9 packages (graph). Updated 2019-04-17. Refresh now. Tools for package owners.