hive

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 52 Imported by: 1

Documentation

Index

Constants

View Source
const (

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

Variables

This section is empty.

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(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