dockerClient

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	// contains filtered or unexported fields
}

func New

func New(config config.Config, ctx context.Context, wg *sync.WaitGroup) (client *DockerClient, err error)

func (*DockerClient) ContainerExists

func (this *DockerClient) ContainerExists(id string) (exists bool, err error)

func (*DockerClient) CreateContainer

func (this *DockerClient) CreateContainer(name string, image string, _ string, env map[string]string, restart bool) (id string, err error)

func (*DockerClient) RemoveContainer

func (this *DockerClient) RemoveContainer(id string) (err error)

func (*DockerClient) UpdateContainer

func (this *DockerClient) UpdateContainer(id string, name string, image string, userid string, env map[string]string, restart bool) (newId string, err error)

Jump to

Keyboard shortcuts

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