docker

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateDirSize

func CalculateDirSize(path string) (int64, error)

func CreateVolume

func CreateVolume(volumeName string) error

func InitDockerClient

func InitDockerClient() error

func ListVolumes

func ListVolumes() (string, error)

func PullImage

func PullImage(image string) error

func RemoveVolume

func RemoveVolume(volumeName string) (bool, error)

Types

type VolumeDetails

type VolumeDetails struct {
	Name        string
	Size        int
	Mountpoint  string
	DateCreated string
}

func ListVolumeDetails

func ListVolumeDetails(network string) (*VolumeDetails, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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