Documentation ¶
Index ¶
- type Helpers
- func (h *Helpers) ContainerExists(containerId string) bool
- func (h *Helpers) CopyOciImage(ociImagePath, newOciImagePath string)
- func (h *Helpers) CreateContainer(rootfsURI string) (string, string)
- func (h *Helpers) CreateHelloLayer(rootfsURI string) string
- func (h *Helpers) CreateVolume(rootfsURI, containerId string) specs.Spec
- func (h *Helpers) DeleteContainer(id string)
- func (h *Helpers) DeleteVolume(id string)
- func (h *Helpers) ExecCommand(command string, args ...string) *exec.Cmd
- func (h *Helpers) ExecInContainer(id string, args []string, detach bool) (*bytes.Buffer, *bytes.Buffer, error)
- func (h *Helpers) Execute(c *exec.Cmd) (*bytes.Buffer, *bytes.Buffer, error)
- func (h *Helpers) GenerateBundle(bundleSpec specs.Spec, bundlePath string)
- func (h *Helpers) GenerateRuntimeSpec(baseSpec specs.Spec) specs.Spec
- func (h *Helpers) GrootPull(rootfsURI string)
- func (h *Helpers) RunHydrate(args []string) *gexec.Session
- func (h *Helpers) StartContainer(containerId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helpers ¶
type Helpers struct {
// contains filtered or unexported fields
}
func NewHelpers ¶
func (*Helpers) ContainerExists ¶
func (*Helpers) CopyOciImage ¶
func (*Helpers) CreateContainer ¶
func (*Helpers) CreateHelloLayer ¶
func (*Helpers) CreateVolume ¶
func (*Helpers) DeleteContainer ¶
func (*Helpers) DeleteVolume ¶
func (*Helpers) ExecCommand ¶
func (*Helpers) ExecInContainer ¶
func (*Helpers) GenerateBundle ¶
func (*Helpers) GenerateRuntimeSpec ¶
func (*Helpers) StartContainer ¶
Click to show internal directories.
Click to hide internal directories.