Documentation ¶
Overview ¶
Package fake provides stubs for testing relevant to the Custom Pod Autoscaler packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Execute ¶
type Execute struct { ExecuteWithValueReactor func(method *config.Method, value string) (string, error) GetTypeReactor func() string }
Execute (fake) allows inserting logic into an executer for testing
func (*Execute) ExecuteWithValue ¶
ExecuteWithValue calls the fake Execute reactor method provided
type ResourceClient ¶ added in v0.9.0
type ResourceClient struct {
GetReactor func(apiVersion string, kind string, name string, namespace string) (metav1.Object, error)
}
ResourceClient (fake) allows inserting logic into a resource client for testing
Click to show internal directories.
Click to hide internal directories.