Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClient = ImgClient{Client: core.DefaultClient}
Functions ¶
Types ¶
type CreateImageResp ¶
type CreateImageResp struct { Response struct { RequestID string `json:"RequestId"` Error interface{} `json:"Error,omitempty"` } `json:"Response"` }
func CreateImage ¶
func CreateImage(options ...string) (*CreateImageResp, error)
func (*CreateImageResp) String ¶ added in v1.1.0
func (r *CreateImageResp) String(args ...interface{}) (string, error)
type DeleteImagesResp ¶
type DeleteImagesResp struct { Response struct { RequestID string `json:"RequestId"` Error interface{} `json:"Error,omitempty"` } `json:"Response"` }
func DeleteImages ¶
func DeleteImages(options ...string) (*DeleteImagesResp, error)
func (*DeleteImagesResp) String ¶ added in v1.1.0
func (r *DeleteImagesResp) String(args ...interface{}) (string, error)
type DescribeImagesResp ¶
type DescribeImagesResp struct { Response struct { ImageSet []struct { Architecture string `json:"Architecture"` CreatedTime interface{} `json:"CreatedTime"` ImageCreator interface{} `json:"ImageCreator"` ImageDescription string `json:"ImageDescription"` ImageID string `json:"ImageId"` ImageName string `json:"ImageName"` ImageSize int64 `json:"ImageSize"` ImageSource string `json:"ImageSource"` ImageState string `json:"ImageState"` ImageType string `json:"ImageType"` OsName string `json:"OsName"` Platform string `json:"Platform"` } `json:"ImageSet"` RequestID string `json:"RequestId"` TotalCount int64 `json:"TotalCount"` } `json:"Response"` }
func DescribeImages ¶
func DescribeImages(options ...string) (*DescribeImagesResp, error)
func (*DescribeImagesResp) String ¶ added in v1.1.0
func (r *DescribeImagesResp) String(args ...interface{}) (string, error)
type ImgClient ¶ added in v1.3.0
func (*ImgClient) DescribeImages ¶ added in v1.3.0
func (c *ImgClient) DescribeImages(options ...string) (*DescribeImagesResp, error)
type SyncImagesResp ¶
type SyncImagesResp struct { Response struct { RequestID string `json:"RequestId"` Error interface{} `json:"Error,omitempty"` } `json:"Response"` }
func SyncImages ¶
func SyncImages(options ...string) (*SyncImagesResp, error)
func (*SyncImagesResp) String ¶ added in v1.1.0
func (r *SyncImagesResp) String(args ...interface{}) (string, error)
Click to show internal directories.
Click to hide internal directories.