Documentation ¶
Index ¶
- func List(client *gophercloud.ServiceClient) pagination.Pager
- type Configurations
- type ConfigurationsPage
- type CreateConfigurations
- type CreateConfigurationsBuilder
- type CreateConfigurationsOpts
- type CreateConfigurationsRes
- type CreateConfigurationsResult
- type Datastore
- type GetConfigurationsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(client *gophercloud.ServiceClient) pagination.Pager
Types ¶
type Configurations ¶
type Configurations struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` DatastoreVersionName string `json:"datastore_version_name"` DatastoreName string `json:"datastore_name"` Created string `json:"created"` Updated string `json:"updated"` UserDefined bool `json:"user_defined"` }
type ConfigurationsPage ¶
type ConfigurationsPage struct {
pagination.Offset
}
func (ConfigurationsPage) IsEmpty ¶
func (r ConfigurationsPage) IsEmpty() (bool, error)
type CreateConfigurations ¶
type CreateConfigurations struct {
CreateConfigurationsRes `json:"configuration" required:"true"`
}
type CreateConfigurationsOpts ¶
type CreateConfigurationsOpts struct { Name string `json:"name" required:"true"` Description string `json:"description,omitempty"` Values map[string]string `json:"values,omitempty"` Datastore *Datastore `json:"datastore" required:"true"` }
func (CreateConfigurationsOpts) ToCreateConfigurationsMap ¶
func (opts CreateConfigurationsOpts) ToCreateConfigurationsMap() (map[string]interface{}, error)
type CreateConfigurationsRes ¶
type CreateConfigurationsResult ¶
type CreateConfigurationsResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts CreateConfigurationsBuilder) (r CreateConfigurationsResult)
func (CreateConfigurationsResult) Extract ¶
func (r CreateConfigurationsResult) Extract() (*CreateConfigurations, error)
type GetConfigurationsResponse ¶
type GetConfigurationsResponse struct { ConfigurationsList []Configurations `json:"configurations"` Bucket string `json:"bucket"` }
func ExtractGetConfigurations ¶
func ExtractGetConfigurations(r pagination.Page) (GetConfigurationsResponse, error)
Click to show internal directories.
Click to hide internal directories.