Documentation ¶
Index ¶
- func BuildSaltshakerImage() error
- func CopyToContainer(containerID string, localPath string) error
- func CreateTar(src string) string
- func Exec(ctx context.Context, containerID string, command []string) (types.IDResponse, error)
- func GetRunningContainers() []types.Container
- func RootDir() string
- func RunSaltshakerContainer() error
- type ExecResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSaltshakerImage ¶
func BuildSaltshakerImage() error
func CopyToContainer ¶
func GetRunningContainers ¶
func RunSaltshakerContainer ¶
func RunSaltshakerContainer() error
Types ¶
type ExecResult ¶
func ApplyState ¶
func ApplyState(containerID string, state string) (ExecResult, error)
func InspectExecResp ¶
func InspectExecResp(ctx context.Context, id string) (ExecResult, error)
func RunCommand ¶
func RunCommand(containerID string, cmd []string) (ExecResult, error)
Click to show internal directories.
Click to hide internal directories.