Versions in this module Expand all Collapse all v0 v0.7.1 Dec 27, 2019 Changes in this version + var Active = "active" + var Allocating AllocationState = "allocating" + var Error = "error" + func ExtractAllocationsInto(r pagination.Page, v interface{}) error + func List(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type Allocation struct + CandidateNodes []string + CreatedAt time.Time + Extra map[string]string + LastError string + Links []interface{} + Name string + NodeUUID string + ResourceClass string + State string + Traits []string + UUID string + UpdatedAt time.Time + func ExtractAllocations(r pagination.Page) ([]Allocation, error) + type AllocationPage struct + func (r AllocationPage) IsEmpty() (bool, error) + func (r AllocationPage) NextPageURL() (string, error) + type AllocationState string + type CreateOpts struct + CandidateNodes []string + Extra map[string]string + Name string + ResourceClass string + Traits []string + UUID string + func (opts CreateOpts) ToAllocationCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToAllocationCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Allocation, error) + func (r CreateResult) ExtractInto(v interface{}) error + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Allocation, error) + func (r GetResult) ExtractInto(v interface{}) error + type ListOpts struct + Fields []string + Limit int + Marker string + Node string + ResourceClass string + SortDir string + SortKey string + State AllocationState + func (opts ListOpts) ToAllocationListQuery() (string, error) + type ListOptsBuilder interface + ToAllocationListQuery func() (string, error)