Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface {
// Returns the image key assigned inside the docker engine.
Load(imageKey string) (string, error)
}
Interface for container's images storage Backends
type BaseBackend ¶
type BaseBackend struct {
// contains filtered or unexported fields
}
BaseBackend structure
func (*BaseBackend) DockerClient ¶
func (bb *BaseBackend) DockerClient() *dockerClient.Client
type DockerHubBackend ¶
type DockerHubBackend struct {
BaseBackend
}
func NewDockerHubBackend ¶
func NewDockerHubBackend(dockerCli *dockerClient.Client) *DockerHubBackend
type IPFSBackend ¶
type IPFSBackend struct {
BaseBackend
}
func NewIPFSBackend ¶
func NewIPFSBackend(dockerCli *dockerClient.Client) *IPFSBackend
Click to show internal directories.
Click to hide internal directories.