checker

package
v0.0.0-...-823d357 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker interface {
	Check(context.Context) error
	Name() string
}

type CheckerController

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

CheckerController runs a number of checkers

func NewReconciler

func NewReconciler(log *logrus.Entry, maocli maoclient.Interface, arocli aroclient.Interface, kubernetescli kubernetes.Interface, role string, isLocalDevelopmentMode bool) *CheckerController

func (*CheckerController) Reconcile

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

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

func (*CheckerController) SetupWithManager

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

SetupWithManager setup our manager

type InternetChecker

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

InternetChecker reconciles a Cluster object

func NewInternetChecker

func NewInternetChecker(log *logrus.Entry, arocli aroclient.Interface, role string) *InternetChecker

func (*InternetChecker) Check

func (r *InternetChecker) Check(ctx context.Context) error

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

func (*InternetChecker) Name

func (r *InternetChecker) Name() string

type MachineChecker

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

MachineChecker reconciles the alertmanager webhook

func NewMachineChecker

func NewMachineChecker(log *logrus.Entry, clustercli maoclient.Interface, arocli aroclient.Interface, role string, isLocalDevelopmentMode bool) *MachineChecker

func (*MachineChecker) Check

func (r *MachineChecker) Check(ctx context.Context) error

Reconcile makes sure that the Machines are in a supportable state

func (*MachineChecker) Name

func (r *MachineChecker) Name() string

type ServicePrincipalChecker

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

func NewServicePrincipalChecker

func NewServicePrincipalChecker(log *logrus.Entry, maocli maoclient.Interface, arocli aroclient.Interface, kubernetescli kubernetes.Interface, role string) *ServicePrincipalChecker

func (*ServicePrincipalChecker) Check

func (*ServicePrincipalChecker) Name

func (r *ServicePrincipalChecker) Name() string

Jump to

Keyboard shortcuts

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