docker

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContext

func CreateContext(name, dockerHost string) error

CreateContext will create a new docker context

func DeleteContext

func DeleteContext(name string) error

DeleteContext deletes a docker context

func ExistsContext

func ExistsContext(name string) (bool, error)

ExistsContext returns true if the given context already exists

func NetworkInspect

func NetworkInspect(network, format string) (string, error)

NetworkInsepct will inspect a docker network and will return the response as per the format string

func UseContext

func UseContext(name string) error

UseContext sets the given context as the default context

Types

This section is empty.

Jump to

Keyboard shortcuts

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