redis

package
v2.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataSourceCluster

func DataSourceCluster() *schema.Resource

func DataSourceClusterRead

func DataSourceClusterRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func NewAPIWithZoneAndID

func NewAPIWithZoneAndID(m interface{}, id string) (*redis.API, scw.Zone, string, error)

NewAPIWithZoneAndID returns a Redis API with zone and ID extracted from the state

func ResourceCluster

func ResourceCluster() *schema.Resource

func ResourceClusterCreate

func ResourceClusterCreate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceClusterDelete

func ResourceClusterDelete(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceClusterRead

func ResourceClusterRead(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceClusterUpdate

func ResourceClusterUpdate(ctx context.Context, d *schema.ResourceData, m interface{}) diag.Diagnostics

func ResourceClusterUpdateEndpoints

func ResourceClusterUpdateEndpoints(ctx context.Context, d *schema.ResourceData, redisAPI *redis.API, zone scw.Zone, clusterID string) diag.Diagnostics

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL