gardener: Index | Files

package extensions

import ""


Package Files

accessor.go utils.go

func Accessor Uses

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 GetShootNamespacedCRsLists Uses

func GetShootNamespacedCRsLists() []runtime.Object

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

func UnstructuredAccessor Uses

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.

Package extensions imports 5 packages (graph) and is imported by 8 packages. Updated 2020-09-25. Refresh now. Tools for package owners.