testing

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

loadbalancers unit tests

Index

Constants

View Source
const CreateHealthMonitorRequest = `` /* 176-byte string literal not displayed */
View Source
const CreateMemberResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const CreatePoolMemberRequest = `` /* 126-byte string literal not displayed */
View Source
const CreateRequest = `` /* 611-byte string literal not displayed */
View Source
const CreateResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const DeleteMemberResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const DeleteResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const GetResponse = `` /* 883-byte string literal not displayed */
View Source
const ListResponse = `` /* 1049-byte string literal not displayed */
View Source
const UnsetRequest = `
{
  "session_persistence": null
}
`
View Source
const UnsetResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`
View Source
const UpdateRequest = `
{
	"name": "lbaas_test_pool"
}	
`
View Source
const UpdateResponse = `
{
  "tasks": [
    "50f53a35-42ed-40c4-82b2-5a37fb3e00bc"
  ]
}
`

Variables

View Source
var (
	LoadBalancerID = "79943b39-5e67-47e1-8878-85044b39667a"
	ListenerID     = "c63341da-ea44-4027-bbf6-1f1939c783da"

	Member1 = lbpools.PoolMember{
		Address:      &ip1,
		ID:           "65f4e0eb-7846-490e-b44d-726c8baf3c25",
		Weight:       width,
		SubnetID:     subnetID,
		InstanceID:   "",
		ProtocolPort: protocolPort,
	}
	Member2 = lbpools.PoolMember{
		Address:      &ip2,
		ID:           "f6a9c5dd-f8cc-448d-8e57-81de69d127cb",
		Weight:       width,
		SubnetID:     subnetID,
		InstanceID:   "",
		ProtocolPort: protocolPort,
	}
	LBPool1 = lbpools.Pool{
		LoadBalancers: []gcorecloud.ItemID{
			{ID: LoadBalancerID},
		},
		Listeners: []gcorecloud.ItemID{
			{ID: ListenerID},
		},
		SessionPersistence:    nil,
		LoadBalancerAlgorithm: types.LoadBalancerAlgorithmRoundRobin,
		Name:                  "lbaas_test_pool",
		ID:                    "9fccf0a3-c0de-441d-9afd-2b9b58b08b9f",
		Protocol:              types.ProtocolTypeTCP,
		Members: []lbpools.PoolMember{
			Member1,
			Member2,
		},
		ProvisioningStatus: types.ProvisioningStatusActive,
		OperatingStatus:    types.OperatingStatusOnline,
		CreatorTaskID:      creatorTaskID,
		TaskID:             "",
	}
	Tasks1 = tasks.TaskResults{
		Tasks: []tasks.TaskID{"50f53a35-42ed-40c4-82b2-5a37fb3e00bc"},
	}
	ExpectedLBPoolsSlice = []lbpools.Pool{LBPool1}
)

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