testing

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package testing for qos_v3

Index

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 added in v0.24.0

func MockAssociateResponse(t *testing.T)

func MockCreateResponse

func MockCreateResponse(t *testing.T)

func MockDeleteKeysResponse added in v0.24.0

func MockDeleteKeysResponse(t *testing.T)

func MockDeleteResponse

func MockDeleteResponse(t *testing.T)

func MockDisassociateAllResponse added in v0.24.0

func MockDisassociateAllResponse(t *testing.T)

func MockDisassociateResponse added in v0.24.0

func MockDisassociateResponse(t *testing.T)

func MockGetResponse added in v0.24.0

func MockGetResponse(t *testing.T)

func MockListAssociationsResponse added in v0.24.0

func MockListAssociationsResponse(t *testing.T)

func MockListResponse added in v0.19.0

func MockListResponse(t *testing.T)

func MockUpdateResponse added in v0.24.0

func MockUpdateResponse(t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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