Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuiltInScheme *runtime.Scheme
Functions ¶
func MustLoadState ¶
func MustLoadState(jsonString []byte) *unstructured.Unstructured
MustLoadState loads a JSON-encoded k8s event from the provided string, 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(jsonString []byte) []*unstructured.Unstructured
MustLoadWorkflow loads a JSON array of k8s events from the provided string, 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.