Documentation ¶
Overview ¶
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
Index ¶
- type MockEntityMatcher
- func (m *MockEntityMatcher) EXPECT() *MockEntityMatcherMockRecorder
- func (m *MockEntityMatcher) Match(ctx context.Context, entityID, filter string) (bool, error)
- func (m *MockEntityMatcher) MatchAll(ctx context.Context, entityID string, filters map[string]string) (map[string]bool, error)
- func (m *MockEntityMatcher) MatchForAll(ctx context.Context, entityIDs []string, filters map[string]string) (map[string][]string, error)
- type MockEntityMatcherMockRecorder
- type MockEventManager
- type MockEventManagerMockRecorder
- type MockModelProvider
- func (m *MockModelProvider) EXPECT() *MockModelProviderMockRecorder
- func (m *MockModelProvider) GetEnabledPbehavior(ctx context.Context, id string) (*pbehavior.PBehavior, error)
- func (m *MockModelProvider) GetEnabledPbehaviors(ctx context.Context) (map[string]*pbehavior.PBehavior, error)
- func (m *MockModelProvider) GetExceptions(ctx context.Context) (map[string]*pbehavior.Exception, error)
- func (m *MockModelProvider) GetReasons(ctx context.Context) (map[string]*pbehavior.Reason, error)
- func (m *MockModelProvider) GetTypes(ctx context.Context) (map[string]*pbehavior.Type, error)
- type MockModelProviderMockRecorder
- func (mr *MockModelProviderMockRecorder) GetEnabledPbehavior(ctx, id interface{}) *gomock.Call
- func (mr *MockModelProviderMockRecorder) GetEnabledPbehaviors(ctx interface{}) *gomock.Call
- func (mr *MockModelProviderMockRecorder) GetExceptions(ctx interface{}) *gomock.Call
- func (mr *MockModelProviderMockRecorder) GetReasons(ctx interface{}) *gomock.Call
- func (mr *MockModelProviderMockRecorder) GetTypes(ctx interface{}) *gomock.Call
- type MockService
- func (m *MockService) Compute(arg0 context.Context, arg1 timespan.Span) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetPbehaviorStatus(arg0 context.Context, arg1 []string, arg2 time.Time) (map[string]bool, error)
- func (m *MockService) GetSpan() timespan.Span
- func (m *MockService) Recompute(arg0 context.Context, arg1 string) error
- func (m *MockService) Resolve(arg0 context.Context, arg1 *types.Entity, arg2 time.Time) (pbehavior.ResolveResult, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Compute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetPbehaviorStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) GetSpan() *gomock.Call
- func (mr *MockServiceMockRecorder) Recompute(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEntityMatcher ¶
type MockEntityMatcher struct {
// contains filtered or unexported fields
}
MockEntityMatcher is a mock of EntityMatcher interface
func NewMockEntityMatcher ¶
func NewMockEntityMatcher(ctrl *gomock.Controller) *MockEntityMatcher
NewMockEntityMatcher creates a new mock instance
func (*MockEntityMatcher) EXPECT ¶
func (m *MockEntityMatcher) EXPECT() *MockEntityMatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockEntityMatcherMockRecorder ¶
type MockEntityMatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockEntityMatcherMockRecorder is the mock recorder for MockEntityMatcher
func (*MockEntityMatcherMockRecorder) Match ¶
func (mr *MockEntityMatcherMockRecorder) Match(ctx, entityID, filter interface{}) *gomock.Call
Match indicates an expected call of Match
func (*MockEntityMatcherMockRecorder) MatchAll ¶
func (mr *MockEntityMatcherMockRecorder) MatchAll(ctx, entityID, filters interface{}) *gomock.Call
MatchAll indicates an expected call of MatchAll
func (*MockEntityMatcherMockRecorder) MatchForAll ¶
func (mr *MockEntityMatcherMockRecorder) MatchForAll(ctx, entityIDs, filters interface{}) *gomock.Call
MatchForAll indicates an expected call of MatchForAll
type MockEventManager ¶
type MockEventManager struct {
// contains filtered or unexported fields
}
MockEventManager is a mock of EventManager interface
func NewMockEventManager ¶
func NewMockEventManager(ctrl *gomock.Controller) *MockEventManager
NewMockEventManager creates a new mock instance
func (*MockEventManager) EXPECT ¶
func (m *MockEventManager) EXPECT() *MockEventManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockEventManagerMockRecorder ¶
type MockEventManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockEventManagerMockRecorder is the mock recorder for MockEventManager
func (*MockEventManagerMockRecorder) GetEvent ¶
func (mr *MockEventManagerMockRecorder) GetEvent(arg0, arg1, arg2 interface{}) *gomock.Call
GetEvent indicates an expected call of GetEvent
type MockModelProvider ¶
type MockModelProvider struct {
// contains filtered or unexported fields
}
MockModelProvider is a mock of ModelProvider interface
func NewMockModelProvider ¶
func NewMockModelProvider(ctrl *gomock.Controller) *MockModelProvider
NewMockModelProvider creates a new mock instance
func (*MockModelProvider) EXPECT ¶
func (m *MockModelProvider) EXPECT() *MockModelProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockModelProvider) GetEnabledPbehavior ¶
func (m *MockModelProvider) GetEnabledPbehavior(ctx context.Context, id string) (*pbehavior.PBehavior, error)
GetEnabledPbehavior mocks base method
func (*MockModelProvider) GetEnabledPbehaviors ¶
func (m *MockModelProvider) GetEnabledPbehaviors(ctx context.Context) (map[string]*pbehavior.PBehavior, error)
GetEnabledPbehaviors mocks base method
func (*MockModelProvider) GetExceptions ¶
func (m *MockModelProvider) GetExceptions(ctx context.Context) (map[string]*pbehavior.Exception, error)
GetExceptions mocks base method
func (*MockModelProvider) GetReasons ¶
GetReasons mocks base method
type MockModelProviderMockRecorder ¶
type MockModelProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockModelProviderMockRecorder is the mock recorder for MockModelProvider
func (*MockModelProviderMockRecorder) GetEnabledPbehavior ¶
func (mr *MockModelProviderMockRecorder) GetEnabledPbehavior(ctx, id interface{}) *gomock.Call
GetEnabledPbehavior indicates an expected call of GetEnabledPbehavior
func (*MockModelProviderMockRecorder) GetEnabledPbehaviors ¶
func (mr *MockModelProviderMockRecorder) GetEnabledPbehaviors(ctx interface{}) *gomock.Call
GetEnabledPbehaviors indicates an expected call of GetEnabledPbehaviors
func (*MockModelProviderMockRecorder) GetExceptions ¶
func (mr *MockModelProviderMockRecorder) GetExceptions(ctx interface{}) *gomock.Call
GetExceptions indicates an expected call of GetExceptions
func (*MockModelProviderMockRecorder) GetReasons ¶
func (mr *MockModelProviderMockRecorder) GetReasons(ctx interface{}) *gomock.Call
GetReasons indicates an expected call of GetReasons
func (*MockModelProviderMockRecorder) GetTypes ¶
func (mr *MockModelProviderMockRecorder) GetTypes(ctx interface{}) *gomock.Call
GetTypes indicates an expected call of GetTypes
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetPbehaviorStatus ¶
func (m *MockService) GetPbehaviorStatus(arg0 context.Context, arg1 []string, arg2 time.Time) (map[string]bool, error)
GetPbehaviorStatus mocks base method
func (*MockService) GetSpan ¶
func (m *MockService) GetSpan() timespan.Span
GetSpan mocks base method
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) Compute ¶
func (mr *MockServiceMockRecorder) Compute(arg0, arg1 interface{}) *gomock.Call
Compute indicates an expected call of Compute
func (*MockServiceMockRecorder) GetPbehaviorStatus ¶
func (mr *MockServiceMockRecorder) GetPbehaviorStatus(arg0, arg1, arg2 interface{}) *gomock.Call
GetPbehaviorStatus indicates an expected call of GetPbehaviorStatus
func (*MockServiceMockRecorder) GetSpan ¶
func (mr *MockServiceMockRecorder) GetSpan() *gomock.Call
GetSpan indicates an expected call of GetSpan
func (*MockServiceMockRecorder) Recompute ¶
func (mr *MockServiceMockRecorder) Recompute(arg0, arg1 interface{}) *gomock.Call
Recompute indicates an expected call of Recompute
func (*MockServiceMockRecorder) Resolve ¶
func (mr *MockServiceMockRecorder) Resolve(arg0, arg1, arg2 interface{}) *gomock.Call
Resolve indicates an expected call of Resolve