k8s

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 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.
fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
typed/etok.dev/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
typed/etok.dev/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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