utils

package
v0.0.0-...-3c85401 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExistsError

func CheckExistsError(err error) error

func GetAppInfo

func GetAppInfo(containerName string) (name, entrypoint, ident string, err error)

func MakeDockerClient

func MakeDockerClient(config *types.Config) (*engineapi.Client, error)

func RandStringRunes

func RandStringRunes(n int) string

func WritePid

func WritePid(path string)

Types

type HashBackends

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

func NewHashBackends

func NewHashBackends(data []string) *HashBackends

func (*HashBackends) Get

func (self *HashBackends) Get(v string, offset int) string

func (*HashBackends) Len

func (self *HashBackends) Len() int

Jump to

Keyboard shortcuts

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