Documentation
¶
Index ¶
- type DockerCommonClient
- func (common *DockerCommonClient) Close() error
- func (common *DockerCommonClient) GetClient() *docker.DockerClient
- func (common *DockerCommonClient) PullImageOffline(imageName string, onImagePullCallback func()) error
- func (common *DockerCommonClient) SidecarList(containerName string) ([]commonModel.SidecarInfo, error)
- func (common *DockerCommonClient) SidecarVpnInject(opts *commonModel.SidecarVpnInjectOpts, ...) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerCommonClient ¶
type DockerCommonClient struct {
// contains filtered or unexported fields
}
func NewDockerCommonClient ¶
func NewDockerCommonClient(dockerOpts *commonModel.DockerOptions, eventBus *event.EventBus) (*DockerCommonClient, error)
func (*DockerCommonClient) Close ¶
func (common *DockerCommonClient) Close() error
func (*DockerCommonClient) GetClient ¶ added in v0.12.0
func (common *DockerCommonClient) GetClient() *docker.DockerClient
func (*DockerCommonClient) PullImageOffline ¶
func (common *DockerCommonClient) PullImageOffline(imageName string, onImagePullCallback func()) error
func (*DockerCommonClient) SidecarList ¶ added in v0.12.0
func (common *DockerCommonClient) SidecarList(containerName string) ([]commonModel.SidecarInfo, error)
func (*DockerCommonClient) SidecarVpnInject ¶ added in v0.12.0
func (common *DockerCommonClient) SidecarVpnInject(opts *commonModel.SidecarVpnInjectOpts, portConfig *docker.ContainerPortConfigOpts) (string, error)
Click to show internal directories.
Click to hide internal directories.