# Functions
ExpectNormalEventDelivery returns a hook function that can be passed to a Hooks.OnCreate() call to verify that an event of type Normal was created matching the given regular expression.
ExpectWarningEventDelivery returns a hook function that can be passed to a Hooks.OnCreate() call to verify that an event of type Warning was created matching the given regular expression.
InduceFailure is used in conjunction with TableTest's WithReactors field.
KeyOrDie returns the string key of the Kubernetes object or panics if a key cannot be generated.
NewHooks returns a Hooks struct that can be used to attach hooks to one or more fake clients and wait for all hooks to complete.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
HookComplete indicates the hook function completed, and WaitForHooks should not wait for it.
HookIncomplete indicates the hook function is incomplete, and WaitForHooks should wait for it to complete.
# Structs
BuildLister is a lister.BuildLister fake for testing.
ConfigMapLister is a lister.ConfigMapLister fake for testing.
ConfigurationLister is a lister.ConfigurationLister fake for testing.
DeploymentLister is a lister.DeploymentLister fake for testing.
EndpointsLister is a lister.EndpointsLister fake for testing.
Hooks is a utility struct that simplifies controller testing with fake
clients.
K8sServiceLister is a lister.ServiceLister fake for testing.
Listers holds the universe of objects that are available at the start of a reconciliation.
RevisionLister is a lister.RevisionLister fake for testing.
RouteLister is a lister.RouteLister fake for testing.
ServiceLister is a lister.ServiceLister fake for testing.
TableRow holds a single row of our table test.
VirtualServiceLister is a istiolisters.VirtualServiceLister fake for testing.
# Type aliases
CreateHookFunc is a function for handling a Create hook.
No description provided by the author
DeleteHookFunc is a function for handling a delete hook.
HookResult is the return value of hook functions.
No description provided by the author
UpdateHookFunc is a function for handling an update hook.