gitserver

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command gitserver publishes an in-cluster HTTP git server for the e2e suite, backed by the very library the unit and envtest suites already use (fluxcd/pkg/gittestserver, which shells out to git via gitkit). Repositories are created on first push, so the suite seeds its fleet simply by pushing.

gittestserver builds on net/http/httptest, whose listener is always an ephemeral loopback port; a reverse proxy in front of it is what turns that into the fixed, cluster-reachable address a Service can select.

Jump to

Keyboard shortcuts

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