compat

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package compat is the client compatibility suite (SRS 7.1, IF-003 to IF-006 and IF-009): the real gcloud, kubectl with gke-gcloud-auth-plugin, Helm, Docker, crane, ko, psql, the Cloud SQL Auth Proxy v2 and dig run against a detached gcpemu instance with only endpoint configuration.

go test -tags compat ./compat -v -timeout 30m

gcloud (with the gke-gcloud-auth-plugin component), kubectl, dig and Docker come from PATH; their tests skip when one is missing. Helm, crane, ko and the Auth Proxy are downloaded at pinned, checksum-verified versions into $GCPEMU_COMPAT_CACHE (default <user cache dir>/gcpemu-compat), and psql runs from the PostgreSQL image. Cloud SQL and GKE need a container runtime; some steps (crane copy from Docker Hub, ko's base image) need the internet.

TestOpenTofu is the OpenTofu acceptance (SRS 11.1, IF-001): each module in tofu/ is applied, planned with no changes expected and destroyed with the google and google-beta providers at their current and previous minor versions. It needs tofu on PATH (`make tofu`; `make compat` skips it).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL