kubernetes

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnvOrDefault added in v0.5.2

func EnvOrDefault(envName, defaultValue string) string

Types

type KubernetesConnector

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

func New

func New() *KubernetesConnector

func (*KubernetesConnector) FindPodForUser

func (k *KubernetesConnector) FindPodForUser(userName string, ticket *string) (*v1.Pod, string, bool, bool)

func (*KubernetesConnector) StartEnvironment

func (k *KubernetesConnector) StartEnvironment(userName string, userPassword string, imageName string) (*v1.Pod, error)

func (*KubernetesConnector) WatchPVC

func (k *KubernetesConnector) WatchPVC(stop chan struct{}) error

func (*KubernetesConnector) WatchPod

func (k *KubernetesConnector) WatchPod(stop chan struct{}) error

Jump to

Keyboard shortcuts

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