testing

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceListBody = `` /* 429-byte string literal not displayed */

ServiceListBody is sample response to the List call

Variables

View Source
var FirstFakeService = services.Service{
	Binary:    "manila-share",
	Host:      "manila2@generic1",
	ID:        1,
	State:     "up",
	Status:    "enabled",
	UpdatedAt: time.Date(2015, 9, 7, 13, 3, 57, 0, time.UTC),
	Zone:      "manila",
}

First service from the ServiceListBody

View Source
var SecondFakeService = services.Service{
	Binary:    "manila-scheduler",
	Host:      "manila2",
	ID:        2,
	State:     "up",
	Status:    "enabled",
	UpdatedAt: time.Date(2015, 9, 7, 13, 3, 57, 0, time.UTC),
	Zone:      "manila",
}

Second service from the ServiceListBody

Functions

func HandleListSuccessfully

func HandleListSuccessfully(t *testing.T)

HandleListSuccessfully configures the test server to respond to a List request.

Types

This section is empty.

Jump to

Keyboard shortcuts

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