gophercloud: Index | Files

package configurations

import ""


Package Files

delegate.go doc.go

func Create Uses

func Create(client *gophercloud.ServiceClient, opts os.CreateOptsBuilder) os.CreateResult

Create will create a new configuration group.

func Delete Uses

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 Uses

func Get(client *gophercloud.ServiceClient, configID string) os.GetResult

Get will retrieve the details for a specified configuration group.

func GetDatastoreParam Uses

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 Uses

func GetGlobalParam(client *gophercloud.ServiceClient, versionID, paramID string) os.ParamResult

GetGlobalParam is similar to GetDatastoreParam but does not require a DatastoreID.

func List Uses

func List(client *gophercloud.ServiceClient) pagination.Pager

List will list all of the available configurations.

func ListDatastoreParams Uses

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 Uses

func ListGlobalParams(client *gophercloud.ServiceClient, versionID string) pagination.Pager

ListGlobalParams is similar to ListDatastoreParams but does not require a DatastoreID.

func ListInstances Uses

func ListInstances(client *gophercloud.ServiceClient, configID string) pagination.Pager

ListInstances will list all the instances associated with a particular configuration group.

func Replace Uses

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 Uses

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.

Package configurations imports 3 packages (graph). Updated 2018-07-26. Refresh now. Tools for package owners.