clusterdeployment

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 41 Imported by: 4 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ControllerName = "clusterDeployment"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new ClusterDeployment controller and adds it to the manager with default RBAC.

func AddToManager

func AddToManager(mgr manager.Manager, r reconcile.Reconciler) error

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

func GetInstallLogsPVCName

func GetInstallLogsPVCName(cd *hivev1.ClusterDeployment) string

GetInstallLogsPVCName returns the expected name of the persistent volume claim for cluster install failure logs.

func NewReconciler

func NewReconciler(mgr manager.Manager) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

Types

type ReconcileClusterDeployment

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

ReconcileClusterDeployment reconciles a ClusterDeployment object

func (*ReconcileClusterDeployment) Reconcile

func (r *ReconcileClusterDeployment) Reconcile(request reconcile.Request) (result reconcile.Result, returnErr error)

Reconcile reads that state of the cluster for a ClusterDeployment object and makes changes based on the state read and what is in the ClusterDeployment.Spec

Automatically generate RBAC rules to allow the Controller to read and write Deployments

Jump to

Keyboard shortcuts

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