img

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoAction

func DoAction(action string, options ...string) ([]byte, error)

Types

type CreateImageResp

type CreateImageResp struct {
	Code     int    `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     struct {
		RetCode int `json:"retCode"`
		TaskID  int `json:"taskId"`
	} `json:"data"`
	Message string `json:"message"`
}

type DeleteImagesResp

type DeleteImagesResp struct {
	Code     int         `json:"code"`
	CodeDesc string      `json:"codeDesc"`
	Detail   interface{} `json:"detail"`
	Message  string      `json:"message"`
}

type DescribeImageSharePermissionResp

type DescribeImageSharePermissionResp struct {
	Response struct {
		Error               interface{}   `json:"Error,omitempty"`
		RequestID           string        `json:"RequestId"`
		SharedPermissionSet []interface{} `json:"SharedPermissionSet,omitempty"`
	} `json:"Response"`
}

type DescribeImagesResp

type DescribeImagesResp struct {
	Response struct {
		Error    interface{} `json:"Error,omitempty"`
		ImageSet []struct {
			CreatedTime      interface{} `json:"CreatedTime"`
			ImageCreator     interface{} `json:"ImageCreator"`
			ImageDescription string      `json:"ImageDescription"`
			ImageID          string      `json:"ImageId"`
			ImageName        string      `json:"ImageName"`
			ImageSize        int         `json:"ImageSize"`
			ImageSource      string      `json:"ImageSource"`
			ImageState       string      `json:"ImageState"`
			ImageType        string      `json:"ImageType"`
			OsName           string      `json:"OsName"`
		} `json:"ImageSet,omitempty"`
		RequestID  string `json:"RequestId"`
		TotalCount int    `json:"TotalCount"`
	} `json:"Response"`
}

type SyncImagesResp

type SyncImagesResp struct {
	Response struct {
		Error     interface{} `json:"Error,omitempty"`
		RequestID string      `json:"RequestId"`
	} `json:"Response"`
}

Jump to

Keyboard shortcuts

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