extensions

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accessor

func Accessor(obj runtime.Object) (extensionsv1alpha1.Object, error)

Accessor tries to create an extensionsv1alpha1.Object from the given runtime.Object.

If the given object already implements object, it is returned as-is. If the object is unstructured, an unstructured accessor is returned that retrieves values on a best-effort basis. Otherwise, an error with the type of the object is returned.

func GetShootCRsLists added in v1.5.0

func GetShootCRsLists() []runtime.Object

GetShootCRsLists returns an empty CR list struct, for each CR used for Shoot managment

func UnstructuredAccessor

func UnstructuredAccessor(u *unstructured.Unstructured) extensionsv1alpha1.Object

UnstructuredAccessor is an Object that retrieves values on a best-effort basis. If values don't exist, it usually returns the zero value of them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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