# Functions
CallWithBackOff uses wait.ExponentialBackoffWithContext with default retry this function should be used to update or patch object.
CopyDir copies a dir recursively.
CopyFile copies a file.
No description provided by the author
EnsureRequest will try to add run request annotation with back-off.
GetConfigMaps will use PollUntilContextTimeout to get requested ConfigMaps.
GetModule will use PollUntilContextTimeout to get requested module.
GetSecret will use PollUntilContextTimeout to get requested secret.
No description provided by the author
NewMockRedisInterface creates a new mock instance.
No description provided by the author
No description provided by the author
PatchModuleStatus will re-try patching with back-off.
CallWithBackOff uses wait.PollUntilContextTimeout to retry this function should be used to get object.
RemoveAll will remove given dir and sub dir recursively using exec 'rm -rf' given dir path should be absolute.
RemoveDirContentsIf iterated the specified dir and removes entries if given function returns true for the given entry.
No description provided by the author
RemoveRequest will try to remove given run request it will error if given request id doesn't match existing pending request ID.
# Variables
No description provided by the author
No description provided by the author
# Structs
Clock implements ClockInterface with the standard time library functions.
Used for testing purpose.
MockRedisInterface is a mock of RedisInterface interface.
MockRedisInterfaceMockRecorder is the mock recorder for MockRedisInterface.
No description provided by the author
RunStatus is the Map with Lock so its safe for concurrent use sync.Map is not used as it doesn't have Len() function and normal map with lock will do for our limited use case.
# Interfaces
ClockInterface allows for mocking out the functionality of the standard time library when testing.
RedisInterface allows for mocking out the functionality of DB when testing.