Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigGroup ¶
type ConfigGroup struct {
Configuration *CreateOpts `json:"configuration"`
}
func (*ConfigGroup) Map ¶
func (opts *ConfigGroup) Map() (map[string]interface{}, error)
type ConfigGroupResp ¶
type ConfigGroupResp struct { ID string `json:"id"` DatastoreName string `json:"datastore_name"` DatastoreVersionName string `json:"datastore_version_name"` Name string `json:"name"` Values map[string]interface{} `json:"values"` Updated string `json:"updated"` Created string `json:"created"` Description string `json:"description"` }
type ConfigGroupRespOpts ¶
type ConfigGroupRespOpts struct {
Configuration *ConfigGroupResp `json:"configuration"`
}
type CreateOpts ¶
type CreateOpts struct { Datastore *datastores.DatastoreShort `json:"datastore"` Name string `json:"name"` Values map[string]interface{} `json:"values"` Description string `json:"description,omitempty"` }
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts OptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*ConfigGroupResp, error)
type DeleteResult ¶
type DeleteResult struct {
gophercloud.ErrResult
}
func Delete ¶
func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func Get ¶
func Get(client *gophercloud.ServiceClient, id string) (r GetResult)
func (GetResult) Extract ¶
func (r GetResult) Extract() (*ConfigGroupResp, error)
type OptsBuilder ¶
type UpdateOpt ¶
type UpdateOpt struct {
Configuration *UpdateOpts `json:"configuration"`
}
type UpdateOpts ¶
type UpdateResult ¶
type UpdateResult struct {
gophercloud.ErrResult
}
func Update ¶
func Update(client *gophercloud.ServiceClient, id string, opts OptsBuilder) (r UpdateResult)
Click to show internal directories.
Click to hide internal directories.