deploy

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllFilesNeeded = func(path string) bool {
		return true
	}
)

Functions

func FileExist

func FileExist(path string) bool

func GetControlPlaneEndpoint

func GetControlPlaneEndpoint(clusterConfig *pb.ClusterConfig, masterNodes []*pb.Node) (addr string, err error)

GetControlPlaneEndpoint return control plane endpoint address

func PBErrLogger

func PBErrLogger(pbErr *pb.Error, entry *logrus.Entry) *logrus.Entry

PBErrLogger creates a new logging entry with the content of a pb.Error added as struct info, the new entry is set based on the passed in logging entry.

func ReturnWithUnit

func ReturnWithUnit(size float64) (valueWithUnit string)

return size with unit

Types

This section is empty.

Directories

Path Synopsis
ssh
Package protos is a generated protocol buffer package.
Package protos is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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