Documentation ¶
Overview ¶
Package streamer ... TODO: write this!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Streamer ¶
type Streamer struct {
// contains filtered or unexported fields
}
Streamer represents the actor that streams data onto a POD, running on Kubernetes. It does so via `kubectl exec` to run `tar` on target container, and it redirects stdin to upload the local data.
func NewStreamer ¶
func NewStreamer(restConfig *rest.Config, clientset kubernetes.Interface) *Streamer
NewStreamer instantiate Streamer.
type Tar ¶
type Tar struct {
// contains filtered or unexported fields
}
Tar helper to create a tar instance based on a source directory, skipping entries that are not desired like `.git` directory and entries in `.gitignore` file.
Click to show internal directories.
Click to hide internal directories.