testing

package
v0.3.15 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CreateRequest = `
{
  "url": "http://mirror.noris.net/cirros/0.4.0/cirros-0.4.0-x86_64-disk.img",
  "name": "image_name"
}
`
View Source
const CreateResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const DeleteResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const GetResponse = `` /* 423-byte string literal not displayed */
View Source
const ListResponse = `` /* 531-byte string literal not displayed */

Variables

View Source
var (
	Image1 = images.Image{
		ID:            "4a44e5a2-e7ba-41b8-bf78-ddfa2e22974b",
		Name:          "fedora-coreos",
		Description:   "",
		Status:        "active",
		Tags:          []string{},
		Visibility:    "public",
		MinDisk:       0,
		MinRAM:        0,
		OsDistro:      "fedora-coreos",
		OsVersion:     "",
		DisplayOrder:  0,
		CreatedAt:     createdTime,
		UpdatedAt:     &updatedTime,
		Size:          1685454848,
		CreatorTaskID: nil,
		TaskID:        nil,
		DiskFormat:    "qcow2",
		Region:        "RegionOne",
	}
	ExpectedImagesSlice = []images.Image{Image1}
	Tasks1              = tasks.TaskResults{
		Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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