k8s

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerStatusByName

func ContainerStatusByName(pod *corev1.Pod, name string) *corev1.ContainerStatus

ContainerStatusByName returns the ContainerStatus object for a container with a given name on the pod. Includes init containers.

Types

type PodListWatcher

type PodListWatcher struct {
	Client    kubernetes.Interface
	Namespace string
	Name      string
}

func (*PodListWatcher) List

func (plw *PodListWatcher) List(options metav1.ListOptions) (runtime.Object, error)

func (*PodListWatcher) Watch

func (plw *PodListWatcher) Watch(options metav1.ListOptions) (watch.Interface, error)

type RunListWatcher

type RunListWatcher struct {
	Client    etokclient.Interface
	Namespace string
	Name      string
}

func (*RunListWatcher) List

func (lw *RunListWatcher) List(options metav1.ListOptions) (runtime.Object, error)

func (*RunListWatcher) Watch

func (lw *RunListWatcher) Watch(options metav1.ListOptions) (watch.Interface, error)

type WorkspaceListWatcher

type WorkspaceListWatcher struct {
	Client    etokclient.Interface
	Namespace string
	Name      string
}

func (*WorkspaceListWatcher) List

func (*WorkspaceListWatcher) Watch

Directories

Path Synopsis
This package has the automatically generated clientset.
This package has the automatically generated clientset.

Jump to

Keyboard shortcuts

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