resources

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleCrd

func EnsureCrdExists

func EnsureCrdExistsAndIsEstablished

func EnsureCrdExistsAndIsEstablished(ctx context.Context, scheme *runtime.Scheme, clientset crdClientset.Interface, crdLister apiext_lst_v1b1.CustomResourceDefinitionLister, crd *apiext_v1b1.CustomResourceDefinition) error

func GetControllerOf

func GetControllerOf(controllee meta_v1.Object) *meta_v1.OwnerReference

GetControllerOf returns the controllerRef if controllee has a controller, otherwise returns nil.

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 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, scheme *runtime.Scheme) bool

func WaitForCrdToBecomeEstablished

Types

This section is empty.

Jump to

Keyboard shortcuts

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