orders

package
v0.0.0-...-dd014ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Code generated by sdkgen from Gophercloud v2.15.0; DO NOT EDIT.

Code generated by sdkgen from Gophercloud v2.15.0; DO NOT EDIT.

Index

Constants

View Source
const AsymmetricOrder = upstream.AsymmetricOrder
View Source
const KeyOrder = upstream.KeyOrder

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	Resources *resource.Collection[Order]
	// contains filtered or unexported fields
}

API owns typed operations and their shared resource policies.

func New

func New(client *gophercloud.ServiceClient) *API

func (*API) All

func (a *API) All(ctx context.Context, options ...resource.ListOption) ([]*Order, error)

func (*API) Create

func (a *API) Create(ctx context.Context, opts CreateOpts, options ...CreateOption) (*Order, error)

Create invokes the upstream API with library-owned builders and result handling.

func (*API) CreateRecord

func (a *API) CreateRecord(ctx context.Context, options ...CreateRecordOption) (*CreatedOrder, error)

CreateRecord is the owned mapping of Python create_order. Native Create retains its existing concrete options, aliases and success-code policy.

func (*API) Delete

func (a *API) Delete(ctx context.Context, id string) error

Delete invokes the upstream API with library-owned builders and result handling.

func (*API) Fetch

func (a *API) Fetch(ctx context.Context, ref resource.Ref, options ...FetchOption) (*FetchedOrder, error)

Fetch is the owned mapping of Python get_order; generated Get keeps its existing native alias and return type for compatibility.

func (*API) Find

func (a *API) Find(ctx context.Context, ref resource.Ref, options ...resource.LookupOption) (*Order, error)

func (*API) Get

func (a *API) Get(ctx context.Context, id string) (*Order, error)

Get invokes the upstream API with library-owned builders and result handling.

func (*API) List

func (a *API) List(ctx context.Context, options ...ListOption) iter.Seq2[*Order, error]

List invokes the upstream API with library-owned builders and result handling.

func (*API) RawClient

func (a *API) RawClient() *gophercloud.ServiceClient

func (*API) Remove

func (a *API) Remove(ctx context.Context, ref resource.Ref, options ...resource.LookupOption) error

func (*API) WaitFor

func (a *API) WaitFor(ctx context.Context, ref resource.Ref, status string, options ...resource.WaitOption) (*Order, error)

func (*API) WaitForDeletion

func (a *API) WaitForDeletion(ctx context.Context, ref resource.Ref, options ...resource.WaitOption) error

type CreateOption

type CreateOption = request.Option[CreateOpts]

func WithCreateField

func WithCreateField(key string, value any) CreateOption

func WithCreateOptions

func WithCreateOptions(value CreateOpts) CreateOption

type CreateOpts

type CreateOpts = upstream.CreateOpts

type CreateRecordOption

type CreateRecordOption = keymanagerread.CreateRecordOption

func WithCreateRecordAttribute

func WithCreateRecordAttribute(key string, value any) CreateRecordOption

func WithCreateRecordAttributes

func WithCreateRecordAttributes(value map[string]any) CreateRecordOption

func WithCreateRecordField

func WithCreateRecordField(key string, value any) CreateRecordOption

func WithCreateRecordHeader

func WithCreateRecordHeader(key, value string) CreateRecordOption

func WithCreateRecordOptions

func WithCreateRecordOptions(value CreateRecordOpts) CreateRecordOption

type CreateRecordOpts

type CreateRecordOpts = keymanagerread.CreateRecordOpts

CreateRecordOpts supplies declared source attributes, including explicit nulls.

type CreateResult

type CreateResult = upstream.CreateResult

type CreatedOrder

type CreatedOrder struct {
	Resource, Wire *resource.RawResource
	Envelope       json.RawMessage
	Header         http.Header
	StatusCode     int
	OrderID        *string
	SecretID       *string
}

CreatedOrder keeps seeded attributes separate from actual POST evidence. Convenience IDs and full references are passive values, not request identities.

type DeleteResult

type DeleteResult = upstream.DeleteResult

type FetchOption

type FetchOption = request.Option[FetchOpts]

func WithFetchHeader

func WithFetchHeader(key, value string) FetchOption

type FetchOpts

type FetchOpts struct{}

FetchOpts has no default query/name/wait policy. Headers are concrete options.

type FetchedOrder

type FetchedOrder struct {
	RequestID         string
	Resource, Wire    *resource.RawResource
	Envelope          json.RawMessage
	Header            http.Header
	StatusCode        int
	OrderID, SecretID *string
}

FetchedOrder separates fixed request identity, normalized attributes and actual nullable/extension fields. Passive references never redirect requests.

func (*FetchedOrder) Ref

func (value *FetchedOrder) Ref() resource.Ref

Ref maps a fetched Go value to its original executable request ID. It does not route from response id or the response's full resource reference.

type GetResult

type GetResult = upstream.GetResult

type ListOption

type ListOption = request.Option[ListOpts]

func WithListOptions

func WithListOptions(value ListOpts) ListOption

func WithListQuery

func WithListQuery(key, value string) ListOption

type ListOpts

type ListOpts = upstream.ListOpts

type Meta

type Meta = upstream.Meta

type MetaOpts

type MetaOpts = upstream.MetaOpts

type Order

type Order = upstream.Order

type OrderPage

type OrderPage = upstream.OrderPage

type OrderType

type OrderType = upstream.OrderType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL