Documentation ¶
Index ¶
- Variables
- func AddPvcSecret(ctx context.Context, iof *runtime.Runtime) runtime.Result
- func AddUrlToConnectionDetails(ctx context.Context, iof *runtime.Runtime) runtime.Result
- func AddUserAlerting(ctx context.Context, iof *runtime.Runtime) runtime.Result
- func TransformRestart(ctx context.Context, iof *runtime.Runtime) runtime.Result
- func TransformSchedule(ctx context.Context, iof *runtime.Runtime) runtime.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 AddPvcSecret ¶ added in v1.1.0
AddPvcSecret adds a secret for the encrypted PVC for the PostgreSQL instance.
func AddUrlToConnectionDetails ¶ added in v1.0.0
AddUrlToConnectionDetails changes the desired state of a FunctionIO
func AddUserAlerting ¶ added in v1.0.0
AddUserAlerting adds user alerting to the PostgreSQL instance.
func TransformRestart ¶ added in v1.2.0
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 ¶ added in v1.0.0
TransformSchedule initializes the backup and maintenance schedules if the user did not explicitly provide a schedule. The maintenance will be set to a random time on Tuesday night between 21:00 and 5:00, and the backup schedule will be set to once a day between 20:00 and 4:00. If neither maintenance nor backup is set, the function will make sure that there will be backup scheduled one hour before the maintenance.
Types ¶
This section is empty.