Versions in this module Expand all Collapse all v0 v0.16.0 Dec 31, 2020 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + Input map[string]interface{} + Type string + func (opts CreateOpts) ToTaskCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToTaskCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Task, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, taskID string) (r GetResult) + func (r GetResult) Extract() (*Task, error) + type ListOpts struct + ID string + Limit int + Marker string + SortDir string + SortKey string + Status TaskStatus + Type string + func (opts ListOpts) ToTaskListQuery() (string, error) + type ListOptsBuilder interface + ToTaskListQuery func() (string, error) + type Task struct + CreatedAt time.Time + ExpiresAt time.Time + ID string + Input map[string]interface{} + Message string + Owner string + Result map[string]interface{} + Schema string + Self string + Status string + Type string + UpdatedAt time.Time + func ExtractTasks(r pagination.Page) ([]Task, error) + type TaskPage struct + func (r TaskPage) IsEmpty() (bool, error) + func (r TaskPage) NextPageURL() (string, error) + type TaskStatus string + const TaskStatusFailure + const TaskStatusPending + const TaskStatusProcessing + const TaskStatusSuccess