kubernetes

package
v0.3.6-alpha4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Kubernetes

type Kubernetes struct {
	Client *kubernetes.Clientset
	// Namespace in which worker nodes are to be deployed.
	Namespace string
	Config    config.StaticConfig
}

func NewKubernetes

func NewKubernetes(cfg config.StaticConfig) (d *Kubernetes, err error)

func (*Kubernetes) DeployWorkers

func (k *Kubernetes) DeployWorkers(ctx context.Context, info worker.Info) error

func (*Kubernetes) RemoveWorkers

func (k *Kubernetes) RemoveWorkers(ctx context.Context, info worker.Info) error

Jump to

Keyboard shortcuts

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