Documentation ¶
Index ¶
- func Gz(buf []byte) bool
- type Helpers
- func (h *Helpers) ContainerExists(containerId string) bool
- func (h *Helpers) CreateContainer(bundleSpec specs.Spec, bundlePath, containerId 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) IsGzFile(path string) (bool, error)
- func (h *Helpers) StartContainer(containerId string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Helpers ¶
type Helpers struct {
// contains filtered or unexported fields
}
func NewHelpers ¶
func (*Helpers) ContainerExists ¶
func (*Helpers) CreateContainer ¶
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.