kube

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annotations added in v0.1.0

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

func NewAnnotations added in v0.1.0

func NewAnnotations(patchFunc PatchableFunc) Annotations

func (Annotations) Add added in v0.1.0

func (a Annotations) Add(annotations map[string]interface{}) error

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 PatchableFunc added in v0.1.0

type PatchableFunc func(types.PatchType, []byte) 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