members

package
v0.0.0-...-78de79c 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: 12 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

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API owns the client and provides concrete inputs, optional extensions and normalized results.

func New

func New(client *gophercloud.ServiceClient) *API

func (*API) Create

func (a *API) Create(ctx context.Context, id string, member string) (*Member, error)

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

func (*API) Delete

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

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

func (*API) Get

func (a *API) Get(ctx context.Context, imageID string, memberID string) (*Member, error)

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

func (*API) InImage

func (a *API) InImage(ctx context.Context, parent resource.Ref) (*MemberScope, error)

InImage resolves the parent once; explicit IDs require no lookup request.

func (*API) List

func (a *API) List(ctx context.Context, id string) iter.Seq2[*Member, error]

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

func (*API) RawClient

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

func (*API) Update

func (a *API) Update(ctx context.Context, imageID string, memberID string, opts UpdateOpts, options ...UpdateOption) (*Member, error)

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

type CreateResult

type CreateResult = upstream.CreateResult

type DeleteResult

type DeleteResult = upstream.DeleteResult

type DetailsResult

type DetailsResult = upstream.DetailsResult

type Member

type Member = upstream.Member

type MemberPage

type MemberPage = upstream.MemberPage

type MemberScope

type MemberScope struct {
	*resource.Collection[Member]
	// contains filtered or unexported fields
}

MemberScope fixes the parent of its resources, sharing the SDK's lookup and wait policies.

func (*MemberScope) Create

func (s *MemberScope) Create(ctx context.Context, member string) (*Member, error)

Create applies Create within the fixed parent.

func (*MemberScope) Update

func (s *MemberScope) Update(ctx context.Context, ref resource.Ref, opts UpdateOpts, options ...UpdateOption) (*Member, error)

Update applies Update within the fixed parent.

type UpdateOption

type UpdateOption = request.Option[UpdateOpts]

func WithUpdateField

func WithUpdateField(key string, value any) UpdateOption

func WithUpdateOptions

func WithUpdateOptions(value UpdateOpts) UpdateOption

type UpdateOpts

type UpdateOpts = upstream.UpdateOpts

type UpdateResult

type UpdateResult = upstream.UpdateResult

Jump to

Keyboard shortcuts

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