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