Versions in this module Expand all Collapse all v1 v1.5.0-1 Jun 24, 2023 v1.2.1 Mar 20, 2023 Changes in this version + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListAvailable(client *gophercloud.ServiceClient) pagination.Pager + type CreateOpts struct + Description string + DomainID string + Enabled *bool + Extra map[string]interface{} + IsDomain *bool + Name string + Options map[Option]interface{} + ParentID string + Tags []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 InvalidListFilter struct + FilterName string + func (e InvalidListFilter) Error() string + type ListOpts struct + DomainID string + Enabled *bool + Filters map[string]string + IsDomain *bool + Name string + NotTags string + NotTagsAny string + ParentID string + Tags string + TagsAny string + func (opts ListOpts) ToProjectListQuery() (string, error) + type ListOptsBuilder interface + ToProjectListQuery func() (string, error) + type Option string + const Immutable + type Project struct + Description string + DomainID string + Enabled bool + Extra map[string]interface{} + ID string + IsDomain bool + Name string + Options map[Option]interface{} + ParentID string + Tags []string + func ExtractProjects(r pagination.Page) ([]Project, error) + func (r *Project) UnmarshalJSON(b []byte) 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 + Extra map[string]interface{} + IsDomain *bool + Name string + Options map[Option]interface{} + ParentID string + Tags *[]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)