controller

package
v0.0.0-...-bb91830 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GSAName                     = "postgres-pod"
	KSAName                     = "postgres-pod"
	RoleBindingName             = "postgres-pod-additional"
	ClusterRoleName             = "postgres-pod-additional"
	ServiceAccountsNamespace    = "serviceaccounts"
	ProjectIDLabel              = "google-cloud-project"
	ProjectIDAnnotationFallback = "cnrm.cloud.google.com/project-id"
)
View Source
const ConditionReasonUnknown = "Unknown"

Variables

This section is empty.

Functions

func IAMPolicyMemberNames

func IAMPolicyMemberNames(teamNamespace string) (string, string, string)

Types

type OpenSearchPreparedData

type OpenSearchPreparedData struct{}

OpenSearchPreparedData contains data prepared during the Prepare phase

type OpenSearchReconciler

type OpenSearchReconciler struct {
	Aiven  config.Aiven
	Tenant config.Tenant

	Recorder events.Recorder
	Scheme   *runtime.Scheme
}

OpenSearchReconciler reconciles an OpenSearch object

func (*OpenSearchReconciler) AdditionalTypes

func (r *OpenSearchReconciler) AdditionalTypes() []client.Object

func (*OpenSearchReconciler) Delete

func (*OpenSearchReconciler) FinalizerName

func (r *OpenSearchReconciler) FinalizerName() string

func (*OpenSearchReconciler) Name

func (r *OpenSearchReconciler) Name() string

func (*OpenSearchReconciler) New

func (*OpenSearchReconciler) OwnedTypes

func (r *OpenSearchReconciler) OwnedTypes() []reconciler.OwnedType

func (*OpenSearchReconciler) Prepare

func (*OpenSearchReconciler) Update

type PostgresReconciler

type PostgresReconciler struct {
	Config   *config.Config
	Recorder events.Recorder
}

PostgresReconciler reconciles a Postgres object

func (*PostgresReconciler) AdditionalTypes

func (r *PostgresReconciler) AdditionalTypes() []client.Object

func (*PostgresReconciler) Delete

func (r *PostgresReconciler) Delete(obj *data_nais_io_v1.Postgres, preparedData PreparedData, relatedObjects reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)

func (*PostgresReconciler) MetricsLabels

func (r *PostgresReconciler) MetricsLabels(obj *data_nais_io_v1.Postgres) map[string]string

func (*PostgresReconciler) Name

func (r *PostgresReconciler) Name() string

func (*PostgresReconciler) New

func (*PostgresReconciler) OwnedTypes

func (r *PostgresReconciler) OwnedTypes() []reconciler.OwnedType

func (*PostgresReconciler) Prepare

func (*PostgresReconciler) Update

func (r *PostgresReconciler) Update(obj *data_nais_io_v1.Postgres, preparedData PreparedData, relatedObjects reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)

type PreparedData

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

type ValkeyPreparedData

type ValkeyPreparedData struct{}

ValkeyPreparedData contains data prepared during the Prepare phase

type ValkeyReconciler

type ValkeyReconciler struct {
	Aiven  config.Aiven
	Tenant config.Tenant

	Recorder events.Recorder
	Scheme   *runtime.Scheme
}

ValkeyReconciler reconciles a Valkey object

func (*ValkeyReconciler) AdditionalTypes

func (r *ValkeyReconciler) AdditionalTypes() []client.Object

func (*ValkeyReconciler) Delete

func (*ValkeyReconciler) FinalizerName

func (r *ValkeyReconciler) FinalizerName() string

func (*ValkeyReconciler) Name

func (r *ValkeyReconciler) Name() string

func (*ValkeyReconciler) New

func (r *ValkeyReconciler) New() *v1.Valkey

func (*ValkeyReconciler) OwnedTypes

func (r *ValkeyReconciler) OwnedTypes() []reconciler.OwnedType

func (*ValkeyReconciler) Prepare

func (*ValkeyReconciler) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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