Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dbprivilege ¶
type Dbprivilege struct {
Resp string `json:"resp"`
}
type DbprivilegeBuilder ¶
type DbprivilegeOpts ¶
type DbprivilegeOpts struct { Dbname string `json:"db_name" required:"true"` Users []User `json:"users" required:"true"` }
func (DbprivilegeOpts) ToDbprivilegeHaMap ¶
func (opts DbprivilegeOpts) ToDbprivilegeHaMap() (map[string]interface{}, error)
type DbprivilegeResult ¶
type DbprivilegeResult struct {
gophercloud.Result
}
func Create ¶
func Create(client *gophercloud.ServiceClient, opts DbprivilegeBuilder, instanceId string) (r DbprivilegeResult)
func Delete ¶
func Delete(client *gophercloud.ServiceClient, opts DeleteDbprivilegeBuilder, instanceId string) (r DbprivilegeResult)
func (DbprivilegeResult) Extract ¶
func (r DbprivilegeResult) Extract() (*Dbprivilege, error)
type DeleteDbprivilegeOpts ¶
type DeleteDbprivilegeOpts struct { Dbname string `json:"db_name" required:"true"` Users []DeleteUsers `json:"users" required:"true"` }
func (DeleteDbprivilegeOpts) DeleteDbprivilegeMap ¶
func (opts DeleteDbprivilegeOpts) DeleteDbprivilegeMap() (map[string]interface{}, error)
type DeleteUsers ¶
type DeleteUsers struct {
Name string `json:"name" required:"true"`
}
Click to show internal directories.
Click to hide internal directories.