testing

package
v0.0.0-...-cd80d89 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 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

func MockAssociateResponse(t *testing.T)

func MockCreateResponse

func MockCreateResponse(t *testing.T)

func MockDeleteKeysResponse

func MockDeleteKeysResponse(t *testing.T)

func MockDeleteResponse

func MockDeleteResponse(t *testing.T)

func MockDisassociateAllResponse

func MockDisassociateAllResponse(t *testing.T)

func MockDisassociateResponse

func MockDisassociateResponse(t *testing.T)

func MockGetResponse

func MockGetResponse(t *testing.T)

func MockListAssociationsResponse

func MockListAssociationsResponse(t *testing.T)

func MockListResponse

func MockListResponse(t *testing.T)

func MockUpdateResponse

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