mockcontroller

package
v10.95.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 5 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 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) 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(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

CleanUp indicates an expected call of CleanUp 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

Jump to

Keyboard shortcuts

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