utils

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorString

func ColorString(colorToPrint, messageToPrint string) string

ColorString colors a string with color of choice

func GetDir

func GetDir(dirToGet string) string

GetDir gets diretory by name

Types

type DuplicaPodIPError

type DuplicaPodIPError struct {
	// contains filtered or unexported fields
}

DuplicaPodIPError error for duplicate pod

func NewDuplicaPodIPError

func NewDuplicaPodIPError(message string) *DuplicaPodIPError

NewDuplicaPodIPError creates a new duplicateIPError

func (*DuplicaPodIPError) Error

func (e *DuplicaPodIPError) Error() string

type DuplicaServiceIPError

type DuplicaServiceIPError struct {
	// contains filtered or unexported fields
}

DuplicaServiceIPError error for duplicate service Error

func NewDuplicaServiceIPError

func NewDuplicaServiceIPError(message string) *DuplicaServiceIPError

NewDuplicaServiceIPError creates a new duplicateIPError

func (*DuplicaServiceIPError) Error

func (e *DuplicaServiceIPError) Error() string

Jump to

Keyboard shortcuts

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