testing

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

apiversions_v1

Index

Constants

View Source
const ManilaAPIVersionResponse = `` /* 972-byte string literal not displayed */
View Source
const ManilaAllAPIVersionsResponse = `` /* 1825-byte string literal not displayed */

Variables

View Source
var ManilaAPIVersion1Result = apiversions.APIVersion{
	ID:         "v1.0",
	Status:     "SUPPORTED",
	Updated:    time.Date(2014, 6, 28, 12, 20, 21, 0, time.UTC),
	MinVersion: "",
	MediaTypes: []map[string]string{
		{
			"type": "application/vnd.openstack.volume+json;version=1",
			"base": "application/json",
		},
		{
			"type": "application/vnd.openstack.volume+xml;version=1",
			"base": "application/xml",
		},
	},
}
View Source
var ManilaAPIVersion2Result = apiversions.APIVersion{
	ID:         "v2.0",
	Status:     "SUPPORTED",
	Updated:    time.Date(2014, 6, 28, 12, 20, 21, 0, time.UTC),
	MinVersion: "",
	MediaTypes: []map[string]string{
		{
			"type": "application/vnd.openstack.volume+json;version=1",
			"base": "application/json",
		},
		{
			"type": "application/vnd.openstack.volume+xml;version=1",
			"base": "application/xml",
		},
	},
}

Functions

func MockGetResponse

func MockGetResponse(t *testing.T)

func MockListResponse

func MockListResponse(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