waypoint-hzn

module
v0.0.0-...-1dc1322 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MPL-2.0

README

Waypoint Horizon API (waypoint-hzn)

This repository contains the Waypoint API frontend to the Horizon service. Horizon is an internal API that isn't fully exposed to the public. It expects applications to implement application-specific services in front of it to perform application-specific business logic. This project (waypoint-hzn) is the Waypoint-specific API frontend for Horizon.

Development

The project is made to be developed primarily through a unit-test driven workflow via go test. This tests fully communicating to an in-memory Horizon server to verify behaviors.

Some dependencies must be running for the unit tests. These are all contained in the Docker Compose configuration. Therefore, to run all tests:

$ docker-compose up -d
$ go test ./... -p 1

To build the project, you can use go build ./cmd/waypoint-hzn directly or build the included Docker image with make docker/local.

Directories

Path Synopsis
cmd
internal
pkg/golang-petname
Package petname is a library for generating human-readable, random names for objects (e.g.
Package petname is a library for generating human-readable, random names for objects (e.g.
testsql
Package testsql provides helpers for working with PostgreSQL databases in unit tests, from creating per-test DBs to also running the migrations.
Package testsql provides helpers for working with PostgreSQL databases in unit tests, from creating per-test DBs to also running the migrations.
pkg
pb

Jump to

Keyboard shortcuts

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