Documentation ¶
Overview ¶
TODO: describe package here.
Index ¶
Constants ¶
View Source
const ( CloudstateStatefulServiceLabel = "cloudstate.io/stateful-service" CloudstateStatefulServiceConfigAnnotation = "cloudstate.io/stateful-service-config" CloudstateEnabledAnnotation = "cloudstate.io/enabled" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatefulServiceReconciler ¶
type StatefulServiceReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ReconcileTimeout time.Duration OperatorConfig *config.OperatorConfig Stores stores.Stores Listener listeners.StatefulServiceListener }
StatefulServiceReconciler reconciles a StatefulService object.
func (*StatefulServiceReconciler) SetupWithManager ¶
func (r *StatefulServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
type StatefulStoreConfig ¶
type StatefulStoreConfig struct { // This is the DB type and version as used by GCP. Must start with "POSTGRES_" to ensure we get a Postgres DB. DBTypeVersion string `yaml:"dbTypeVersion" env-description:"DB descriptor for GCP"` DBRegion string `yaml:"dbRegion" env-description:"GCP region for instances/databases"` PostgresDefaultCores int32 `yaml:"postgresDefaultCores" env-description:"default number of cores for Postgres SQLInstances"` PostgresDefaultMemory string `yaml:"postgresDefaultMemory" env-description:"default memory allocation (MiB) for Postgres SQLInstances"` }
func (*StatefulStoreConfig) SetDefaults ¶
func (cfg *StatefulStoreConfig) SetDefaults()
SetDefaults initializes the structure with default values.
type StatefulStoreReconciler ¶
type StatefulStoreReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme ReconcileTimeout time.Duration OperatorConfig *config.OperatorConfig Stores stores.Stores }
StatefulStoreReconciler reconciles a StatefulStore object.
func (*StatefulStoreReconciler) SetupWithManager ¶
func (r *StatefulStoreReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.