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 + Extra map[string]interface{} + Name string + func (opts CreateOpts) ToGroupCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToGroupCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *eclcloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Group, error) + type DeleteResult struct + func Delete(client *eclcloud.ServiceClient, groupID string) (r DeleteResult) + type GetResult struct + func Get(client *eclcloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Group, error) + type Group struct + Description string + DomainID string + Extra map[string]interface{} + ID string + Links map[string]interface{} + Name string + func ExtractGroups(r pagination.Page) ([]Group, error) + func (r *Group) UnmarshalJSON(b []byte) error + type GroupPage struct + func (r GroupPage) IsEmpty() (bool, error) + func (r GroupPage) NextPageURL() (string, error) + type InvalidListFilter struct + FilterName string + func (e InvalidListFilter) Error() string + type ListOpts struct + DomainID string + Filters map[string]string + Name string + func (opts ListOpts) ToGroupListQuery() (string, error) + type ListOptsBuilder interface + ToGroupListQuery func() (string, error) + type UpdateOpts struct + Description string + DomainID string + Extra map[string]interface{} + Name string + func (opts UpdateOpts) ToGroupUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToGroupUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *eclcloud.ServiceClient, groupID string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Group, error) Other modules containing this package github.com/nttcom/eclcloud github.com/nttcom/eclcloud/v2 github.com/nttcom/eclcloud/v3