pods

package
v0.0.0-...-f6da7c5 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pods

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

func New

func New(client *kubernetes.Clientset, metaOptions metav1.ListOptions, ctx context.Context) *Pods

func (*Pods) Delete

func (obj *Pods) Delete(name, namespace string, opts metav1.DeleteOptions) error

func (*Pods) Get

func (obj *Pods) Get(name, namespace string) (k8sTypes.Pod, error)

func (*Pods) IsTerminating

func (obj *Pods) IsTerminating(name, namespace string) (bool, error)

func (*Pods) Kill deprecated

func (obj *Pods) Kill(name, namespace string, opts metav1.DeleteOptions) error

Deprecated: Use Delete instead.

func (*Pods) List

func (obj *Pods) List(namespace string) ([]k8sTypes.Pod, error)

Jump to

Keyboard shortcuts

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