gardener: Index | Files

package extensions

import ""


Package Files


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 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 6 packages (graph) and is imported by 3 packages. Updated 2020-02-20. Refresh now. Tools for package owners.