util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteArrayItem

func DeleteArrayItem(item string, list []string)

func DiffArray

func DiffArray(a []string, b []string) []string

func GetObjectGvr

func GetObjectGvr(restMapper meta.RESTMapper, obj interface{}) schema.GroupVersionResource

func InArray

func InArray(needle interface{}, haystack interface{}) bool

func Intersect

func Intersect(a []string, b []string) []string

func JsonMarshalInterfaceToIOReader

func JsonMarshalInterfaceToIOReader(data interface{}) (io.Reader, error)

func PanicTrace

func PanicTrace()

Types

This section is empty.

Jump to

Keyboard shortcuts

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