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 NAT egress proxy data plane (FR-NAT-002..005), which compute's emu.VPC starts when workloads ask for their NAT egress proxy. This module exists so `--services nat` selects Cloud NAT (pulling in compute through config.Dependencies), so readiness reflects whether a container runtime is available for the data plane, and for the admin API's offline sink switch (admin.go).
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 NAT egress proxy data plane can run: compute must be running and a container runtime reachable. The result is cached for a few seconds.