docker

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerCommonClient

type DockerCommonClient struct {
	Client *docker.DockerClient
	// contains filtered or unexported fields
}

func NewDockerCommonClient

func NewDockerCommonClient(eventBus *event.EventBus, dockerOpts *commonModel.DockerOptions) (*DockerCommonClient, error)

func (*DockerCommonClient) Close

func (common *DockerCommonClient) Close() error

func (*DockerCommonClient) GetSidecars

func (common *DockerCommonClient) GetSidecars(containerName string) ([]commonModel.SidecarInfo, error)

func (*DockerCommonClient) PullImageOffline

func (common *DockerCommonClient) PullImageOffline(imageName string, onImagePullCallback func()) error

func (*DockerCommonClient) StartSidecarVpn

func (common *DockerCommonClient) StartSidecarVpn(mainContainerName string, vpnInfo *commonModel.VpnNetworkInfo, portConfig *docker.ContainerPortConfigOpts) (string, error)

Jump to

Keyboard shortcuts

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