Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONEncodeBytes ¶
func JSONEncodeBytes(b []byte) (*apiextensionsv1.JSON, error)
JSONEncodeBytes encodes the given byte slice to a JSON byte slice.
func MustJSONEncodeBytes ¶
func MustJSONEncodeBytes(t *testing.T, b []byte) *apiextensionsv1.JSON
MustJSONEncodeBytes is like JSONEncodeBytes but expects a testing.T instance as the first argument.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.