GO-2024-3303 : Argo Workflows Allows Access to Archived Workflows with Fake Token in `client` mode in github.com/argoproj/argo-workflows
Discover Packages
github.com/argoproj/argo-workflows/v3
workflow
sync
mocks
package
Version:
v3.6.1
Opens a new window with list of versions in this module.
Published: Dec 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Throttler is an autogenerated mock type for the Throttler type
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.
Add provides a mock function with given fields: key, priority, creationTime
Admit provides a mock function with given fields: key
Init provides a mock function with given fields: wfs
Remove provides a mock function with given fields: key
Source Files
¶
Click to show internal directories.
Click to hide internal directories.