tools

package
v0.0.0-...-376d4f4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanContainer

func CleanContainer(cli *client.Client, containerID string)

CleanContainer

func GetFilePath

func GetFilePath(dir string, filename string) string

GetFilePath

func ImagePull

func ImagePull(cli *client.Client, nodeImage string)

ImagePull

func SetupEndHandler

func SetupEndHandler(cli *client.Client, containerID string)

SetupEndHandler

func ShowContainerLog

func ShowContainerLog(cli *client.Client, containerID string)

ShowContainerLog output all container log

Types

type ContainerOptions

type ContainerOptions struct {
	Image        string
	ImageVersion string
	Cmd          strslice.StrSlice
}

ContainerOptions

Jump to

Keyboard shortcuts

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