Documentation ¶
Overview ¶
Package mocktrireme is a generated GoMock package.
Index ¶
- type MockPolicyResolver
- type MockPolicyResolverMockRecorder
- type MockPolicyUpdater
- type MockPolicyUpdaterMockRecorder
- type MockSecretsUpdater
- type MockSecretsUpdaterMockRecorder
- type MockTrireme
- func (m *MockTrireme) CreatePURuntime(contextID string, runtimeInfo *policy.PURuntime) error
- func (m *MockTrireme) EXPECT() *MockTriremeMockRecorder
- func (m *MockTrireme) HandlePUEvent(contextID string, event events.Event) error
- func (m *MockTrireme) PURuntime(contextID string) (policy.RuntimeReader, error)
- func (m *MockTrireme) Start() error
- func (m *MockTrireme) Stop() error
- func (m *MockTrireme) Supervisor(kind constants.PUType) supervisor.Supervisor
- func (m *MockTrireme) UpdatePolicy(contextID string, policy *policy.PUPolicy) error
- func (m *MockTrireme) UpdateSecrets(secrets secrets.Secrets) error
- type MockTriremeMockRecorder
- func (mr *MockTriremeMockRecorder) CreatePURuntime(contextID, runtimeInfo interface{}) *gomock.Call
- func (mr *MockTriremeMockRecorder) HandlePUEvent(contextID, event interface{}) *gomock.Call
- func (mr *MockTriremeMockRecorder) PURuntime(contextID interface{}) *gomock.Call
- func (mr *MockTriremeMockRecorder) Start() *gomock.Call
- func (mr *MockTriremeMockRecorder) Stop() *gomock.Call
- func (mr *MockTriremeMockRecorder) Supervisor(kind interface{}) *gomock.Call
- func (mr *MockTriremeMockRecorder) UpdatePolicy(contextID, policy interface{}) *gomock.Call
- func (mr *MockTriremeMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPolicyResolver ¶
type MockPolicyResolver struct {
// contains filtered or unexported fields
}
MockPolicyResolver is a mock of PolicyResolver interface nolint
func NewMockPolicyResolver ¶
func NewMockPolicyResolver(ctrl *gomock.Controller) *MockPolicyResolver
NewMockPolicyResolver creates a new mock instance nolint
func (*MockPolicyResolver) EXPECT ¶
func (m *MockPolicyResolver) EXPECT() *MockPolicyResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockPolicyResolver) HandlePUEvent ¶
func (m *MockPolicyResolver) HandlePUEvent(contextID string, eventType events.Event)
HandlePUEvent mocks base method nolint
func (*MockPolicyResolver) ResolvePolicy ¶
func (m *MockPolicyResolver) ResolvePolicy(contextID string, RuntimeReader policy.RuntimeReader) (*policy.PUPolicy, error)
ResolvePolicy mocks base method nolint
type MockPolicyResolverMockRecorder ¶
type MockPolicyResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyResolverMockRecorder is the mock recorder for MockPolicyResolver nolint
func (*MockPolicyResolverMockRecorder) HandlePUEvent ¶
func (mr *MockPolicyResolverMockRecorder) HandlePUEvent(contextID, eventType interface{}) *gomock.Call
HandlePUEvent indicates an expected call of HandlePUEvent nolint
func (*MockPolicyResolverMockRecorder) ResolvePolicy ¶
func (mr *MockPolicyResolverMockRecorder) ResolvePolicy(contextID, RuntimeReader interface{}) *gomock.Call
ResolvePolicy indicates an expected call of ResolvePolicy nolint
type MockPolicyUpdater ¶
type MockPolicyUpdater struct {
// contains filtered or unexported fields
}
MockPolicyUpdater is a mock of PolicyUpdater interface nolint
func NewMockPolicyUpdater ¶
func NewMockPolicyUpdater(ctrl *gomock.Controller) *MockPolicyUpdater
NewMockPolicyUpdater creates a new mock instance nolint
func (*MockPolicyUpdater) EXPECT ¶
func (m *MockPolicyUpdater) EXPECT() *MockPolicyUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockPolicyUpdater) UpdatePolicy ¶
func (m *MockPolicyUpdater) UpdatePolicy(contextID string, policy *policy.PUPolicy) error
UpdatePolicy mocks base method nolint
type MockPolicyUpdaterMockRecorder ¶
type MockPolicyUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockPolicyUpdaterMockRecorder is the mock recorder for MockPolicyUpdater nolint
func (*MockPolicyUpdaterMockRecorder) UpdatePolicy ¶
func (mr *MockPolicyUpdaterMockRecorder) UpdatePolicy(contextID, policy interface{}) *gomock.Call
UpdatePolicy indicates an expected call of UpdatePolicy nolint
type MockSecretsUpdater ¶
type MockSecretsUpdater struct {
// contains filtered or unexported fields
}
MockSecretsUpdater is a mock of SecretsUpdater interface nolint
func NewMockSecretsUpdater ¶
func NewMockSecretsUpdater(ctrl *gomock.Controller) *MockSecretsUpdater
NewMockSecretsUpdater creates a new mock instance nolint
func (*MockSecretsUpdater) EXPECT ¶
func (m *MockSecretsUpdater) EXPECT() *MockSecretsUpdaterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockSecretsUpdater) UpdateSecrets ¶
func (m *MockSecretsUpdater) UpdateSecrets(secrets secrets.Secrets) error
UpdateSecrets mocks base method nolint
type MockSecretsUpdaterMockRecorder ¶
type MockSecretsUpdaterMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretsUpdaterMockRecorder is the mock recorder for MockSecretsUpdater nolint
func (*MockSecretsUpdaterMockRecorder) UpdateSecrets ¶
func (mr *MockSecretsUpdaterMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call
UpdateSecrets indicates an expected call of UpdateSecrets nolint
type MockTrireme ¶
type MockTrireme struct {
// contains filtered or unexported fields
}
MockTrireme is a mock of Trireme interface nolint
func NewMockTrireme ¶
func NewMockTrireme(ctrl *gomock.Controller) *MockTrireme
NewMockTrireme creates a new mock instance nolint
func (*MockTrireme) CreatePURuntime ¶
func (m *MockTrireme) CreatePURuntime(contextID string, runtimeInfo *policy.PURuntime) error
CreatePURuntime mocks base method nolint
func (*MockTrireme) EXPECT ¶
func (m *MockTrireme) EXPECT() *MockTriremeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockTrireme) HandlePUEvent ¶
func (m *MockTrireme) HandlePUEvent(contextID string, event events.Event) error
HandlePUEvent mocks base method nolint
func (*MockTrireme) PURuntime ¶
func (m *MockTrireme) PURuntime(contextID string) (policy.RuntimeReader, error)
PURuntime mocks base method nolint
func (*MockTrireme) Supervisor ¶
func (m *MockTrireme) Supervisor(kind constants.PUType) supervisor.Supervisor
Supervisor mocks base method nolint
func (*MockTrireme) UpdatePolicy ¶
func (m *MockTrireme) UpdatePolicy(contextID string, policy *policy.PUPolicy) error
UpdatePolicy mocks base method nolint
func (*MockTrireme) UpdateSecrets ¶
func (m *MockTrireme) UpdateSecrets(secrets secrets.Secrets) error
UpdateSecrets mocks base method nolint
type MockTriremeMockRecorder ¶
type MockTriremeMockRecorder struct {
// contains filtered or unexported fields
}
MockTriremeMockRecorder is the mock recorder for MockTrireme nolint
func (*MockTriremeMockRecorder) CreatePURuntime ¶
func (mr *MockTriremeMockRecorder) CreatePURuntime(contextID, runtimeInfo interface{}) *gomock.Call
CreatePURuntime indicates an expected call of CreatePURuntime nolint
func (*MockTriremeMockRecorder) HandlePUEvent ¶
func (mr *MockTriremeMockRecorder) HandlePUEvent(contextID, event interface{}) *gomock.Call
HandlePUEvent indicates an expected call of HandlePUEvent nolint
func (*MockTriremeMockRecorder) PURuntime ¶
func (mr *MockTriremeMockRecorder) PURuntime(contextID interface{}) *gomock.Call
PURuntime indicates an expected call of PURuntime nolint
func (*MockTriremeMockRecorder) Start ¶
func (mr *MockTriremeMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start nolint
func (*MockTriremeMockRecorder) Stop ¶
func (mr *MockTriremeMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop nolint
func (*MockTriremeMockRecorder) Supervisor ¶
func (mr *MockTriremeMockRecorder) Supervisor(kind interface{}) *gomock.Call
Supervisor indicates an expected call of Supervisor nolint
func (*MockTriremeMockRecorder) UpdatePolicy ¶
func (mr *MockTriremeMockRecorder) UpdatePolicy(contextID, policy interface{}) *gomock.Call
UpdatePolicy indicates an expected call of UpdatePolicy nolint
func (*MockTriremeMockRecorder) UpdateSecrets ¶
func (mr *MockTriremeMockRecorder) UpdateSecrets(secrets interface{}) *gomock.Call
UpdateSecrets indicates an expected call of UpdateSecrets nolint