Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(client *gophercloud.ServiceClient) pagination.Pager + type ActionResult struct + func AddHost(client *gophercloud.ServiceClient, aggregateID int, opts AddHostOpts) (r ActionResult) + func RemoveHost(client *gophercloud.ServiceClient, aggregateID int, opts RemoveHostOpts) (r ActionResult) + func SetMetadata(client *gophercloud.ServiceClient, aggregateID int, opts SetMetadataOpts) (r ActionResult) + func (r ActionResult) Extract() (*Aggregate, error) + type AddHostOpts struct + Host string + func (opts AddHostOpts) ToAggregatesAddHostMap() (map[string]interface{}, error) + type Aggregate struct + AvailabilityZone string + CreatedAt time.Time + Deleted bool + DeletedAt time.Time + Hosts []string + ID int + Metadata map[string]string + Name string + UpdatedAt time.Time + func ExtractAggregates(p pagination.Page) ([]Aggregate, error) + func (r *Aggregate) UnmarshalJSON(b []byte) error + type AggregatesPage struct + func (page AggregatesPage) IsEmpty() (bool, error) + type CreateOpts struct + AvailabilityZone string + Name string + func (opts CreateOpts) ToAggregatesCreateMap() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOpts) (r CreateResult) + func (r CreateResult) Extract() (*Aggregate, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, aggregateID int) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, aggregateID int) (r GetResult) + func (r GetResult) Extract() (*Aggregate, error) + type RemoveHostOpts struct + Host string + func (opts RemoveHostOpts) ToAggregatesRemoveHostMap() (map[string]interface{}, error) + type SetMetadataOpts struct + Metadata map[string]interface{} + func (opts SetMetadataOpts) ToSetMetadataMap() (map[string]interface{}, error) + type UpdateOpts struct + AvailabilityZone string + Name string + func (opts UpdateOpts) ToAggregatesUpdateMap() (map[string]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, aggregateID int, opts UpdateOpts) (r UpdateResult) + func (r UpdateResult) Extract() (*Aggregate, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3