package
0.0.0-20240830210906-6353a5ff0f2e
Repository: https://github.com/joyrex2001/kubedock.git
Documentation: pkg.go.dev
# Functions
ContainerCreate - create a container.
ContainerDelete - remove a container.
ContainerInfo - return low-level information about a container.
ContainerList - returns a list of containers.
ContainerWait - Block until a container stops, then returns the exit code.
Events - Stream real-time events from the server.
ImageCreate - create an image.
ImagesPrune - Delete unused images.
Info - get system information.
NetworksConnect - connect a container to a network.
NetworksCreate - create a network.
NetworksDelete - remove a network.
NetworksDisconnect - connect a container to a network.
NetworksInfo - inspect a network.
NetworksList - list networks.
NetworksPrune - delete unused networks.
Ping - dummy endpoint you can use to test if the server is accessible.
Version - get version.
VolumesPrune - Delete unused volumes.
# Structs
ContainerCreateRequest represents the json structure that is used for the /container/create post endpoint.
EndpointConfig contains information about network endpoints.
HostConfig contains to be mounted files from the host system.
Mount contains information about mounted volumes/bindings.
NetworkConfig contains network configuration.
NetworkConnectRequest represents the json structure that is used for the /networks/:id/connect post endpoint.
NetworkCreateRequest represents the json structure that is used for the /networks/create post endpoint.
NetworkDisconnectRequest represents the json structure that is used for the /networks/:id/disconnect post endpoint.
NetworkingConfig contains network configuration.
PortBinding represents a binding between to a port.