Documentation
¶
Overview ¶
Package ec2 implements the AWS EC2 query-protocol as a server.Handler. Point the real aws-sdk-go-v2 EC2 client at a Server registered with this handler and operations work against an in-memory compute driver.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler serves EC2 query-protocol requests. Real AWS EC2 serves both compute and VPC/networking on one endpoint, so the handler holds both drivers and dispatches based on the Action parameter.
func New ¶
func New(c computedriver.Compute, v netdriver.Networking) *Handler
New returns an EC2 handler backed by c and v. Either may be nil if only one service is being emulated, though most workflows need both together.
Click to show internal directories.
Click to hide internal directories.