internetchecker

package
v0.0.0-...-b534984 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WORKER_NODE_MINIMUM_COUNT = 3

	OperatorUpgradableFalse = configv1.ConditionFalse
	OperatorUpgradableTrue  = configv1.ConditionTrue
)
View Source
const (
	ControllerName = "InternetChecker"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

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

Reconciler runs a number of checkers

func NewReconciler

func NewReconciler(log *logrus.Entry, client client.Client, role string) *Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile will keep checking that the cluster can connect to essential services.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager setup our manager

type UnsupportedConditionChecker

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

func NewUnsupportedConditionChecker

func NewUnsupportedConditionChecker(log *logrus.Entry, kubernetescli kubernetes.Interface, consolecli consoleclient.Interface, configcli configclient.Interface, role string) *UnsupportedConditionChecker

func (*UnsupportedConditionChecker) Check

func (*UnsupportedConditionChecker) Name

func (ucc *UnsupportedConditionChecker) Name() string

Jump to

Keyboard shortcuts

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