Documentation ¶
Index ¶
- func DecodeResMapIntoList(decoder runtime.Decoder, resMap resmap.ResMap, into runtime.Object) error
- func DecodeResMapObjects(deccoder runtime.Decoder, resMap resmap.ResMap) ([]runtime.Object, error)
- func DecodeResMapUnstructureds(resMap resmap.ResMap) ([]unstructured.Unstructured, error)
- func DecodeResource(decoder runtime.Decoder, res *resource.Resource, ...) (runtime.Object, *schema.GroupVersionKind, error)
- func RunKustomize(dir string) (resmap.ResMap, error)
- func RunKustomizeIntoList(dir string, decoder runtime.Decoder, into runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeResMapIntoList ¶
DecodeResMapIntoList decodes a resmap.ResMap into a list represented by runtime.Object.
func DecodeResMapObjects ¶
DecodeResMapObjects decodes the resmap.ResMap objects into a slice of runtime.Object.
func DecodeResMapUnstructureds ¶
func DecodeResMapUnstructureds(resMap resmap.ResMap) ([]unstructured.Unstructured, error)
DecodeResMapUnstructureds decodes a resmap.ResMap into a slice of unstructured.Unstructured.
func DecodeResource ¶
func DecodeResource(decoder runtime.Decoder, res *resource.Resource, defaults *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error)
DecodeResource decodes a resource.Resource into a given runtime.Object, if given. Shorthand for resource.Resource.MarshalJSON + runtime.Codec.Decode.
func RunKustomize ¶
RunKustomize is a shorthand for running kustomize in a target directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.