members

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMemberOpts

type GetMemberOpts struct {
	ImageId  string `json:"-" required:"true"`
	MemberId string `json:"-" required:"true"`
}

type ListMembersResponse

type ListMembersResponse struct {
	Members []Member `json:"members"`
	Schema  string   `json:"schema"`
}

func ListMembers

func ListMembers(client *golangsdk.ServiceClient, imageId string) (*ListMembersResponse, error)

type Member

type Member struct {
	// Specifies the image sharing status.
	Status string `json:"status"`
	// Specifies the time when a shared image was created. The value is in UTC format.
	CreatedAt time.Time `json:"created_at"`
	// Specifies the time when a shared image was updated. The value is in UTC format.
	UpdatedAt time.Time `json:"updated_at"`
	// Specifies the image ID.
	ImageId string `json:"image_id"`
	// Specifies the member ID.
	MemberId string `json:"member_id"`
	// Specifies the sharing schema.
	Schema string `json:"schema"`
}

func GetMember

func GetMember(client *golangsdk.ServiceClient, opts GetMemberOpts) (*Member, error)

Jump to

Keyboard shortcuts

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