Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRuntime ¶
type ContainerRuntime interface {
CopyResources(ctx context.Context, image string, files map[string]string) error
image.Runtime
}
func NewContainerRuntime ¶
func NewContainerRuntime(endpoint, cgroupDriver string) (ContainerRuntime, error)
type ContainerRuntimeImpl ¶
type ContainerRuntimeImpl struct {
*image.RuntimeImpl
// contains filtered or unexported fields
}
func (*ContainerRuntimeImpl) CopyResources ¶
func (runtime *ContainerRuntimeImpl) CopyResources( ctx context.Context, image string, files map[string]string, ) error
CopyResources copies binary and configuration file from the image to the host. The same way as func (runtime *DockerRuntime) CopyResources
Click to show internal directories.
Click to hide internal directories.