Documentation
¶
Index ¶
- type DockerCommonClient
- func (common *DockerCommonClient) Close() error
- func (common *DockerCommonClient) GetSidecars(containerName string) ([]commonModel.SidecarInfo, error)
- func (common *DockerCommonClient) PullImageOffline(imageName string, onImagePullCallback func()) error
- func (common *DockerCommonClient) StartSidecarVpn(mainContainerName string, vpnInfo *commonModel.VpnNetworkInfo, ...) (string, error)
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)
Click to show internal directories.
Click to hide internal directories.