kube

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DirCp

type DirCp struct {
	// contains filtered or unexported fields
}

func NewDirCp

func NewDirCp(exec Exec) DirCp

func (DirCp) Execute

func (s DirCp) Execute(srcDir, dstDir string) error

type Exec

type Exec struct {
	// contains filtered or unexported fields
}

func NewExec

func NewExec(pod corev1.Pod, container string, coreClient kubernetes.Interface, restConfig *rest.Config) Exec

func (Exec) Execute

func (s Exec) Execute(cmd []string, stdin io.Reader) error

type TarBuilder

type TarBuilder struct{}

func (TarBuilder) Build

func (b TarBuilder) Build(srcPath, destPath string, opts TarBuilderOpts, writer io.Writer) error

type TarBuilderOpts

type TarBuilderOpts struct {
	ExcludedPaths []string

	ReportFileExcluded func(string)
	ReportFileIncluded func(string)
}

Jump to

Keyboard shortcuts

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