Documentation
¶
Overview ¶
Package nat is the Cloud NAT service module (SRS 5.10). Cloud NAT's control plane is part of compute.googleapis.com (routers and their nats[], FR-NAT-001) and is served by the compute module, as is the egress gateway data plane (FR-NAT-002..005), which compute's emu.VPC starts when workloads ask for their egress gateway. This module exists so `--services nat` selects Cloud NAT (pulling in compute through config.Dependencies) and so readiness reflects whether a container runtime is available for the data plane.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service is the Cloud NAT service module.
func (*Service) Ready ¶
Ready reports whether the egress gateway data plane can run: compute must be running and a container runtime reachable. The result is cached for a few seconds.