Documentation
¶
Overview ¶
Package overcast exposes embedded web assets for use by the overcast binary. This file lives at the module root so it can reach both web/dist and docs via straight descendant paths (//go:embed cannot use ../ to climb the tree).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DocsServicesFS embed.FS
DocsServicesFS contains published docs served by the BFF docs endpoints. Developer-only planning notes under docs/plans and contributor-only docs under docs/dev are intentionally excluded.
Every directory a published page lives in has to be named here: the pattern takes no wildcard across directories, and internal/docsindex builds its index by walking the tree on disk, so a directory missing from this line is a page that is searchable in the console and 404s when opened. TestDocsEmbed in embed_test.go fails when the two sets diverge.
var WebDistFS embed.FS
WebDistFS contains the pre-built SPA static files (web/dist/). Build the web UI before compiling: cd web && pnpm run build
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
awsmodelgen
command
Command awsmodelgen converts pinned AWS Smithy JSON AST models into compact static operation metadata.
|
Command awsmodelgen converts pinned AWS Smithy JSON AST models into compact static operation metadata. |
|
compat
command
cmd/compat/embed.go — wires the embedded compat UI into the binary.
|
cmd/compat/embed.go — wires the embedded compat UI into the binary. |
|
lambda-init
command
Command lambda-init is the process Overcast runs as PID 1 inside a Lambda execution environment.
|
Command lambda-init is the process Overcast runs as PID 1 inside a Lambda execution environment. |
|
overcast
command
Command overcast is the unified CLI for the Overcast AWS emulator.
|
Command overcast is the unified CLI for the Overcast AWS emulator. |
|
overcast-mcp
command
Command overcast-mcp runs the workspace MCP server: local, repo-aware MCP tools and resources for agents and editors, backed by the workspace on disk rather than a running overcast instance.
|
Command overcast-mcp runs the workspace MCP server: local, repo-aware MCP tools and resources for agents and editors, backed by the workspace on disk rather than a running overcast instance. |
|
stub-report
command
Command stub-report scans the Overcast codebase for typed operation manifests and prints a summary report per service.
|
Command stub-report scans the Overcast codebase for typed operation manifests and prints a summary report per service. |
|
tsgen
command
Command tsgen renders the Go response structs the web UI consumes into TypeScript, so the types the console is written against are generated from the structs the server marshals instead of being mirrored by hand.
|
Command tsgen renders the Go response structs the web UI consumes into TypeScript, so the types the console is written against are generated from the structs the server marshals instead of being mirrored by hand. |
|
compat/embed.go — embeds the pre-built compatibility UI into the package.
|
compat/embed.go — embeds the pre-built compatibility UI into the package. |
|
model
Package compatmodel holds the Go types for the compat model files in this directory that more than one command has to agree about.
|
Package compatmodel holds the Go types for the compat model files in this directory that more than one command has to agree about. |
|
internal
|
|
|
alarmaction
Package alarmaction delivers CloudWatch alarm state transitions to whatever the alarm's action ARNs name.
|
Package alarmaction delivers CloudWatch alarm state transitions to whatever the alarm's action ARNs name. |
|
awsapi
Code generated by cmd/awsmodelgen; DO NOT EDIT.
|
Code generated by cmd/awsmodelgen; DO NOT EDIT. |
|
awscron
Package awscron parses and evaluates AWS's six-field cron expressions — the ones EventBridge rules and EventBridge Scheduler schedules are written in, and the only cron dialect Overcast speaks.
|
Package awscron parses and evaluates AWS's six-field cron expressions — the ones EventBridge rules and EventBridge Scheduler schedules are written in, and the only cron dialect Overcast speaks. |
|
awsmodel
Package awsmodel reads and parses a pinned checkout of AWS's public aws/api-models-aws Smithy JSON AST models into operation metadata.
|
Package awsmodel reads and parses a pinned checkout of AWS's public aws/api-models-aws Smithy JSON AST models into operation metadata. |
|
bff
Package bff implements the browser-facing API layer (BFF) for the Overcast web console.
|
Package bff implements the browser-facing API layer (BFF) for the Overcast web console. |
|
capabilities
Package capabilities declares the emulation status of each AWS API operation.
|
Package capabilities declares the emulation status of each AWS API operation. |
|
clock
Package clock provides a thin re-export of github.com/benbjohnson/clock so the rest of the codebase imports a single internal path and is insulated from upstream API changes.
|
Package clock provides a thin re-export of github.com/benbjohnson/clock so the rest of the codebase imports a single internal path and is insulated from upstream API changes. |
|
config
Package config loads and validates all runtime configuration from environment variables.
|
Package config loads and validates all runtime configuration from environment variables. |
|
containerendpoint
Package containerendpoint keeps AWS resource URLs dialable from inside the containers Overcast starts — Lambda functions, ECS tasks — which are siblings of the Overcast container rather than children of it.
|
Package containerendpoint keeps AWS resource URLs dialable from inside the containers Overcast starts — Lambda functions, ECS tasks — which are siblings of the Overcast container rather than children of it. |
|
containerlogs
Package containerlogs follows a Docker container's output and delivers it to CloudWatch Logs.
|
Package containerlogs follows a Docker container's output and delivers it to CloudWatch Logs. |
|
dataplane
Package dataplane places the containers Overcast starts onto its Docker networks.
|
Package dataplane places the containers Overcast starts onto its Docker networks. |
|
dns
Package dns serves the split-horizon hostnames Overcast advertises, to the containers Overcast starts.
|
Package dns serves the split-horizon hostnames Overcast advertises, to the containers Overcast starts. |
|
docker
Package docker provides a thin Docker Engine API client.
|
Package docker provides a thin Docker Engine API client. |
|
docker/dockertest
Package dockertest is the Docker housekeeping the test suites share: removing the networks a test minted for itself, and sweeping the ones a test process that died before its cleanups could run left behind.
|
Package dockertest is the Docker housekeeping the test suites share: removing the networks a test minted for itself, and sweeping the ones a test process that died before its cleanups could run left behind. |
|
docsindex
Package docsindex turns the published docs/ tree into the navigation and search data the console needs.
|
Package docsindex turns the published docs/ tree into the navigation and search data the console needs. |
|
docslint
Package docslint holds the mechanical rules for published documentation.
|
Package docslint holds the mechanical rules for published documentation. |
|
docssearch
Package docssearch serves search over the published docs/ tree.
|
Package docssearch serves search over the published docs/ tree. |
|
domainregistry
Package domainregistry tracks the set of user-registered custom domain names that map to overcast resources (API Gateway custom domains today, CloudFront alias names tomorrow) and broadcasts Added / Removed events to subscribed watchers.
|
Package domainregistry tracks the set of user-registered custom domain names that map to overcast resources (API Gateway custom domains today, CloudFront alias names tomorrow) and broadcasts Added / Removed events to subscribed watchers. |
|
events
Package events provides the internal event bus used for cross-service notifications (e.g.
|
Package events provides the internal event bus used for cross-service notifications (e.g. |
|
eventtarget
Package eventtarget resolves and delivers event payloads to AWS target ARNs.
|
Package eventtarget resolves and delivers event payloads to AWS target ARNs. |
|
hostbridge
Package hostbridge wires a stream of domain-registration events from the overcast emulator to the host machine's mDNS responder and local trust store.
|
Package hostbridge wires a stream of domain-registration events from the overcast emulator to the host machine's mDNS responder and local trust store. |
|
hostbridge/mdns
Package mdns defines the Publisher contract used by the overcast host CLI to advertise custom domain names through the operating system's multicast DNS responder (Bonjour on macOS, Avahi on Linux, DNS-SD on Windows).
|
Package mdns defines the Publisher contract used by the overcast host CLI to advertise custom domain names through the operating system's multicast DNS responder (Bonjour on macOS, Avahi on Linux, DNS-SD on Windows). |
|
hostbridge/trust
Package trust owns the Overcast local Certificate Authority: minting it, signing leaf server certificates from it (see ca.go), and installing the CA certificate into the operating system's trust store so browsers and HTTP clients accept Overcast's HTTPS without the usual self-signed-cert dance.
|
Package trust owns the Overcast local Certificate Authority: minting it, signing leaf server certificates from it (see ca.go), and installing the CA certificate into the operating system's trust store so browsers and HTTP clients accept Overcast's HTTPS without the usual self-signed-cert dance. |
|
hostnamecheck
Package hostnamecheck probes, at startup, whether OVERCAST_HOSTNAME's subdomains actually resolve on this host.
|
Package hostnamecheck probes, at startup, whether OVERCAST_HOSTNAME's subdomains actually resolve on this host. |
|
hostpath
Package hostpath normalizes developer-supplied host paths for bind mounts, and explains the mount failures those paths cause.
|
Package hostpath normalizes developer-supplied host paths for bind mounts, and explains the mount failures those paths cause. |
|
iampolicy
Package iampolicy implements the AWS IAM policy grammar and AWS's policy evaluation algorithm (explicit deny wins, then allow, otherwise implicit deny).
|
Package iampolicy implements the AWS IAM policy grammar and AWS's policy evaluation algorithm (explicit deny wins, then allow, otherwise implicit deny). |
|
inert
Package inert is the shared runtime for Tier 1 ("inert") AWS services — the behaviour that is identical for every resource whose whole contract is "remember what the caller told us and hand it back faithfully".
|
Package inert is the shared runtime for Tier 1 ("inert") AWS services — the behaviour that is identical for every resource whose whole contract is "remember what the caller told us and hand it back faithfully". |
|
inert/conformance
Package conformance turns docs/plans/inert-tier-rollout.md §3 (the inert contract) into executable, table-driven tests.
|
Package conformance turns docs/plans/inert-tier-rollout.md §3 (the inert contract) into executable, table-driven tests. |
|
inithooks
Package inithooks discovers and executes user-provided shell scripts at well-known lifecycle stages, compatible with LocalStack's init hook system.
|
Package inithooks discovers and executes user-provided shell scripts at well-known lifecycle stages, compatible with LocalStack's init hook system. |
|
lambdainit
Package lambdainit implements Overcast's in-container Lambda init: the process that runs as PID 1 inside a Lambda execution environment, the way RAPID does on AWS.
|
Package lambdainit implements Overcast's in-container Lambda init: the process that runs as PID 1 inside a Lambda execution environment, the way RAPID does on AWS. |
|
lifecycle
Package lifecycle provides a shared, testable scheduler for async state transitions.
|
Package lifecycle provides a shared, testable scheduler for async state transitions. |
|
listenstatus
Package listenstatus records whether the auxiliary listeners Overcast opens beside the AWS API — the Lambda Runtime API and the SMTP capture server — are actually bound, and what a caller should change when one is not.
|
Package listenstatus records whether the auxiliary listeners Overcast opens beside the AWS API — the Lambda Runtime API and the SMTP capture server — are actually bound, and what a caller should change when one is not. |
|
logging
Package logging holds Overcast's custom log-level machinery: the TRACE level and its supporting parse/encode helpers.
|
Package logging holds Overcast's custom log-level machinery: the TRACE level and its supporting parse/encode helpers. |
|
metrics
Package metrics is the AWS-shaped service-metrics substrate (docs/plans/service-metrics-platform.md): a dependency-neutral home for metric identity, storage, one-minute aggregation, and retention, shared by every emulated service that publishes AWS-native CloudWatch metrics.
|
Package metrics is the AWS-shaped service-metrics substrate (docs/plans/service-metrics-platform.md): a dependency-neutral home for metric identity, storage, one-minute aggregation, and retention, shared by every emulated service that publishes AWS-native CloudWatch metrics. |
|
middleware
Package middleware provides HTTP middleware for the emulator.
|
Package middleware provides HTTP middleware for the emulator. |
|
partialbatch
Package partialbatch reads the partial-batch failure response a function returns when a poll-based event source asks it to report which records of a batch failed.
|
Package partialbatch reads the partial-batch failure response a function returns when a poll-based event source asks it to report which records of a batch failed. |
|
protocol
Package protocol provides shared AWS protocol helpers used by all service handlers: error serialisation, request IDs, ARN construction, and response writing.
|
Package protocol provides shared AWS protocol helpers used by all service handlers: error serialisation, request IDs, ARN construction, and response writing. |
|
protocol/codec
Package codec defines the wire-protocol abstraction used by Overcast's typed operation dispatcher.
|
Package codec defines the wire-protocol abstraction used by Overcast's typed operation dispatcher. |
|
protocol/op
Package op defines the typed operation dispatcher used by Overcast's Smithy-aligned services.
|
Package op defines the typed operation dispatcher used by Overcast's Smithy-aligned services. |
|
router
Package router wires together all service handlers into a single HTTP server.
|
Package router wires together all service handlers into a single HTTP server. |
|
services/acm
Package acm provides a basic emulation of AWS Certificate Manager (ACM).
|
Package acm provides a basic emulation of AWS Certificate Manager (ACM). |
|
services/apigateway
Package apigateway provides emulation of Amazon API Gateway (REST v1 + HTTP v2).
|
Package apigateway provides emulation of Amazon API Gateway (REST v1 + HTTP v2). |
|
services/appconfig
Package appconfig provides a basic emulation of AWS AppConfig.
|
Package appconfig provides a basic emulation of AWS AppConfig. |
|
services/appconfigdata
Package appconfigdata provides the AWS AppConfig data plane emulation.
|
Package appconfigdata provides the AWS AppConfig data plane emulation. |
|
services/appregistry
Package appregistry provides emulation of AWS Service Catalog AppRegistry.
|
Package appregistry provides emulation of AWS Service Catalog AppRegistry. |
|
services/appsync
Package appsync provides emulation of AWS AppSync (managed GraphQL).
|
Package appsync provides emulation of AWS AppSync (managed GraphQL). |
|
services/athena
Package athena provides a basic emulation of Amazon Athena.
|
Package athena provides a basic emulation of Amazon Athena. |
|
services/autoscaling
Package autoscaling emulates Amazon EC2 Auto Scaling, including the reconciliation loop that makes a group's DesiredCapacity mean something.
|
Package autoscaling emulates Amazon EC2 Auto Scaling, including the reconciliation loop that makes a group's DesiredCapacity mean something. |
|
services/backup
Package backup provides a metadata-only emulation of AWS Backup.
|
Package backup provides a metadata-only emulation of AWS Backup. |
|
services/bedrock
Package bedrock provides a minimal emulation of Amazon Bedrock Runtime.
|
Package bedrock provides a minimal emulation of Amazon Bedrock Runtime. |
|
services/cloudformation
Package cloudformation provides emulation of AWS CloudFormation.
|
Package cloudformation provides emulation of AWS CloudFormation. |
|
services/cloudfront
Package cloudfront provides emulation of Amazon CloudFront (CDN).
|
Package cloudfront provides emulation of Amazon CloudFront (CDN). |
|
services/cloudtrail
Package cloudtrail provides a metadata-only AWS CloudTrail emulator.
|
Package cloudtrail provides a metadata-only AWS CloudTrail emulator. |
|
services/cloudwatch
Package cloudwatch provides a basic emulation of Amazon CloudWatch (metrics + alarms).
|
Package cloudwatch provides a basic emulation of Amazon CloudWatch (metrics + alarms). |
|
services/cloudwatch/logs
Package logs: migration registration for the logs_events dedicated table (docs/plans/storage-plan.md Phase 2 item 2.3).
|
Package logs: migration registration for the logs_events dedicated table (docs/plans/storage-plan.md Phase 2 item 2.3). |
|
services/cognito
Package cognito provides emulation of Amazon Cognito User Pools (IDP).
|
Package cognito provides emulation of Amazon Cognito User Pools (IDP). |
|
services/dynamodb
Package dynamodb: migration registration for the dynamodb_items and dynamodb_stream_records dedicated tables (docs/plans/storage-plan.md Phase 3 item 3.9).
|
Package dynamodb: migration registration for the dynamodb_items and dynamodb_stream_records dedicated tables (docs/plans/storage-plan.md Phase 3 item 3.9). |
|
services/dynamodbstreams
Package dynamodbstreams implements the AWS DynamoDB Streams API emulator.
|
Package dynamodbstreams implements the AWS DynamoDB Streams API emulator. |
|
services/ec2
Package ec2 provides emulation of Amazon EC2 and VPC operations.
|
Package ec2 provides emulation of Amazon EC2 and VPC operations. |
|
services/ecr
Package ecr provides emulation of Amazon Elastic Container Registry (ECR).
|
Package ecr provides emulation of Amazon Elastic Container Registry (ECR). |
|
services/ecs
Package ecs provides emulation of Amazon Elastic Container Service (ECS).
|
Package ecs provides emulation of Amazon Elastic Container Service (ECS). |
|
services/efs
Package efs provides Amazon Elastic File System (EFS) control-plane emulation.
|
Package efs provides Amazon Elastic File System (EFS) control-plane emulation. |
|
services/eks
Package eks provides Amazon EKS control-plane emulation.
|
Package eks provides Amazon EKS control-plane emulation. |
|
services/elasticache
Package elasticache provides emulation of Amazon ElastiCache.
|
Package elasticache provides emulation of Amazon ElastiCache. |
|
services/eventbridge
Package eventbridge provides emulation of Amazon EventBridge.
|
Package eventbridge provides emulation of Amazon EventBridge. |
|
services/firehose
Package firehose provides a basic emulation of Amazon Data Firehose (formerly Kinesis Data Firehose).
|
Package firehose provides a basic emulation of Amazon Data Firehose (formerly Kinesis Data Firehose). |
|
services/glue
Package glue provides a basic emulation of AWS Glue Data Catalog.
|
Package glue provides a basic emulation of AWS Glue Data Catalog. |
|
services/iam
Package iam provides emulation of AWS Identity and Access Management (IAM).
|
Package iam provides emulation of AWS Identity and Access Management (IAM). |
|
services/kinesis
Package kinesis provides emulation of Amazon Kinesis Data Streams.
|
Package kinesis provides emulation of Amazon Kinesis Data Streams. |
|
services/kms
Package kms provides emulation of AWS Key Management Service (KMS).
|
Package kms provides emulation of AWS Key Management Service (KMS). |
|
services/lambda
Package lambda is a stub — handlers are implemented test-first.
|
Package lambda is a stub — handlers are implemented test-first. |
|
services/lambda/initbin
Package initbin carries the in-container Lambda init binary, built for each Linux architecture Lambda offers and embedded in the Overcast binary.
|
Package initbin carries the in-container Lambda init binary, built for each Linux architecture Lambda offers and embedded in the Overcast binary. |
|
services/lambda/initproto
Package initproto is the single definition of the contract between the Overcast host and the in-container Lambda init (cmd/lambda-init).
|
Package initproto is the single definition of the contract between the Overcast host and the in-container Lambda init (cmd/lambda-init). |
|
services/msk
Package msk provides emulation of Amazon MSK (Managed Streaming for Kafka).
|
Package msk provides emulation of Amazon MSK (Managed Streaming for Kafka). |
|
services/opensearch
Package opensearch provides a basic emulation of Amazon OpenSearch Service.
|
Package opensearch provides a basic emulation of Amazon OpenSearch Service. |
|
services/organizations
Package organizations provides Tier 1 ("inert") emulation of AWS Organizations over AWS JSON 1.1 / 1.0 and Smithy RPC v2 CBOR.
|
Package organizations provides Tier 1 ("inert") emulation of AWS Organizations over AWS JSON 1.1 / 1.0 and Smithy RPC v2 CBOR. |
|
services/pipes
Package pipes emulates the AWS EventBridge Pipes service.
|
Package pipes emulates the AWS EventBridge Pipes service. |
|
services/rds
Package rds provides emulation of Amazon RDS.
|
Package rds provides emulation of Amazon RDS. |
|
services/route53
Package route53 emulates Amazon Route 53: hosted zones, resource record sets, tags, and health checks exist as real metadata with AWS-faithful validation, defaults, and error codes, and — since issue #1189 — Overcast's own DNS resolver (internal/dns) actually answers queries from them.
|
Package route53 emulates Amazon Route 53: hosted zones, resource record sets, tags, and health checks exist as real metadata with AWS-faithful validation, defaults, and error codes, and — since issue #1189 — Overcast's own DNS resolver (internal/dns) actually answers queries from them. |
|
services/s3
Package s3 implements the AWS S3 REST API emulator.
|
Package s3 implements the AWS S3 REST API emulator. |
|
services/scheduler
Package scheduler provides emulation of Amazon EventBridge Scheduler.
|
Package scheduler provides emulation of Amazon EventBridge Scheduler. |
|
services/secretsmanager
Package secretsmanager provides emulation of AWS Secrets Manager.
|
Package secretsmanager provides emulation of AWS Secrets Manager. |
|
services/ses
Package ses provides emulation of Amazon Simple Email Service (SES v1).
|
Package ses provides emulation of Amazon Simple Email Service (SES v1). |
|
services/shield
Package shield provides a basic emulation of AWS Shield (DDoS protection).
|
Package shield provides a basic emulation of AWS Shield (DDoS protection). |
|
services/sns
Package sns provides emulation of the Amazon Simple Notification Service.
|
Package sns provides emulation of the Amazon Simple Notification Service. |
|
services/sqs
Package sqs: migration registration for the sqs_messages dedicated table (docs/plans/storage-plan.md item 3.10).
|
Package sqs: migration registration for the sqs_messages dedicated table (docs/plans/storage-plan.md item 3.10). |
|
services/ssm
Package ssm provides emulation of AWS Systems Manager Parameter Store.
|
Package ssm provides emulation of AWS Systems Manager Parameter Store. |
|
services/stepfunctions
Package stepfunctions provides emulation of AWS Step Functions.
|
Package stepfunctions provides emulation of AWS Step Functions. |
|
services/sts
Package sts provides emulation of AWS Security Token Service (STS).
|
Package sts provides emulation of AWS Security Token Service (STS). |
|
services/waf
Package waf provides emulation of AWS WAF v2 (Web Application Firewall).
|
Package waf provides emulation of AWS WAF v2 (Web Application Firewall). |
|
serviceutil
Package serviceutil provides shared, generic utilities used across all service handlers.
|
Package serviceutil provides shared, generic utilities used across all service handlers. |
|
serviceutil/dispatchtest
Package dispatchtest drives a service's Dispatch the way middleware.Protocol would — codec and operation already in the request context — for the refusal cases every X-Amz-Target service shares.
|
Package dispatchtest drives a service's Dispatch the way middleware.Protocol would — codec and operation already in the request context — for the refusal cases every X-Amz-Target service shares. |
|
serviceutil/readiness
Package readiness owns the policy half of "wait until a container-backed resource actually answers, and say so when it never does".
|
Package readiness owns the policy half of "wait until a container-backed resource actually answers, and say so when it never does". |
|
smtp
Package smtp provides a minimal SMTP server for capturing outbound emails in local development, and a Mailer interface for sending emails that works with both the built-in capture server and an external SMTP relay.
|
Package smtp provides a minimal SMTP server for capturing outbound emails in local development, and a Mailer interface for sending emails that works with both the built-in capture server and an external SMTP relay. |
|
state
Package state defines the Store interface and provides four implementations:
|
Package state defines the Store interface and provides four implementations: |
|
trace
Package trace provides request-tracing infrastructure for the debug namespace.
|
Package trace provides request-tracing infrastructure for the debug namespace. |
|
Script: aws-models Fetches the AWS Smithy models pinned by models/aws/VERSION into a per-user cache and prints the directory `awsmodelgen -models` accepts.
|
Script: aws-models Fetches the AWS Smithy models pinned by models/aws/VERSION into a per-user cache and prints the directory `awsmodelgen -models` accepts. |
|
tests
|
|
|
helpers/lambdafixture
Package lambdafixture holds the Lambda wire types and request helpers that both Lambda integration test packages need.
|
Package lambdafixture holds the Lambda wire types and request helpers that both Lambda integration test packages need. |