util

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdUsageTemplate = `` /* 946-byte string literal not displayed */

Functions

func CheckError

func CheckError(err error, context string, a ...interface{})

CheckError prints the cause of the given error and exits the code with an exit code of 1. If the context is provided, then that is printed, if not, then the cause is detected using errors.Cause(err)

func PrintComponentInfo added in v0.0.17

func PrintComponentInfo(currentComponentName string, componentDesc component.Description)

PrintComponentInfo prints Component Information like path, URL & storage

func ValidateName added in v0.0.17

func ValidateName(name string) error

ValidateName will do validation of application & component names Criteria for valid name in kubernetes: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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