clients

package
v2.0.0-alpha56 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InternalDockerClient

type InternalDockerClient interface {
	client.APIClient
	ExtractNetworksForContainer(containerName string) (map[string]*network.EndpointSettings, error)
	ConnectContainerToNetworks(containerName string, settings map[string]*network.EndpointSettings) error
	ConnectContainerToNetworksByNames(containerName string, networkName []string) error
	StopAndRemoveDockerContainer() error
	GetContainerID() string
	SetContainerID(containerID string)
	NetworkExists(network string) (bool, error)
	CheckBindMounts(filePath string) bool
	CheckNetworkInfo(filePath string) (bool, bool, string)
	CreateCustomNetwork(network string) error
	ReplaceRelativePaths(dockerComposeFilePath, newComposeFile string) error
	MakeNetworkExternal(dockerComposeFilePath, newComposeFile string) error
	AddNetworkToCompose(dockerComposeFilePath, newComposeFile string) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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