Documentation ¶
Index ¶
- func CreateUserConfiguration(userConfig any) (map[string]any, error)
- func IsAlreadyRunning(o client.Object) bool
- func NewAivenClient(token string) (*aiven.Client, error)
- func SetupControllers(mgr ctrl.Manager, defaultToken string) error
- func UpdateUserConfiguration(userConfig any) (map[string]any, error)
- type CassandraReconciler
- type ClickhouseReconciler
- type ClickhouseUserReconciler
- type ConnectionPoolHandler
- type ConnectionPoolReconciler
- type Controller
- type DatabaseHandler
- type DatabaseReconciler
- type GrafanaReconciler
- type Handlers
- type KafkaACLHandler
- type KafkaACLReconciler
- type KafkaConnectReconciler
- type KafkaConnectorHandler
- type KafkaConnectorReconciler
- type KafkaReconciler
- type KafkaSchemaHandler
- type KafkaSchemaReconciler
- type KafkaTopicHandler
- type KafkaTopicReconciler
- type MySQLReconciler
- type OpenSearchHandler
- type OpenSearchReconciler
- type PostgreSQLReconciler
- type ProjectHandler
- type ProjectReconciler
- type ProjectVPCHandler
- type ProjectVPCReconciler
- type RedisHandler
- type RedisReconciler
- type SecretFinalizerGCController
- type ServiceIntegrationHandler
- type ServiceIntegrationReconciler
- type ServiceUserHandler
- type ServiceUserReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserConfiguration ¶ added in v0.14.0
func IsAlreadyRunning ¶ added in v0.9.0
IsAlreadyRunning returns true if object is ready to use
func NewAivenClient ¶ added in v0.10.0
NewAivenClient returns Aiven client
func SetupControllers ¶ added in v0.9.0
Types ¶
type CassandraReconciler ¶ added in v0.7.0
type CassandraReconciler struct {
Controller
}
CassandraReconciler reconciles a Cassandra object
func (*CassandraReconciler) SetupWithManager ¶ added in v0.7.0
func (r *CassandraReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClickhouseReconciler ¶ added in v0.3.0
type ClickhouseReconciler struct {
Controller
}
ClickhouseReconciler reconciles a Clickhouse object
func (*ClickhouseReconciler) SetupWithManager ¶ added in v0.3.0
func (r *ClickhouseReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ClickhouseUserReconciler ¶ added in v0.3.0
type ClickhouseUserReconciler struct {
Controller
}
ClickhouseUserReconciler reconciles a ClickhouseUser object
func (*ClickhouseUserReconciler) SetupWithManager ¶ added in v0.3.0
func (r *ClickhouseUserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type ConnectionPoolHandler ¶
type ConnectionPoolHandler struct{}
ConnectionPoolHandler handles an Aiven ConnectionPool
type ConnectionPoolReconciler ¶
type ConnectionPoolReconciler struct {
Controller
}
ConnectionPoolReconciler reconciles a ConnectionPool object
func (*ConnectionPoolReconciler) SetupWithManager ¶
func (r *ConnectionPoolReconciler) SetupWithManager(mgr ctrl.Manager) error
type Controller ¶
type Controller struct { client.Client Log logr.Logger Scheme *runtime.Scheme Recorder record.EventRecorder DefaultToken string }
Controller reconciles the Aiven objects
type DatabaseReconciler ¶
type DatabaseReconciler struct {
Controller
}
DatabaseReconciler reconciles a Database object
func (*DatabaseReconciler) SetupWithManager ¶
func (r *DatabaseReconciler) SetupWithManager(mgr ctrl.Manager) error
type GrafanaReconciler ¶ added in v0.7.0
type GrafanaReconciler struct {
Controller
}
GrafanaReconciler reconciles a Grafana object
func (*GrafanaReconciler) SetupWithManager ¶ added in v0.7.0
func (r *GrafanaReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type Handlers ¶
type Handlers interface {
// contains filtered or unexported methods
}
Handlers represents Aiven API handlers It intended to be a layer between Kubernetes and Aiven API that handles all aspects of the Aiven services lifecycle.
type KafkaACLHandler ¶
type KafkaACLHandler struct{}
type KafkaACLReconciler ¶
type KafkaACLReconciler struct {
Controller
}
KafkaACLReconciler reconciles a KafkaACL object
func (*KafkaACLReconciler) SetupWithManager ¶
func (r *KafkaACLReconciler) SetupWithManager(mgr ctrl.Manager) error
type KafkaConnectReconciler ¶
type KafkaConnectReconciler struct {
Controller
}
KafkaConnectReconciler reconciles a KafkaConnect object
func (*KafkaConnectReconciler) SetupWithManager ¶
func (r *KafkaConnectReconciler) SetupWithManager(mgr ctrl.Manager) error
type KafkaConnectorHandler ¶
type KafkaConnectorHandler struct {
// contains filtered or unexported fields
}
type KafkaConnectorReconciler ¶
type KafkaConnectorReconciler struct {
Controller
}
KafkaConnectorReconciler reconciles a KafkaConnector object
func (*KafkaConnectorReconciler) SetupWithManager ¶
func (r *KafkaConnectorReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KafkaReconciler ¶
type KafkaReconciler struct {
Controller
}
KafkaReconciler reconciles a Kafka object
func (*KafkaReconciler) SetupWithManager ¶
func (r *KafkaReconciler) SetupWithManager(mgr ctrl.Manager) error
type KafkaSchemaHandler ¶
type KafkaSchemaHandler struct{}
type KafkaSchemaReconciler ¶
type KafkaSchemaReconciler struct {
Controller
}
KafkaSchemaReconciler reconciles a KafkaSchema object
func (*KafkaSchemaReconciler) SetupWithManager ¶
func (r *KafkaSchemaReconciler) SetupWithManager(mgr ctrl.Manager) error
type KafkaTopicHandler ¶
type KafkaTopicHandler struct{}
type KafkaTopicReconciler ¶
type KafkaTopicReconciler struct {
Controller
}
KafkaTopicReconciler reconciles a KafkaTopic object
func (*KafkaTopicReconciler) SetupWithManager ¶
func (r *KafkaTopicReconciler) SetupWithManager(mgr ctrl.Manager) error
type MySQLReconciler ¶ added in v0.6.0
type MySQLReconciler struct {
Controller
}
MySQLReconciler reconciles a MySQL object
func (*MySQLReconciler) SetupWithManager ¶ added in v0.6.0
func (r *MySQLReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type OpenSearchHandler ¶ added in v0.3.0
type OpenSearchHandler struct{}
type OpenSearchReconciler ¶ added in v0.3.0
type OpenSearchReconciler struct {
Controller
}
OpenSearchReconciler reconciles a OpenSearch object
func (*OpenSearchReconciler) SetupWithManager ¶ added in v0.3.0
func (r *OpenSearchReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PostgreSQLReconciler ¶
type PostgreSQLReconciler struct {
Controller
}
PostgreSQLReconciler reconciles a PostgreSQL object
func (*PostgreSQLReconciler) SetupWithManager ¶
func (r *PostgreSQLReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProjectReconciler ¶
type ProjectReconciler struct {
Controller
}
ProjectReconciler reconciles a Project object
func (*ProjectReconciler) SetupWithManager ¶
func (r *ProjectReconciler) SetupWithManager(mgr ctrl.Manager) error
type ProjectVPCHandler ¶
type ProjectVPCHandler struct{}
type ProjectVPCReconciler ¶
type ProjectVPCReconciler struct {
Controller
}
ProjectVPCReconciler reconciles a ProjectVPC object
func (*ProjectVPCReconciler) SetupWithManager ¶
func (r *ProjectVPCReconciler) SetupWithManager(mgr ctrl.Manager) error
type RedisHandler ¶ added in v0.2.0
type RedisHandler struct{}
type RedisReconciler ¶ added in v0.2.0
type RedisReconciler struct {
Controller
}
RedisReconciler reconciles a Redis object
func (*RedisReconciler) SetupWithManager ¶ added in v0.2.0
func (r *RedisReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type SecretFinalizerGCController ¶
SecretFinalizerGCController manages the protection finalizer of the client token secrets, to give the controllers a chance to delete the aiven instances
func (*SecretFinalizerGCController) SetupWithManager ¶
func (c *SecretFinalizerGCController) SetupWithManager(mgr ctrl.Manager, hasDefaultToken bool) error
type ServiceIntegrationHandler ¶
type ServiceIntegrationHandler struct{}
type ServiceIntegrationReconciler ¶
type ServiceIntegrationReconciler struct {
Controller
}
ServiceIntegrationReconciler reconciles a ServiceIntegration object
func (*ServiceIntegrationReconciler) SetupWithManager ¶
func (r *ServiceIntegrationReconciler) SetupWithManager(mgr ctrl.Manager) error
type ServiceUserHandler ¶
type ServiceUserHandler struct{}
type ServiceUserReconciler ¶
type ServiceUserReconciler struct {
Controller
}
ServiceUserReconciler reconciles a ServiceUser object
func (*ServiceUserReconciler) SetupWithManager ¶
func (r *ServiceUserReconciler) SetupWithManager(mgr ctrl.Manager) error
Source Files ¶
- basic_controller.go
- cassandra_controller.go
- clickhouse_controller.go
- clickhouseuser_controller.go
- common.go
- connectionpool_controller.go
- database_controller.go
- generic_service_handler.go
- grafana_controller.go
- kafka_controller.go
- kafkaacl_controller.go
- kafkaconnect_controller.go
- kafkaconnector_controller.go
- kafkaschema_controller.go
- kafkatopic_controller.go
- mysql_controller.go
- opensearch_controller.go
- postgresql_controller.go
- project_controller.go
- projectvpc_controller.go
- redis_controller.go
- secret_finalizer_gc_controller.go
- serviceintegration_controller.go
- serviceuser_controller.go
- setup.go