Documentation
¶
Index ¶
- Constants
- func IAMPolicyMemberNames(teamNamespace string) (string, string, string)
- type OpenSearchPreparedData
- type OpenSearchReconciler
- func (r *OpenSearchReconciler) AdditionalTypes() []client.Object
- func (r *OpenSearchReconciler) Delete(obj *v1.OpenSearch, _ OpenSearchPreparedData, ...) ([]action.Action, ctrl.Result, error)
- func (r *OpenSearchReconciler) FinalizerName() string
- func (r *OpenSearchReconciler) Name() string
- func (r *OpenSearchReconciler) New() *v1.OpenSearch
- func (r *OpenSearchReconciler) OwnedTypes() []reconciler.OwnedType
- func (r *OpenSearchReconciler) Prepare(_ context.Context, _ client.Reader, _ *v1.OpenSearch) (OpenSearchPreparedData, ctrl.Result, error)
- func (r *OpenSearchReconciler) Update(obj *v1.OpenSearch, _ OpenSearchPreparedData, _ reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
- type PostgresReconciler
- func (r *PostgresReconciler) AdditionalTypes() []client.Object
- func (r *PostgresReconciler) Delete(obj *data_nais_io_v1.Postgres, preparedData PreparedData, ...) ([]action.Action, ctrl.Result, error)
- func (r *PostgresReconciler) MetricsLabels(obj *data_nais_io_v1.Postgres) map[string]string
- func (r *PostgresReconciler) Name() string
- func (r *PostgresReconciler) New() *data_nais_io_v1.Postgres
- func (r *PostgresReconciler) OwnedTypes() []reconciler.OwnedType
- func (r *PostgresReconciler) Prepare(ctx context.Context, reader client.Reader, obj *data_nais_io_v1.Postgres) (PreparedData, ctrl.Result, error)
- func (r *PostgresReconciler) Update(obj *data_nais_io_v1.Postgres, preparedData PreparedData, ...) ([]action.Action, ctrl.Result, error)
- type PreparedData
- type ValkeyPreparedData
- type ValkeyReconciler
- func (r *ValkeyReconciler) AdditionalTypes() []client.Object
- func (r *ValkeyReconciler) Delete(obj *v1.Valkey, _ ValkeyPreparedData, relatedObjects reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
- func (r *ValkeyReconciler) FinalizerName() string
- func (r *ValkeyReconciler) Name() string
- func (r *ValkeyReconciler) New() *v1.Valkey
- func (r *ValkeyReconciler) OwnedTypes() []reconciler.OwnedType
- func (r *ValkeyReconciler) Prepare(_ context.Context, _ client.Reader, _ *v1.Valkey) (ValkeyPreparedData, ctrl.Result, error)
- func (r *ValkeyReconciler) Update(obj *v1.Valkey, _ ValkeyPreparedData, _ reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
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 ¶
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 (r *OpenSearchReconciler) Delete(obj *v1.OpenSearch, _ OpenSearchPreparedData, relatedObjects reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
func (*OpenSearchReconciler) FinalizerName ¶
func (r *OpenSearchReconciler) FinalizerName() string
func (*OpenSearchReconciler) Name ¶
func (r *OpenSearchReconciler) Name() string
func (*OpenSearchReconciler) New ¶
func (r *OpenSearchReconciler) New() *v1.OpenSearch
func (*OpenSearchReconciler) OwnedTypes ¶
func (r *OpenSearchReconciler) OwnedTypes() []reconciler.OwnedType
func (*OpenSearchReconciler) Prepare ¶
func (r *OpenSearchReconciler) Prepare(_ context.Context, _ client.Reader, _ *v1.OpenSearch) (OpenSearchPreparedData, ctrl.Result, error)
func (*OpenSearchReconciler) Update ¶
func (r *OpenSearchReconciler) Update(obj *v1.OpenSearch, _ OpenSearchPreparedData, _ reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
type PostgresReconciler ¶
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 (r *PostgresReconciler) New() *data_nais_io_v1.Postgres
func (*PostgresReconciler) OwnedTypes ¶
func (r *PostgresReconciler) OwnedTypes() []reconciler.OwnedType
func (*PostgresReconciler) Prepare ¶
func (r *PostgresReconciler) Prepare(ctx context.Context, reader client.Reader, obj *data_nais_io_v1.Postgres) (PreparedData, ctrl.Result, error)
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 (r *ValkeyReconciler) Delete(obj *v1.Valkey, _ ValkeyPreparedData, relatedObjects reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
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) Update ¶
func (r *ValkeyReconciler) Update(obj *v1.Valkey, _ ValkeyPreparedData, _ reconciler.RelatedObjects) ([]action.Action, ctrl.Result, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.