tablespaces

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package tablespaces contains the runner to declarative tablespace

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TablespaceReconciler

type TablespaceReconciler struct {
	// contains filtered or unexported fields
}

TablespaceReconciler is a Kubernetes controller that ensures Tablespaces are created in Postgres

func NewTablespaceReconciler

func NewTablespaceReconciler(instance *postgres.Instance, client client.Client) *TablespaceReconciler

NewTablespaceReconciler creates a new TablespaceReconciler

func (*TablespaceReconciler) GetClient

func (r *TablespaceReconciler) GetClient() client.Client

GetClient returns the dynamic client that is being used for a certain reconciler

func (*TablespaceReconciler) GetCluster

func (r *TablespaceReconciler) GetCluster(ctx context.Context) (*apiv1.Cluster, error)

GetCluster gets the managed cluster through the client

func (*TablespaceReconciler) Instance

func (r *TablespaceReconciler) Instance() *postgres.Instance

Instance returns the PostgreSQL instance that this reconciler is working on

func (*TablespaceReconciler) Reconcile

Reconcile is the main reconciliation loop for the instance

func (*TablespaceReconciler) SetupWithManager

func (r *TablespaceReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis
Package infrastructure contains the structs and interfaces needed to manage declarative tablespace
Package infrastructure contains the structs and interfaces needed to manage declarative tablespace

Jump to

Keyboard shortcuts

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