controlplane

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager contains logic and info needed to fence and remediate controlplane nodes

func NewManager

func NewManager(nodeName string, myClient client.Client) *Manager

NewManager inits a new Manager return nil if init fails

func (*Manager) IsControlPlane

func (manager *Manager) IsControlPlane() bool

func (*Manager) IsControlPlaneHealthy

func (manager *Manager) IsControlPlaneHealthy(workerPeerResponse peers.Response, canOtherControlPlanesBeReached bool) bool

func (*Manager) Start

func (manager *Manager) Start(_ context.Context) error

Jump to

Keyboard shortcuts

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