Documentation ¶
Index ¶
- func CoreV1ObjectFromJSON(t *testing.T, doc string) runtime.Object
- func FakeClusterRole() *rbacv1.ClusterRole
- func StewardObjectFromJSON(t *testing.T, doc string) runtime.Object
- func TektonObjectFromJSON(t *testing.T, doc string) runtime.Object
- func TimeEqual(expectedAsRFC3339 string, actual metav1.Time) cmp.Comparison
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoreV1ObjectFromJSON ¶
CoreV1ObjectFromJSON decodes a Kubernetes Core v1 object from its JSON representation. Panics in case of errors.
func FakeClusterRole ¶
func FakeClusterRole() *rbacv1.ClusterRole
FakeClusterRole creates a fake role for testing
func StewardObjectFromJSON ¶
StewardObjectFromJSON decodes a Steward object from its JSON representation. Panics in case of errors.
func TektonObjectFromJSON ¶
TektonObjectFromJSON decodes a Tekton Pipeline object from its JSON representation. Panics in case of errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.