Documentation
¶
Index ¶
- Variables
- type BaseContainerRuntime
- type BuildahInspect
- type ContainerRuntime
- type DockerRuntime
- func (r *DockerRuntime) Exec(containerName string, cmds ...string)
- func (r *DockerRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
- func (r *DockerRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
- func (r *DockerRuntime) Pull(image string)
- func (r *DockerRuntime) Rm(containerName string)
- func (r *DockerRuntime) RunSleepingContainer(containerName, image string)
- type DockerWithFuseBuildahRuntime
- func (r *DockerWithFuseBuildahRuntime) Exec(containerName string, cmds ...string)
- func (r *DockerWithFuseBuildahRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
- func (r *DockerWithFuseBuildahRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
- func (r *DockerWithFuseBuildahRuntime) Pull(image string)
- func (r *DockerWithFuseBuildahRuntime) Rm(containerName string)
- func (r *DockerWithFuseBuildahRuntime) RunSleepingContainer(containerName, image string)
- type NativeRootlessBuildahRuntime
- func (r *NativeRootlessBuildahRuntime) Exec(containerName string, cmds ...string)
- func (r *NativeRootlessBuildahRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
- func (r *NativeRootlessBuildahRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
- func (r *NativeRootlessBuildahRuntime) Pull(image string)
- func (r *NativeRootlessBuildahRuntime) Rm(containerName string)
- func (r *NativeRootlessBuildahRuntime) RunSleepingContainer(containerName, image string)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type BaseContainerRuntime ¶
type BaseContainerRuntime struct{}
type BuildahInspect ¶
type BuildahInspect struct {
Docker struct {
Config manifest.Schema2Config `json:"config"`
} `json:"Docker"`
}
type ContainerRuntime ¶
type ContainerRuntime interface {
Pull(image string)
Exec(containerName string, cmds ...string)
Rm(containerName string)
RunSleepingContainer(containerName, image string)
GetImageInspectConfig(image string) (config manifest.Schema2Config)
ExpectCmdsToSucceed(image string, cmds ...string)
}
func NewContainerRuntime ¶
func NewContainerRuntime(name string) (ContainerRuntime, error)
func NewDockerRuntime ¶
func NewDockerRuntime() ContainerRuntime
func NewDockerWithFuseBuildahRuntime ¶
func NewDockerWithFuseBuildahRuntime() ContainerRuntime
func NewNativeRootlessBuildahRuntime ¶
func NewNativeRootlessBuildahRuntime() ContainerRuntime
type DockerRuntime ¶
type DockerRuntime struct {
BaseContainerRuntime
}
func (*DockerRuntime) Exec ¶
func (r *DockerRuntime) Exec(containerName string, cmds ...string)
func (*DockerRuntime) ExpectCmdsToSucceed ¶
func (r *DockerRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
func (*DockerRuntime) GetImageInspectConfig ¶
func (r *DockerRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
func (*DockerRuntime) Pull ¶
func (r *DockerRuntime) Pull(image string)
func (*DockerRuntime) Rm ¶
func (r *DockerRuntime) Rm(containerName string)
func (*DockerRuntime) RunSleepingContainer ¶
func (r *DockerRuntime) RunSleepingContainer(containerName, image string)
type DockerWithFuseBuildahRuntime ¶
type DockerWithFuseBuildahRuntime struct {
BaseContainerRuntime
}
func (*DockerWithFuseBuildahRuntime) Exec ¶
func (r *DockerWithFuseBuildahRuntime) Exec(containerName string, cmds ...string)
func (*DockerWithFuseBuildahRuntime) ExpectCmdsToSucceed ¶
func (r *DockerWithFuseBuildahRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
func (*DockerWithFuseBuildahRuntime) GetImageInspectConfig ¶
func (r *DockerWithFuseBuildahRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
func (*DockerWithFuseBuildahRuntime) Pull ¶
func (r *DockerWithFuseBuildahRuntime) Pull(image string)
func (*DockerWithFuseBuildahRuntime) Rm ¶
func (r *DockerWithFuseBuildahRuntime) Rm(containerName string)
func (*DockerWithFuseBuildahRuntime) RunSleepingContainer ¶
func (r *DockerWithFuseBuildahRuntime) RunSleepingContainer(containerName, image string)
type NativeRootlessBuildahRuntime ¶
type NativeRootlessBuildahRuntime struct {
BaseContainerRuntime
}
func (*NativeRootlessBuildahRuntime) Exec ¶
func (r *NativeRootlessBuildahRuntime) Exec(containerName string, cmds ...string)
func (*NativeRootlessBuildahRuntime) ExpectCmdsToSucceed ¶
func (r *NativeRootlessBuildahRuntime) ExpectCmdsToSucceed(image string, cmds ...string)
func (*NativeRootlessBuildahRuntime) GetImageInspectConfig ¶
func (r *NativeRootlessBuildahRuntime) GetImageInspectConfig(image string) (config manifest.Schema2Config)
func (*NativeRootlessBuildahRuntime) Pull ¶
func (r *NativeRootlessBuildahRuntime) Pull(image string)
func (*NativeRootlessBuildahRuntime) Rm ¶
func (r *NativeRootlessBuildahRuntime) Rm(containerName string)
func (*NativeRootlessBuildahRuntime) RunSleepingContainer ¶
func (r *NativeRootlessBuildahRuntime) RunSleepingContainer(containerName, image string)
Click to show internal directories.
Click to hide internal directories.