Documentation ¶
Overview ¶
Package workflowcache is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWFCache ¶ added in v1.2.8
type MockWFCache struct {
// contains filtered or unexported fields
}
MockWFCache is a mock of WFCache interface.
func NewMockWFCache ¶ added in v1.2.8
func NewMockWFCache(ctrl *gomock.Controller) *MockWFCache
NewMockWFCache creates a new mock instance.
func (*MockWFCache) AllowExternal ¶ added in v1.2.8
func (m *MockWFCache) AllowExternal(arg0, arg1 string) bool
AllowExternal mocks base method.
func (*MockWFCache) AllowInternal ¶ added in v1.2.8
func (m *MockWFCache) AllowInternal(arg0, arg1 string) bool
AllowInternal mocks base method.
func (*MockWFCache) EXPECT ¶ added in v1.2.8
func (m *MockWFCache) EXPECT() *MockWFCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWFCacheMockRecorder ¶ added in v1.2.8
type MockWFCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockWFCacheMockRecorder is the mock recorder for MockWFCache.
func (*MockWFCacheMockRecorder) AllowExternal ¶ added in v1.2.8
func (mr *MockWFCacheMockRecorder) AllowExternal(arg0, arg1 interface{}) *gomock.Call
AllowExternal indicates an expected call of AllowExternal.
func (*MockWFCacheMockRecorder) AllowInternal ¶ added in v1.2.8
func (mr *MockWFCacheMockRecorder) AllowInternal(arg0, arg1 interface{}) *gomock.Call
AllowInternal indicates an expected call of AllowInternal.
type Params ¶
type Params struct { TTL time.Duration MaxCount int ExternalLimiterFactory quotas.LimiterFactory InternalLimiterFactory quotas.LimiterFactory WorkflowIDCacheEnabled dynamicconfig.BoolPropertyFnWithDomainFilter DomainCache cache.DomainCache MetricsClient metrics.Client Logger log.Logger }
Params is the parameters for a new WFCache
Click to show internal directories.
Click to hide internal directories.