Documentation
¶
Index ¶
Constants ¶
View Source
const (
HBaseControllerNameKey = "hbase-controller-name"
HBaseControllerRevisionKey = "hbase-controller-revision"
)
Variables ¶
This section is empty.
Functions ¶
func DeepHashObject ¶
func DeepHashObject(hasher hash.Hash, objectToWrite interface{})
DeepHashObject writes specified object to hash using the spew library which follows pointers and prints actual values of the nested objects ensuring the hash does not change when a pointer changes.
Types ¶
type HBaseReconciler ¶
type HBaseReconciler struct {
client.Client
Scheme *runtime.Scheme
Log logr.Logger
GhAdmin gohbase.AdminClient
}
HBaseReconciler reconciles a HBase object
func (*HBaseReconciler) Reconcile ¶
func (r *HBaseReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkgo.dev/sigs.k8s.io/controller-runtime@v0.17.2/pkg/reconcile
func (*HBaseReconciler) SetupWithManager ¶
func (r *HBaseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.