Documentation ¶
Overview ¶
Package testing for qos_v3
Index ¶
- Constants
- Variables
- func MockAssociateResponse(t *testing.T)
- func MockCreateResponse(t *testing.T)
- func MockDeleteKeysResponse(t *testing.T)
- func MockDeleteResponse(t *testing.T)
- func MockDisassociateAllResponse(t *testing.T)
- func MockDisassociateResponse(t *testing.T)
- func MockGetResponse(t *testing.T)
- func MockListAssociationsResponse(t *testing.T)
- func MockListResponse(t *testing.T)
- func MockUpdateResponse(t *testing.T)
Constants ¶
View Source
const UpdateBody = `
{
"qos_specs" : {
"consumer": "back-end",
"read_iops_sec": "40000",
"write_iops_sec": "40000"
}
}
`
UpdateBody provides a PUT result of the qos_specs for a QoS
Variables ¶
View Source
var UpdateQos = map[string]string{
"consumer": "back-end",
"read_iops_sec": "40000",
"write_iops_sec": "40000",
}
UpdateQos is the expected qos_specs returned from PUT on a qos's qos_specs
Functions ¶
func MockAssociateResponse ¶
func MockCreateResponse ¶
func MockDeleteKeysResponse ¶
func MockDeleteResponse ¶
func MockGetResponse ¶
func MockListResponse ¶
func MockUpdateResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.