Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Image ¶
type Image struct {
Owner string `db:"pk" json:"owner"`
Name string `db:"pk" json:"name"`
Provider string `json:"provider"`
Category string `json:"category"`
BootMode string `json:"bootMode" xml:"bootMode"`
ImageId string `json:"imageId" xml:"imageId"`
ImageOwnerAlias string `json:"ImageOwnerAlias" xml:"ImageOwnerAlias"`
OSName string `json:"os" xml:"os"`
OSNameEn string `json:"OSNameEn" xml:"OSNameEn"`
ImageFamily string `json:"ImageFamily" xml:"ImageFamily"`
Architecture string `json:"systemArchitecture" xml:"systemArchitecture"`
IsSupportIoOptimized bool `json:"IsSupportIoOptimized" xml:"IsSupportIoOptimized"`
Size string `json:"size" xml:"size"`
ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"`
SupplierName string `json:"SupplierName" xml:"SupplierName"`
Description string `json:"description" xml:"description"`
Usage string `json:"Usage" xml:"Usage"`
IsCopied bool `json:"IsCopied" xml:"IsCopied"`
LoginAsNonRootSupported bool `json:"LoginAsNonRootSupported" xml:"LoginAsNonRootSupported"`
ImageVersion string `json:"ImageVersion" xml:"ImageVersion"`
OSType string `json:"OSType" xml:"OSType"`
IsSubscribed bool `json:"IsSubscribed" xml:"IsSubscribed"`
IsSupportCloudinit bool `json:"IsSupportCloudinit" xml:"IsSupportCloudinit"`
CreationTime string `json:"createdTime" xml:"createdTime"`
ProductCode string `json:"ProductCode" xml:"ProductCode"`
Progress string `json:"progress" xml:"progress"`
Platform string `json:"platform" xml:"platform"`
ImageName string `json:"ImageName" xml:"ImageName"`
Status string `json:"state" xml:"state"`
ImageOwnerId int64 `json:"ImageOwnerId" xml:"ImageOwnerId"`
IsPublic bool `json:"IsPublic" xml:"IsPublic"`
}
type ImageAliyunClient ¶
type ImageAliyunClient struct {
Client *ecs20140526.Client
Region string
}
func (ImageAliyunClient) GetImages ¶
func (client ImageAliyunClient) GetImages() ([]*Image, error)
type ImageClientInterface ¶
func NewImageClient ¶
Click to show internal directories.
Click to hide internal directories.