hive

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: 57 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ControllerName = hivev1.HiveControllerName

	// HiveOperatorNamespaceEnvVar is the environment variable we expect to be given with the namespace the hive-operator is running in.
	HiveOperatorNamespaceEnvVar = "HIVE_OPERATOR_NS"
)

Variables

View Source
var (
	// HiveConfigConditions are the HiveConfig conditions controlled by
	// hive controller
	HiveConfigConditions = []hivev1.HiveConfigConditionType{
		hivev1.HiveReadyCondition,
	}
)

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new Hive 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.

Types

type ReconcileHiveConfig

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

ReconcileHiveConfig reconciles a Hive object

func (*ReconcileHiveConfig) Reconcile

func (r *ReconcileHiveConfig) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

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

Jump to

Keyboard shortcuts

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