Documentation ¶
Overview ¶
instances.go defined data types that described deployed sandbox instances.
json.go contains functions that unmarshal JSON messages received from Terraform.
Package sandboxes manages the life cycle of a Salvo remote sandbox.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { // Type identifies the type of the sandbox instance. Type Type // LoadGenerators are the load generator VMs deployed in the sandbox. LoadGenerators []*VM // SUTs are the system under test VMs deployed in the sandbox. SUTs []*VM // Backends are the backend VMs deployed in the sandbox. Backends []*VM }
Instance describes a single sandbox instance.
type Instances ¶
type Instances []int64
Instances represent sandbox instances, each integer is an AZP Build ID corresponding to AZP pipeline execution that built the components for the sandbox.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages sandbox instances.
func NewManager ¶
NewManager creates a new Sandbox manager.
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is used to provide options to NewManager.
type Type ¶
type Type int
Type enumerates the types of sandboxes supported.
const (
// TypeDefaultSandboxX64 is the default sandbox, see https://github.com/envoyproxy/envoy-perf/tree/main/salvo-remote/sandboxes/terraform/default_sandbox_x64.
TypeDefaultSandboxX64 Type
)
type VM ¶
type VM struct { // IP is the primary private IP address of the VM. // This is the IP address on the interface that either originates or receives load. IP net.IP // ControlIP is a private IP address that can be used by the control VM when accessing the VM. // Note, the control VM is the VM that runs salvo-remote (this code). ControlIP net.IP }
VM describes a VM deployed in a sandbox.