util

package
v0.0.0-...-87ef7df Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectFromFile

func ObjectFromFile(filename string, destination interface{}) error

ObjectFromFile creates a kubernetes object from a yaml file.

func ObjectFromTemplate

func ObjectFromTemplate(source interface{}, destination interface{}, templateFile string, funcMap template.FuncMap) error

ObjectFromTemplate executes Go template with given source object and parses the result into the destination object structure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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