Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2019 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + ContainerFormat string + DiskFormat string + ID string + MinDisk int + MinRAM int + Name string + Properties map[string]string + Protected *bool + Tags []string + Visibility *ImageVisibility + func (opts CreateOpts) ToImageCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToImageCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(client *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Image, error) + type DeleteResult struct + func Delete(client *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetResult struct + func Get(client *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Image, error) + type Image struct + Checksum string + ContainerFormat string + CreatedAt time.Time + DiskFormat string + File string + ID string + Metadata map[string]string + MinDiskGigabytes int + MinRAMMegabytes int + Name string + Owner string + Properties map[string]interface{} + Protected bool + Schema string + SizeBytes int64 + Status ImageStatus + Tags []string + UpdatedAt time.Time + VirtualSize int64 + Visibility ImageVisibility + func ExtractImages(r pagination.Page) ([]Image, error) + func (r *Image) UnmarshalJSON(b []byte) error + type ImageDateFilter string + const FilterEQ + const FilterGT + const FilterGTE + const FilterLT + const FilterLTE + const FilterNEQ + type ImageDateQuery struct + Date time.Time + Filter ImageDateFilter + type ImageMemberStatus string + const ImageMemberStatusAccepted + const ImageMemberStatusAll + const ImageMemberStatusPending + const ImageMemberStatusRejected + type ImagePage struct + func (r ImagePage) IsEmpty() (bool, error) + func (r ImagePage) NextPageURL() (string, error) + type ImageStatus string + const ImageStatusActive + const ImageStatusDeactivated + const ImageStatusDeleted + const ImageStatusKilled + const ImageStatusPendingDelete + const ImageStatusQueued + const ImageStatusSaving + type ImageVisibility string + const ImageVisibilityCommunity + const ImageVisibilityPrivate + const ImageVisibilityPublic + const ImageVisibilityShared + type ListOpts struct + ContainerFormat string + CreatedAtQuery *ImageDateQuery + DiskFormat string + ID string + Limit int + Marker string + MemberStatus ImageMemberStatus + Name string + Owner string + SizeMax int64 + SizeMin int64 + Sort string + SortDir string + SortKey string + Status ImageStatus + Tags []string + UpdatedAtQuery *ImageDateQuery + Visibility ImageVisibility + func (opts ListOpts) ToImageListQuery() (string, error) + type ListOptsBuilder interface + ToImageListQuery func() (string, error) + type Patch interface + ToImagePatchMap func() map[string]interface{} + type ReplaceImageChecksum struct + Checksum string + func (r ReplaceImageChecksum) ToImagePatchMap() map[string]interface{} + type ReplaceImageName struct + NewName string + func (r ReplaceImageName) ToImagePatchMap() map[string]interface{} + type ReplaceImageTags struct + NewTags []string + func (r ReplaceImageTags) ToImagePatchMap() map[string]interface{} + type UpdateImageProperty struct + Name string + Op UpdateOp + Value string + func (r UpdateImageProperty) ToImagePatchMap() map[string]interface{} + type UpdateOp string + const AddOp + const RemoveOp + const ReplaceOp + type UpdateOpts []Patch + func (opts UpdateOpts) ToImageUpdateMap() ([]interface{}, error) + type UpdateOptsBuilder interface + ToImageUpdateMap func() ([]interface{}, error) + type UpdateResult struct + func Update(client *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Image, error) + type UpdateVisibility struct + Visibility ImageVisibility + func (r UpdateVisibility) ToImagePatchMap() map[string]interface{}