kubeclient

package
v0.0.0-...-40a75d2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VariableFlavorCPU       = "flavor.cpu"
	VariableFlavorMem       = "flavor.mem"
	VariableFlavorStorage   = "flaovr.storage"
	VariableFlavorNvidiaGpu = "flaovr.nvidia-gpu"
)

Template variable key

View Source
const (
	LabelAppName = "jupynetes.name"
)

In-Kubernetes consts

Variables

This section is empty.

Functions

func DeleteServer

func DeleteServer(ctx context.Context, name string) error

func DeployServer

func DeployServer(ctx context.Context, name string, template *common.Template) error

DeployServer deploy server based on template

func Init

func Init(ctx context.Context, c *config.Configs)

Init Initialize k8s client configurations

Types

This section is empty.

Jump to

Keyboard shortcuts

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