ExtractMembers returns a slice of Members contained in a single page of results.
HandleCreateImageMemberConflict setup for case when member is already image member
HandleCreateImageMemberInvalidVisibility setup for case when visibility=public
HandleImageMemberEmptyList happy path setup
HandleImageMemberList happy path setup
List members returns list of members for specifed image id More details: http://developer.openstack.org/api-ref-image-v2.html#listImageMembers-v2
CallsCounter for checking if request handler was called at all
CreateMemberResult result model
Create member for specific image
The specified images must exist. You can only add a new member to an image which 'visibility' attribute is private. You must be the owner of the specified image.
With correct permissions, you can see the member status of the image as pending through API calls.
More details here: http://developer.openstack.org/api-ref-image-v2.html#createImageMember-v2
Extract ImageMember model from request if possible
Extract returns list of image members
Delete membership for given image. Callee should be image owner More details: http://developer.openstack.org/api-ref-image-v2.html#deleteImageMember-v2
Get image member details. More details: http://developer.openstack.org/api-ref-image-v2.html#getImageMember-v2
MemberPage is a single page of Members results.
IsEmpty determines whether or not a page of Members contains any results.
func Update(client *gophercloud.ServiceClient, imageID string, memberID string, opts UpdateOptsBuilder) MemberUpdateResult
Update function updates member More details: http://developer.openstack.org/api-ref-image-v2.html#updateImageMember-v2
UpdateOpts implements UpdateOptsBuilder
ToMemberUpdateMap formats an UpdateOpts structure into a request body.
UpdateOptsBuilder allows extensions to add additional attributes to the Update request.