Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustLoadState ¶
func MustLoadState(path string) *unstructured.Unstructured
MustLoadState loads a JSON-encoded k8s event from the specified path, and returns a corresponding Unstructured object. This function is intended to be used with vetted test data and will panic on error.
func MustLoadWorkflow ¶
func MustLoadWorkflow(path string) []*unstructured.Unstructured
MustLoadWorkflow loads a JSON array of k8s events from the specified path, and returns a corresponding slice of Unstructured objects. This function is intended to be used with vetted test data and will panic on error. Note: The test data can be produced with the `kubespy record` command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.