inmemorydb

package
v6.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReplicaSetDataCreate

func GetReplicaSetDataCreate(d *schema.ResourceData) inMemoryDB.ReplicaSetCreate

GetReplicaSetDataCreate reads the data from the tf configuration files and populates a create request.

func GetReplicaSetDataProperties

func GetReplicaSetDataProperties(d *schema.ResourceData) *inMemoryDB.ReplicaSet

GetReplicaSetDataProperties reads all the properties from the configuration file and returns a structure that will be used to populate update/create requests.

func GetReplicaSetDataUpdate

func GetReplicaSetDataUpdate(d *schema.ResourceData) inMemoryDB.ReplicaSetEnsure

GetReplicaSetDataUpdate reads the data from the tf configuration files and populates an update request.

Types

type InMemoryDBClient

type InMemoryDBClient struct {
	// contains filtered or unexported fields
}

func NewInMemoryDBClient

func NewInMemoryDBClient(username, password, token, url, version, terraformVersion string, insecure bool) *InMemoryDBClient

func (*InMemoryDBClient) CreateReplicaSet

CreateReplicaSet sends a 'POST' request to the API to create a replica set.

func (*InMemoryDBClient) DeleteReplicaSet

func (c *InMemoryDBClient) DeleteReplicaSet(ctx context.Context, replicaSetID, location string) (*inMemoryDB.APIResponse, error)

func (*InMemoryDBClient) GetReplicaSet

func (c *InMemoryDBClient) GetReplicaSet(ctx context.Context, replicaSetID, location string) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)

func (*InMemoryDBClient) GetSnapshot

func (c *InMemoryDBClient) GetSnapshot(ctx context.Context, snapshotID, location string) (inMemoryDB.SnapshotRead, *inMemoryDB.APIResponse, error)

func (*InMemoryDBClient) IsReplicaSetDeleted

func (c *InMemoryDBClient) IsReplicaSetDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*InMemoryDBClient) IsReplicaSetReady

func (c *InMemoryDBClient) IsReplicaSetReady(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*InMemoryDBClient) ListReplicaSets

func (c *InMemoryDBClient) ListReplicaSets(ctx context.Context, filterName, location string) (inMemoryDB.ReplicaSetReadList, *inMemoryDB.APIResponse, error)

func (*InMemoryDBClient) SetReplicaSetData

func (c *InMemoryDBClient) SetReplicaSetData(d *schema.ResourceData, replicaSet inMemoryDB.ReplicaSetRead) error

func (*InMemoryDBClient) SetSnapshotData

func (c *InMemoryDBClient) SetSnapshotData(d *schema.ResourceData, snapshot inMemoryDB.SnapshotRead) error

func (*InMemoryDBClient) UpdateReplicaSet

func (c *InMemoryDBClient) UpdateReplicaSet(ctx context.Context, replicaSetID, location string, replicaSet inMemoryDB.ReplicaSetEnsure) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)

Jump to

Keyboard shortcuts

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