Documentation ¶
Index ¶
- Variables
- func AddExtensions(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddLoadBalancerIPToConnectionDetails(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddPvcSecret(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddUrlToConnectionDetails(ctx context.Context, svc *runtime.ServiceRuntime) *v1beta1.Result
- func ConfigureReplication(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func DelayClusterDeployment(_ context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func DeployPostgreSQL(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func TransformRestart(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
- func TransformSchedule(ctx context.Context, svc *runtime.ServiceRuntime) *xfnproto.Result
Constants ¶
This section is empty.
Variables ¶
var ( // PostgresqlHost is env variable in the connection secret PostgresqlHost = "POSTGRESQL_HOST" // PostgresqlUser is env variable in the connection secret PostgresqlUser = "POSTGRESQL_USER" // PostgresqlPassword is env variable in the connection secret PostgresqlPassword = "POSTGRESQL_PASSWORD" // PostgresqlPort is env variable in the connection secret PostgresqlPort = "POSTGRESQL_PORT" // PostgresqlDb is env variable in the connection secret PostgresqlDb = "POSTGRESQL_DB" // PostgresqlUrl is env variable in the connection secret PostgresqlUrl = "POSTGRESQL_URL" )
Functions ¶
func AddExtensions ¶
AddExtensions adds the user specified extensions to the SGCluster.
func AddPvcSecret ¶
AddPvcSecret adds a secret for the encrypted PVC for the PostgreSQL instance.
func AddUrlToConnectionDetails ¶
AddUrlToConnectionDetails changes the desired state of a FunctionIO
func ConfigureReplication ¶
ConfigureReplication configures the stackgres replication based on the claim
func DelayClusterDeployment ¶ added in v4.45.1
DelayClusterDeployment adds the dependencies on the sgcluster object, so that the provider-kubernetes doesn't loop anymore. The actual cluster object will only be deployed once the dependencies are deployed, synced and ready.
func DeployPostgreSQL ¶ added in v4.45.0
func TransformRestart ¶
TransformRestart triggers a restart of the postgreqsql instance if there is a pending restart and the composite is configured to restart on update.
func TransformSchedule ¶
TransformSchedule initializes the backup and maintenance schedules if the user did not explicitly provide a schedule.
Types ¶
This section is empty.