util

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPbContainer added in v0.1.6

func ConvertPbContainer(c *pb.Container) types.Container

ConvertTpContainer *pb.Container -> types.Container

func ConvertTpContainer added in v0.1.6

func ConvertTpContainer(c types.Container) *pb.Container

ConvertTpContainer types.Container -> *pb.Container

func DockerCliPath added in v0.1.8

func DockerCliPath() string

func EnvVars added in v0.1.8

func EnvVars(e string) []string

func HomeDIR added in v0.1.4

func HomeDIR() string

func ID added in v0.2.1

func ID(salt string) string

ID returns a base64 encoded id

func KubeConfigPath added in v0.1.8

func KubeConfigPath() string

func NopRWCloser added in v0.2.1

func NopRWCloser(r io.ReadCloser) io.ReadWriteCloser

func WaitSignals added in v0.1.8

func WaitSignals(errs chan error, cancel context.CancelFunc, gracefullCancel context.CancelFunc) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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