producers

package
v0.30.9 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Kubernetes

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

func New

func New(client kubernetes.Interface, config *restclient.Config) *Kubernetes

func (*Kubernetes) APIVersions

func (k *Kubernetes) APIVersions(ctx context.Context) (interface{}, error)

func (*Kubernetes) ClusterInfo

func (k *Kubernetes) ClusterInfo(ctx context.Context) (interface{}, error)

func (*Kubernetes) ContainerCp

func (k *Kubernetes) ContainerCp(pod, container, namespace, path string) types.StreamsProducer

ContainerCp copies a file/folder from the provided directory within the pod+container. if container=="", it copies that file/folder from all containers in the pod.

func (*Kubernetes) Logs

func (*Kubernetes) ResourceList

func (*Kubernetes) Version

func (k *Kubernetes) Version(ctx context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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