k8s

package
v0.0.0-...-6a934ae Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	kubernetes.Interface
	// contains filtered or unexported fields
}

Client wrapper k8s client and namespace

func NewClient

func NewClient(kubeconfig string) (*Client, error)

NewClient create a new client

func (*Client) CopyFileToPod

func (c *Client) CopyFileToPod(pod, container, namespace string, file io.Reader, dstPath string) error

CopyFileToPod copy client file to pod

Jump to

Keyboard shortcuts

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