Documentation ¶
Index ¶
Constants ¶
View Source
const AcceptTransferRequest = `
{
"accept": {
"auth_key": "9266c59563c84664"
}
}
`
View Source
const AcceptTransferResponse = `` /* 501-byte string literal not displayed */
View Source
const CreateRequest = `
{
"transfer": {
"volume_id": "2f6f1684-1ded-40db-8a49-7c87dedbc758"
}
}
`
View Source
const CreateResponse = `` /* 585-byte string literal not displayed */
View Source
const GetOutput = `` /* 549-byte string literal not displayed */
View Source
const ListOutput = `` /* 590-byte string literal not displayed */
Variables ¶
View Source
var AcceptRequest = volumetransfers.AcceptOpts{
AuthKey: "9266c59563c84664",
}
View Source
var AcceptResponse = volumetransfers.Transfer{ ID: "b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", Name: "", VolumeID: "2f6f1684-1ded-40db-8a49-7c87dedbc758", Links: []map[string]string{ { "href": "https://volume/v3/53c2b94f63fb4f43a21b92d119ce549f/os-volume-transfer/b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", "rel": "self", }, { "href": "https://volume/53c2b94f63fb4f43a21b92d119ce549f/os-volume-transfer/b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", "rel": "bookmark", }, }, }
View Source
var TransferListResponse = []volumetransfers.Transfer{TransferResponse}
View Source
var TransferRequest = volumetransfers.CreateOpts{
VolumeID: "2f6f1684-1ded-40db-8a49-7c87dedbc758",
}
View Source
var TransferResponse = volumetransfers.Transfer{ ID: "b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", AuthKey: "cb67e0e7387d9eac", Name: "", VolumeID: "2f6f1684-1ded-40db-8a49-7c87dedbc758", CreatedAt: createdAt, Links: []map[string]string{ { "href": "https://volume/v3/53c2b94f63fb4f43a21b92d119ce549f/os-volume-transfer/b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", "rel": "self", }, { "href": "https://volume/53c2b94f63fb4f43a21b92d119ce549f/os-volume-transfer/b8913bfd-a4d3-4ec5-bd8b-fe2dbeef9f4f", "rel": "bookmark", }, }, }
Functions ¶
func HandleAcceptTransfer ¶
func HandleCreateTransfer ¶
func HandleDeleteTransfer ¶
func HandleGetTransfer ¶
func HandleListTransfers ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.