unreachable

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Overview

Package unreachable provides a controller which periodically checks if a remote cluster is reachable and maintains a condition on the cluster as a result. If the unreachable condition is true, other controllers can skip attempts to reach the cluster which require a 30 second timeout.

Index

Constants

View Source
const (
	ControllerName = hivev1.UnreachableControllerName
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Unreachable Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

func AddToManager

func AddToManager(mgr manager.Manager, r reconcile.Reconciler, concurrentReconciles int, rateLimiter workqueue.RateLimiter) error

AddToManager adds a new Controller to mgr with r as the reconcile.Reconciler

func NewReconciler

func NewReconciler(mgr manager.Manager, rateLimiter flowcontrol.RateLimiter) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type ReconcileRemoteMachineSet

type ReconcileRemoteMachineSet struct {
	client.Client
	// contains filtered or unexported fields
}

ReconcileRemoteMachineSet reconciles the MachineSets generated from a ClusterDeployment object

func (*ReconcileRemoteMachineSet) Reconcile

Reconcile checks if we can establish an API client connection to the remote cluster and maintains the unreachable condition as a result.

Jump to

Keyboard shortcuts

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