Versions in this module Expand all Collapse all v4 v4.0.0 Jun 4, 2024 Changes in this version + func List(client *eclcloud.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 *eclcloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Project, error) + type DeleteResult struct + func Delete(client *eclcloud.ServiceClient, projectID string) (r DeleteResult) + type GetResult struct + func Get(client *eclcloud.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 + 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 *eclcloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Project, error) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v3