component

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmpty

func CreateEmpty(name string, ctype string) (string, error)

func CreateFromDir

func CreateFromDir(name string, ctype, dir string) (string, error)

func CreateFromGit

func CreateFromGit(name string, ctype string, url string) (string, error)

func Delete

func Delete(name string) (string, error)

Delete whole component

func GetCurrent

func GetCurrent() (string, error)

GetCurrent component in active application returns "" if there is no active component

func GetLabels added in v0.0.2

func GetLabels(componentName string, additional bool) (map[string]string, error)

GetLabels return labels that should be applied to every object for given component in active application additional labels are used only for creating object if you are creating something use additional=true if you need labels to filter component that use additional=false

func Push

func Push(name string, dir string) (string, error)

func SetCurrent

func SetCurrent(name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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