Documentation
¶
Index ¶
- type Throttler
- func (_m *Throttler) Add(key string, priority int32, creationTime time.Time)
- func (_m *Throttler) Admit(key string) bool
- func (_m *Throttler) Init(wfs []v1alpha1.Workflow) error
- func (_m *Throttler) Remove(key string)
- func (_m *Throttler) ResetNamespaceParallelism(namespace string)
- func (_m *Throttler) UpdateNamespaceParallelism(namespace string, limit int)
- func (_m *Throttler) UpdateParallelism(limit int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Throttler ¶
Throttler is an autogenerated mock type for the Throttler type
func NewThrottler ¶ added in v3.4.8
NewThrottler creates a new instance of Throttler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Throttler) ResetNamespaceParallelism ¶ added in v3.7.0
ResetNamespaceParallelism provides a mock function with given fields: namespace
func (*Throttler) UpdateNamespaceParallelism ¶ added in v3.7.0
UpdateNamespaceParallelism provides a mock function with given fields: namespace, limit
func (*Throttler) UpdateParallelism ¶ added in v3.7.0
UpdateParallelism provides a mock function with given fields: limit
Click to show internal directories.
Click to hide internal directories.