Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncResponse ¶
type AsyncResponse struct { Location string `json:"location"` // contains filtered or unexported fields }
func GetAsyncResponse ¶
func GetAsyncResponse(c *Client, resp *http.Response) (*AsyncResponse, error)
func (*AsyncResponse) QueryLocation ¶
func (async *AsyncResponse) QueryLocation() (*http.Response, error)
func (*AsyncResponse) QueryRealResponse ¶
func (async *AsyncResponse) QueryRealResponse(i interface{}, timeout time.Duration) error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateRequestWithURI ¶
type Error ¶
type ErrorResponse ¶
type ErrorResponse struct {
Error Error `json:"error,omitempty"`
}
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct { Inventory struct { UUID string `json:"uuid,omitempty"` AccountUUID string `json:"accountUuid,omitempty"` UserUUID string `json:"userUuid,omitempty"` ExpiredDate string `json:"expiredDate,omitempty"` CreateDate string `json:"createDate,omitempty"` } `json:"inventory,omitempty"` }
type ResourceBase ¶
type ZStack503Error ¶
type ZStack503Error struct {
Error *Error `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.