utils

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvMap

func EnvMap(environ []string) map[string]string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL