lib

package
v0.0.0-...-7cc416c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerInfo

func DockerInfo() (types.Info, error)

show the docker information

func ImagePull

func ImagePull(ImageName string) error

Pull Docker Images

func ImageRemove

func ImageRemove(ImageName string, Force bool) error

remove images

func ImagesPrune

func ImagesPrune() (types.ImagesPruneReport, error)

clean the images in the node that can not be used

func ImagesPull

func ImagesPull(images []string)

func ImagesRemove

func ImagesRemove(images []string, force bool)

func ListAllImages

func ListAllImages() ([]types.ImageSummary, error)

List all images

func Parallelize

func Parallelize(workers int, images []string, Do func(string) error)

func SendJoin

func SendJoin()

Send the join package to the master

func SendToken

func SendToken(token string)

Send Token to the master using TLS

func SendUpdate

func SendUpdate()

Update the agent node information

Types

This section is empty.

Jump to

Keyboard shortcuts

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