Documentation ¶
Index ¶
- type MockAvailablePlugin
- func (m MockAvailablePlugin) CacheTTL() time.Duration
- func (m MockAvailablePlugin) CheckHealth()
- func (m MockAvailablePlugin) ConcurrencyCount() int
- func (m MockAvailablePlugin) Exclusive() bool
- func (m MockAvailablePlugin) HitCount() int
- func (m MockAvailablePlugin) ID() uint32
- func (m MockAvailablePlugin) Kill(string) error
- func (m MockAvailablePlugin) LastHit() time.Time
- func (m MockAvailablePlugin) Name() string
- func (m MockAvailablePlugin) RoutingStrategy() plugin.RoutingStrategyType
- func (m MockAvailablePlugin) SetID(id uint32)
- func (m MockAvailablePlugin) Stop(string) error
- func (m MockAvailablePlugin) String() string
- func (m MockAvailablePlugin) Type() plugin.PluginType
- func (m MockAvailablePlugin) TypeName() string
- func (m MockAvailablePlugin) Version() int
- func (m *MockAvailablePlugin) WithConCount(count int) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithExclusive(excl bool) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithHitCount(count int) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithID(id uint32) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithLastHit(last time.Time) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithName(name string) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithPluginType(plgType plugin.PluginType) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithStrategy(strategy plugin.RoutingStrategyType) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithTTL(ttl time.Duration) *MockAvailablePlugin
- func (m *MockAvailablePlugin) WithVersion(ver int) *MockAvailablePlugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAvailablePlugin ¶
type MockAvailablePlugin struct {
// contains filtered or unexported fields
}
func NewMockAvailablePlugin ¶
func NewMockAvailablePlugin() *MockAvailablePlugin
func (MockAvailablePlugin) CacheTTL ¶
func (m MockAvailablePlugin) CacheTTL() time.Duration
func (MockAvailablePlugin) CheckHealth ¶
func (m MockAvailablePlugin) CheckHealth()
func (MockAvailablePlugin) ConcurrencyCount ¶
func (m MockAvailablePlugin) ConcurrencyCount() int
func (MockAvailablePlugin) Exclusive ¶
func (m MockAvailablePlugin) Exclusive() bool
func (MockAvailablePlugin) HitCount ¶
func (m MockAvailablePlugin) HitCount() int
func (MockAvailablePlugin) ID ¶
func (m MockAvailablePlugin) ID() uint32
func (MockAvailablePlugin) Kill ¶
func (m MockAvailablePlugin) Kill(string) error
func (MockAvailablePlugin) LastHit ¶
func (m MockAvailablePlugin) LastHit() time.Time
func (MockAvailablePlugin) Name ¶
func (m MockAvailablePlugin) Name() string
func (MockAvailablePlugin) RoutingStrategy ¶
func (m MockAvailablePlugin) RoutingStrategy() plugin.RoutingStrategyType
func (MockAvailablePlugin) SetID ¶
func (m MockAvailablePlugin) SetID(id uint32)
func (MockAvailablePlugin) Stop ¶
func (m MockAvailablePlugin) Stop(string) error
func (MockAvailablePlugin) String ¶
func (m MockAvailablePlugin) String() string
func (MockAvailablePlugin) Type ¶
func (m MockAvailablePlugin) Type() plugin.PluginType
func (MockAvailablePlugin) TypeName ¶
func (m MockAvailablePlugin) TypeName() string
func (MockAvailablePlugin) Version ¶
func (m MockAvailablePlugin) Version() int
func (*MockAvailablePlugin) WithConCount ¶
func (m *MockAvailablePlugin) WithConCount(count int) *MockAvailablePlugin
func (*MockAvailablePlugin) WithExclusive ¶
func (m *MockAvailablePlugin) WithExclusive(excl bool) *MockAvailablePlugin
func (*MockAvailablePlugin) WithHitCount ¶
func (m *MockAvailablePlugin) WithHitCount(count int) *MockAvailablePlugin
func (*MockAvailablePlugin) WithID ¶
func (m *MockAvailablePlugin) WithID(id uint32) *MockAvailablePlugin
func (*MockAvailablePlugin) WithLastHit ¶
func (m *MockAvailablePlugin) WithLastHit(last time.Time) *MockAvailablePlugin
func (*MockAvailablePlugin) WithName ¶
func (m *MockAvailablePlugin) WithName(name string) *MockAvailablePlugin
func (*MockAvailablePlugin) WithPluginType ¶
func (m *MockAvailablePlugin) WithPluginType(plgType plugin.PluginType) *MockAvailablePlugin
func (*MockAvailablePlugin) WithStrategy ¶
func (m *MockAvailablePlugin) WithStrategy(strategy plugin.RoutingStrategyType) *MockAvailablePlugin
func (*MockAvailablePlugin) WithTTL ¶
func (m *MockAvailablePlugin) WithTTL(ttl time.Duration) *MockAvailablePlugin
func (*MockAvailablePlugin) WithVersion ¶
func (m *MockAvailablePlugin) WithVersion(ver int) *MockAvailablePlugin
Click to show internal directories.
Click to hide internal directories.