Documentation
¶
Index ¶
- type DockerExecutor
- func (d *DockerExecutor) CopyFile(containerName string, sourcePath string, destPath string, compressionLevel int) error
- func (d *DockerExecutor) GetExitCode(ctx context.Context, containerName string) (string, error)
- func (d *DockerExecutor) GetFileContents(containerName string, sourcePath string) (string, error)
- func (d *DockerExecutor) GetOutputStream(ctx context.Context, containerName string, combinedOutput bool) (io.ReadCloser, error)
- func (d *DockerExecutor) Kill(ctx context.Context, containerNames []string, ...) error
- func (d *DockerExecutor) Wait(ctx context.Context, containerNames, sidecarNames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerExecutor ¶
type DockerExecutor struct {
// contains filtered or unexported fields
}
func NewDockerExecutor ¶
func NewDockerExecutor(namespace, podName string) (*DockerExecutor, error)
func (*DockerExecutor) GetExitCode ¶
func (*DockerExecutor) GetFileContents ¶
func (d *DockerExecutor) GetFileContents(containerName string, sourcePath string) (string, error)
func (*DockerExecutor) GetOutputStream ¶
func (d *DockerExecutor) GetOutputStream(ctx context.Context, containerName string, combinedOutput bool) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.