Documentation ¶
Index ¶
- Constants
- func AddBackup(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddMaintenanceJob(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddServiceBillingLabel(ctx context.Context, comp *v1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func AddUrlToConnectionDetails(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func DeployRedis(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func ManageRelease(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func ResizePVCs(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
- func RestoreBackup(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
Constants ¶
View Source
const ( // RedisHost is env variable in the connection secret RedisHost = "REDIS_HOST" // RedisUser is env variable in the connection secret RedisUser = "REDIS_USERNAME" // RedisPassword is env variable in the connection secret RedisPassword = "REDIS_PASSWORD" // RedisPort is env variable in the connection secret RedisPort = "REDIS_PORT" // RedisURL is env variable in the connection secret RedisURL = "REDIS_URL" )
Variables ¶
This section is empty.
Functions ¶
func AddBackup ¶
func AddBackup(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
AddBackup creates an object bucket and a K8up schedule to do the actual backup.
func AddMaintenanceJob ¶
func AddMaintenanceJob(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
AddMaintenanceJob will add a job to do the maintenance for the instance
func AddServiceBillingLabel ¶ added in v4.97.1
func AddServiceBillingLabel(ctx context.Context, comp *v1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
AddServiceBillingLabel adds billingLabel to all the objects of a services that must be billed
func AddUrlToConnectionDetails ¶ added in v4.30.0
func AddUrlToConnectionDetails(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
AddUrlToConnectionDetails changes the desired state of a FunctionIO
func DeployRedis ¶ added in v4.45.0
func ManageRelease ¶
func ManageRelease(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
ManageRelease will update the release in line with other composition functions
func ResizePVCs ¶
func ResizePVCs(ctx context.Context, comp *vshnv1.VSHNRedis, svc *runtime.ServiceRuntime) *xfnproto.Result
ResizePVCs will add a job to do the pvc resize for the instance
func RestoreBackup ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.