helper

package
v0.2.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersionFromYaml

func GetVersionFromYaml(filePath string) (string, error)

func Run added in v0.2.1

func Run(logger logging.Logger, cmd exec.Cmd) error

func StructToYaml

func StructToYaml(struc interface{}, path string) error

func YamlToStruct

func YamlToStruct(path string, struc interface{}) error

Types

type Resource

type Resource struct {
	Kind       string `yaml:"kind"`
	ApiVersion string `yaml:"apiVersion"`
}

Jump to

Keyboard shortcuts

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