Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Action ¶
func Action(client *golangsdk.ServiceClient, id string, opts ActionOpts) error
Types ¶
type ActionOpts ¶
type ActionOpts struct {
Action string `json:"action" required:"true"`
}
type CreateOpts ¶
type EnterpriseProject ¶
type EnterpriseProject struct {
ID string `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
Type string `json:"type"`
Status int `json:"status"`
DeleteFlag bool `json:"delete_flag"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
EnterpriseProject represents an EPS enterprise project.
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOpts) (*EnterpriseProject, error)
func Get ¶
func Get(client *golangsdk.ServiceClient, id string) (*EnterpriseProject, error)
func Update ¶
func Update(client *golangsdk.ServiceClient, id string, opts UpdateOpts) (*EnterpriseProject, error)
type ListResult ¶
type ListResult struct {
EnterpriseProjects []EnterpriseProject `json:"enterprise_projects"`
TotalCount int `json:"total_count"`
}
func List ¶
func List(client *golangsdk.ServiceClient, opts ListOpts) (*ListResult, error)
type Quotas ¶
type Quotas struct {
Resources []Quota `json:"resources"`
}
func ListQuotas ¶
func ListQuotas(client *golangsdk.ServiceClient) (*Quotas, error)
type UpdateOpts ¶
Click to show internal directories.
Click to hide internal directories.