Documentation
¶
Index ¶
- func Create(client *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
- func Delete(client *gophercloud.ServiceClient, configID string) os.DeleteResult
- func Get(client *gophercloud.ServiceClient, configID string) os.GetResult
- func GetDatastoreParam(client *gophercloud.ServiceClient, datastoreID, versionID, paramID string) os.ParamResult
- func GetGlobalParam(client *gophercloud.ServiceClient, versionID, paramID string) os.ParamResult
- func List(client *gophercloud.ServiceClient) pagination.Pager
- func ListDatastoreParams(client *gophercloud.ServiceClient, datastoreID, versionID string) pagination.Pager
- func ListGlobalParams(client *gophercloud.ServiceClient, versionID string) pagination.Pager
- func ListInstances(client *gophercloud.ServiceClient, configID string) pagination.Pager
- func Replace(client *gophercloud.ServiceClient, configID string, opts os.UpdateOptsBuilder) os.ReplaceResult
- func Update(client *gophercloud.ServiceClient, configID string, opts os.UpdateOptsBuilder) os.UpdateResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(client *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult
Create will create a new configuration group.
func Delete ¶
func Delete(client *gophercloud.ServiceClient, configID string) os.DeleteResult
Delete will permanently delete a configuration group. Please note that config groups cannot be deleted whilst still attached to running instances - you must detach and then delete them.
func Get ¶
func Get(client *gophercloud.ServiceClient, configID string) os.GetResult
Get will retrieve the details for a specified configuration group.
func GetDatastoreParam ¶
func GetDatastoreParam(client *gophercloud.ServiceClient, datastoreID, versionID, paramID string) os.ParamResult
GetDatastoreParam will retrieve information about a specific configuration parameter. For example, you can use this operation to understand more about "innodb_file_per_table" configuration param for MySQL datastores. You will need the param's ID first, which can be attained by using the ListDatastoreParams operation.
func GetGlobalParam ¶
func GetGlobalParam(client *gophercloud.ServiceClient, versionID, paramID string) os.ParamResult
GetGlobalParam is similar to GetDatastoreParam but does not require a DatastoreID.
func List ¶
func List(client *gophercloud.ServiceClient) pagination.Pager
List will list all of the available configurations.
func ListDatastoreParams ¶
func ListDatastoreParams(client *gophercloud.ServiceClient, datastoreID, versionID string) pagination.Pager
ListDatastoreParams will list all the available and supported parameters that can be used for a particular datastore ID and a particular version. For example, if you are wondering how you can configure a MySQL 5.6 instance, you can use this operation (you will need to retrieve the MySQL datastore ID by using the datastores API).
func ListGlobalParams ¶
func ListGlobalParams(client *gophercloud.ServiceClient, versionID string) pagination.Pager
ListGlobalParams is similar to ListDatastoreParams but does not require a DatastoreID.
func ListInstances ¶
func ListInstances(client *gophercloud.ServiceClient, configID string) pagination.Pager
ListInstances will list all the instances associated with a particular configuration group.
func Replace ¶
func Replace(client *gophercloud.ServiceClient, configID string, opts os.UpdateOptsBuilder) os.ReplaceResult
Replace will modify an existing configuration group by overwriting the entire parameter group with the new values provided. Any existing keys not included in UpdateOptsBuilder will be deleted.
func Update ¶
func Update(client *gophercloud.ServiceClient, configID string, opts os.UpdateOptsBuilder) os.UpdateResult
Update will modify an existing configuration group by performing a merge between new and existing values. If the key already exists, the new value will overwrite. All other keys will remain unaffected.
Types ¶
This section is empty.