kubelet

package
v2.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2018 License: Apache-2.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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) GetOutput

func (k *KubeletExecutor) GetOutput(containerID string) (string, error)

GetOutput returns the entirety of the container output as a string Used to capturing script results as an output parameter

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) Logs

func (k *KubeletExecutor) Logs(containerID, path string) error

Logs copies logs to a given path

func (*KubeletExecutor) Wait

func (k *KubeletExecutor) Wait(containerID string) error

Wait for the container to complete

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL