Versions in this module Expand all Collapse all v1 v1.0.21 Mar 14, 2020 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Description string + DomainID string + Enabled *bool + IsDomain *bool + Name string + ParentID string + func (opts CreateOpts) ToProjectCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToProjectCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Project, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, projectID string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Project, error) + type ListOpts struct + DomainID string + Enabled *bool + IsDomain *bool + Name string + ParentID string + func (opts ListOpts) ToProjectListQuery() (string, error) + type ListOptsBuilder interface + ToProjectListQuery func() (string, error) + type Project struct + Description string + DomainID string + Enabled bool + ID string + IsDomain bool + Name string + ParentID string + func ExtractProjects(r pagination.Page) ([]Project, error) + type ProjectPage struct + func (r ProjectPage) IsEmpty() (bool, error) + func (r ProjectPage) NextPageURL() (string, error) + type UpdateOpts struct + Description string + DomainID string + Enabled *bool + IsDomain *bool + Name string + ParentID string + func (opts UpdateOpts) ToProjectUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToProjectUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Project, error)