testing

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

subnetpools unit tests

Index

Constants

View Source
const AddressScopeCreateRequest = `
{
    "address_scope": {
        "ip_version": 4,
        "shared": true,
        "name": "test0"
    }
}
`

AddressScopeCreateRequest represents raw Create request.

View Source
const AddressScopeCreateResult = `` /* 276-byte string literal not displayed */

AddressScopeCreateResult represents raw Create response.

View Source
const AddressScopeUpdateRequest = `
{
    "address_scope": {
        "name": "test1",
        "shared": true
    }
}
`

AddressScopeUpdateRequest represents raw Update request.

View Source
const AddressScopeUpdateResult = `` /* 276-byte string literal not displayed */

AddressScopeUpdateResult represents raw Update response.

View Source
const AddressScopesGetResult = `` /* 279-byte string literal not displayed */

AddressScopesGetResult represents raw response for the Get request.

View Source
const AddressScopesListResult = `` /* 613-byte string literal not displayed */

AddressScopesListResult represents raw response for the List request.

Variables

View Source
var AddressScope1 = addressscopes.AddressScope{
	ID:        "9cc35860-522a-4d35-974d-51d4b011801e",
	Name:      "scopev4",
	TenantID:  "4a9807b773404e979b19633f38370643",
	ProjectID: "4a9807b773404e979b19633f38370643",
	IPVersion: 4,
	Shared:    false,
}

AddressScope1 represents first unmarshalled address scope from the AddressScopesListResult.

View Source
var AddressScope2 = addressscopes.AddressScope{
	ID:        "be992b82-bf42-4ab7-bf7b-6baa8759d388",
	Name:      "scopev6",
	TenantID:  "4a9807b773404e979b19633f38370643",
	ProjectID: "4a9807b773404e979b19633f38370643",
	IPVersion: 6,
	Shared:    true,
}

AddressScope2 represents second unmarshalled address scope from the AddressScopesListResult.

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