Documentation ¶
Index ¶
- type KubeletExecutor
- func (k *KubeletExecutor) CopyFile(containerID string, sourcePath string, destPath string) error
- func (k *KubeletExecutor) GetFileContents(containerID string, sourcePath string) (string, error)
- func (k *KubeletExecutor) GetOutputStream(containerID string, combinedOutput bool) (io.ReadCloser, error)
- func (k *KubeletExecutor) Kill(containerIDs []string) error
- func (k *KubeletExecutor) Wait(containerID string) error
- func (k *KubeletExecutor) WaitInit() 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() (*KubeletExecutor, error)
func (*KubeletExecutor) CopyFile ¶
func (k *KubeletExecutor) CopyFile(containerID string, sourcePath string, destPath string) error
func (*KubeletExecutor) GetFileContents ¶
func (k *KubeletExecutor) GetFileContents(containerID string, sourcePath string) (string, error)
func (*KubeletExecutor) GetOutputStream ¶
func (k *KubeletExecutor) GetOutputStream(containerID string, combinedOutput bool) (io.ReadCloser, error)
func (*KubeletExecutor) Kill ¶
func (k *KubeletExecutor) Kill(containerIDs []string) error
Kill kills a list of containerIDs first with a SIGTERM then with a SIGKILL after a grace period
func (*KubeletExecutor) Wait ¶
func (k *KubeletExecutor) Wait(containerID string) error
Wait for the container to complete
func (*KubeletExecutor) WaitInit ¶
func (k *KubeletExecutor) WaitInit() error
Click to show internal directories.
Click to hide internal directories.