testing

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

listeners unit tests

Index

Constants

View Source
const CreateRequest = `` /* 173-byte string literal not displayed */
View Source
const CreateResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const DeleteResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const GetResponse = `` /* 329-byte string literal not displayed */
View Source
const ListResponse = `` /* 410-byte string literal not displayed */
View Source
const UpdateRequest = `
{
	"name": "lbaas_test_listener"
}	
`

Variables

View Source
var (
	Listener1 = listeners.Listener{
		PoolCount:          1,
		ProtocolPort:       80,
		Protocol:           types.ProtocolTypeTCP,
		Name:               "lbaas_test_listener",
		ID:                 "43658ea9-54bd-4807-90b1-925921c9a0d1",
		ProvisioningStatus: types.ProvisioningStatusActive,
		OperationStatus:    types.OperatingStatusOnline,
		CreatorTaskID:      &creatorTaskID,
		TaskID:             &taskID,
	}
	Tasks1 = tasks.TaskResults{
		Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"},
	}

	ExpectedListenersSlice = []listeners.Listener{Listener1}
)

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