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
- type API
- func (a *API) All(ctx context.Context, options ...resource.ListOption) ([]*Order, error)
- func (a *API) Create(ctx context.Context, opts CreateOpts, options ...CreateOption) (*Order, error)
- func (a *API) CreateRecord(ctx context.Context, options ...CreateRecordOption) (*CreatedOrder, error)
- func (a *API) Delete(ctx context.Context, id string) error
- func (a *API) Fetch(ctx context.Context, ref resource.Ref, options ...FetchOption) (*FetchedOrder, error)
- func (a *API) Find(ctx context.Context, ref resource.Ref, options ...resource.LookupOption) (*Order, error)
- func (a *API) Get(ctx context.Context, id string) (*Order, error)
- func (a *API) List(ctx context.Context, options ...ListOption) iter.Seq2[*Order, error]
- func (a *API) RawClient() *gophercloud.ServiceClient
- func (a *API) Remove(ctx context.Context, ref resource.Ref, options ...resource.LookupOption) error
- func (a *API) WaitFor(ctx context.Context, ref resource.Ref, status string, ...) (*Order, error)
- func (a *API) WaitForDeletion(ctx context.Context, ref resource.Ref, options ...resource.WaitOption) error
- type CreateOption
- type CreateOpts
- type CreateRecordOption
- func WithCreateRecordAttribute(key string, value any) CreateRecordOption
- func WithCreateRecordAttributes(value map[string]any) CreateRecordOption
- func WithCreateRecordField(key string, value any) CreateRecordOption
- func WithCreateRecordHeader(key, value string) CreateRecordOption
- func WithCreateRecordOptions(value CreateRecordOpts) CreateRecordOption
- type CreateRecordOpts
- type CreateResult
- type CreatedOrder
- type DeleteResult
- type FetchOption
- type FetchOpts
- type FetchedOrder
- type GetResult
- type ListOption
- type ListOpts
- type Meta
- type MetaOpts
- type Order
- type OrderPage
- type OrderType
Constants ¶
const AsymmetricOrder = upstream.AsymmetricOrder
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) 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 ¶
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) RawClient ¶
func (a *API) RawClient() *gophercloud.ServiceClient
func (*API) WaitForDeletion ¶
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 ¶
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 ListOption ¶
func WithListOptions ¶
func WithListOptions(value ListOpts) ListOption
func WithListQuery ¶
func WithListQuery(key, value string) ListOption