testing

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MetadataResponse = `
{
  "key": "some_key",
  "value": "some_val",
  "read_only": false
}
`

Variables

View Source
var (
	ResourceMetadataReadOnly = metadata.Metadata{
		Key:      "some_key",
		Value:    "some_val",
		ReadOnly: false,
	}

	ExpectedFloatingIPSlice = []floatingips.FloatingIPDetail{floatingIPDetails}
)
View Source
var ListResponse = fmt.Sprintf(`
{
  "count": 1,
  "results": [
    {
      "floating_ip_address": "172.24.4.34",
      "router_id": "11005a33-c5ac-4c96-ab6f-8f2827cc7da6",
      "port_id": "ee2402d0-f0cd-4503-9b75-69be1d11c5f1",
      "status": "ACTIVE",
      "id": "c64e5db1-5f1f-43ec-a8d9-5090df85b82d",
      "fixed_ip_address": null,
      "description": "FLOAT FLOAT FLOAT",
      "instance": {
        "tenant_id": "fe5cc21270554c0d9d4cdc48ba574987",
        "task_state": null,
        "instance_description": "Testing",
        "instance_name": "Testing",
        "status": "ACTIVE",
        "instance_created": "2019-07-11T06:58:48Z",
        "vm_state": "active",
	    "region": "ED-8",
    	"volumes": [
          {
            "id": "28bfe198-a003-4283-8dca-ab5da4a71b62",
            "delete_on_termination": false
          }
        ],
        "instance_id": "a7e7e8d6-0bf7-4ac9-8170-831b47ee2ba9",
        "metadata": {
          "task_id": "d1e1500b-e2be-40aa-9a4b-cc493fa1af30"
        },
        "project_id": 1,
        "region_id": 1
      },
      "updated_at": "2019-06-13T13:58:12+0000",
      "created_at": "2019-06-13T13:58:12+0000",
	  "region": "ED-8",
      "project_id": 1,
      "region_id": 1,
      "metadata": [%s]
    }
  ]
}`, MetadataResponse)

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