resources

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 20 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJSONPathString

func GetJSONPathString(obj interface{}, path string) (string, error)

GetJSONPathString extracts the value from the object using given JsonPath template, in a string format

func GetJSONPathValue

func GetJSONPathValue(obj interface{}, path string, allowMissingKeys bool) (interface{}, error)

GetJSONPathValue extracts the value from the object using given JsonPath template

func HasFinalizer

func HasFinalizer(accessor meta_v1.Object, finalizer string) bool

func IsCrdConditionPresentAndEqual

IsCrdConditionPresentAndEqual indicates if the condition is present and equal to the arg

func IsCrdConditionTrue

IsCrdConditionTrue indicates if the condition is present and strictly true

func IsEqualCrd

func IsEqualCrd(a, b *apiext_v1b1.CustomResourceDefinition) bool

func PrintCleanedObject

func PrintCleanedObject(sink io.Writer, format string, obj runtime.Object) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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