nodes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deleter

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

func New

func New(masterNodes, workerNodes []string, cluster *pb.K8Scluster) *Deleter

New returns new Deleter struct, used for node deletion from a k8s cluster masterNodes - master nodes to DELETE workerNodes - worker nodes to DELETE

func (*Deleter) DeleteNodes

func (d *Deleter) DeleteNodes() (*pb.K8Scluster, error)

DeleteNodes deletes nodes specified in d.masterNodes and d.workerNodes return nil if successful, error otherwise

Jump to

Keyboard shortcuts

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