Documentation ¶
Index ¶
- func GetReplicaSetDataCreate(d *schema.ResourceData) inMemoryDB.ReplicaSetCreate
- func GetReplicaSetDataProperties(d *schema.ResourceData) *inMemoryDB.ReplicaSet
- func GetReplicaSetDataUpdate(d *schema.ResourceData) inMemoryDB.ReplicaSetEnsure
- type InMemoryDBClient
- func (c *InMemoryDBClient) CreateReplicaSet(ctx context.Context, replicaSet inMemoryDB.ReplicaSetCreate, location string) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)
- func (c *InMemoryDBClient) DeleteReplicaSet(ctx context.Context, replicaSetID, location string) (*inMemoryDB.APIResponse, error)
- func (c *InMemoryDBClient) GetReplicaSet(ctx context.Context, replicaSetID, location string) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)
- func (c *InMemoryDBClient) GetSnapshot(ctx context.Context, snapshotID, location string) (inMemoryDB.SnapshotRead, *inMemoryDB.APIResponse, error)
- func (c *InMemoryDBClient) IsReplicaSetDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *InMemoryDBClient) IsReplicaSetReady(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *InMemoryDBClient) ListReplicaSets(ctx context.Context, filterName, location string) (inMemoryDB.ReplicaSetReadList, *inMemoryDB.APIResponse, error)
- func (c *InMemoryDBClient) SetReplicaSetData(d *schema.ResourceData, replicaSet inMemoryDB.ReplicaSetRead) error
- func (c *InMemoryDBClient) SetSnapshotData(d *schema.ResourceData, snapshot inMemoryDB.SnapshotRead) error
- func (c *InMemoryDBClient) UpdateReplicaSet(ctx context.Context, replicaSetID, location string, ...) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)
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 ¶
func (c *InMemoryDBClient) CreateReplicaSet(ctx context.Context, replicaSet inMemoryDB.ReplicaSetCreate, location string) (inMemoryDB.ReplicaSetRead, *inMemoryDB.APIResponse, error)
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)
Click to show internal directories.
Click to hide internal directories.