controllers

package
v0.0.0-...-a4686c1 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeFailedSetupPostgresConnection string = "FailedSetupPostgresConnection"
	EventTypeSuccessConnectPostgres        string = "SuccessConnectPostgres"
	EventTypeFailedReconcile               string = "FailedReconcile"
	EventTypeSuccessfulReconcile           string = "SuccessfulReconcile"
)
View Source
const (
	VariantStandard string = "standard"
	VariantAiven    string = "aiven"
)
View Source
const (
	EventTypeInvalidVariant string = "InvalidVariant"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresConfigReconciler

type PostgresConfigReconciler struct {
	client.Client

	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

PostgresConfigReconciler reconciles a PostgresConfig object

func (*PostgresConfigReconciler) Reconcile

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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.1/pkg/reconcile

func (*PostgresConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PostgresGrantReconciler

type PostgresGrantReconciler struct {
	client.Client

	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

PostgresGrantReconciler reconciles a PostgresGrant object

func (*PostgresGrantReconciler) Reconcile

func (r *PostgresGrantReconciler) 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. TODO(user): Modify the Reconcile function to compare the state specified by the PostgresGrant object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.1/pkg/reconcile

func (*PostgresGrantReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PostgresPublicationReconciler

type PostgresPublicationReconciler struct {
	client.Client

	Log    logr.Logger
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

PostgresPublicationReconciler reconciles a PostgresPublication object

func (*PostgresPublicationReconciler) Reconcile

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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.1/pkg/reconcile

func (*PostgresPublicationReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type PostgresTableReconciler

type PostgresTableReconciler struct {
	client.Client
	Scheme *runtime.Scheme

	Log logr.Logger
	// contains filtered or unexported fields
}

PostgresTableReconciler reconciles a PostgresTable object

func (*PostgresTableReconciler) Reconcile

func (r *PostgresTableReconciler) 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://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.11.0/pkg/reconcile

func (*PostgresTableReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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