kubernetes

package
v0.0.0-...-20f5769 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeClient

type KubeClient struct {
	client.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(kubeconfig *weaveconfig.KubeConfig) (*KubeClient, error)

func (*KubeClient) Exec

func (c *KubeClient) Exec(namespace, pod, container string, cmd []string, tty bool, options remotecommand.StreamOptions) error

func (*KubeClient) GetConfig

func (c *KubeClient) GetConfig() *rest.Config

func (*KubeClient) Log

func (c *KubeClient) Log(ctx context.Context, namespace, pod, container string, follow bool) (io.ReadCloser, error)

func (*KubeClient) StartCache

func (c *KubeClient) StartCache() (err error)

func (*KubeClient) Watch

func (c *KubeClient) Watch(objs ...client.Object) error

Jump to

Keyboard shortcuts

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