monorepo

module
v0.0.0-...-80b3b37 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2025 License: Apache-2.0

README

jrockway's monorepo

I'm tired of maintaining a separate repo for each of my projects. So I'm gradually moving them into one.

Building

Install Bazelisk, then:

bazel test ...

I put this in my .bazelrc:

test --test_output=errors
startup --max_idle_secs=604800
build --disk_cache=/tmp/bazel

Directories

Path Synopsis
ekglue
cmd/ekglue
Command "ekglue" runs a gRPC server that serves an Envoy CDS and EDS server.
Command "ekglue" runs a gRPC server that serves an Envoy CDS and EDS server.
pkg/cds
Package cds implements a CDS/EDS server.
Package cds implements a CDS/EDS server.
pkg/cds/internal/fakexds
Package fakexds implements a fake XDS client.
Package fakexds implements a fake XDS client.
pkg/glue
Package glue glues Kubernetes to Envoy
Package glue glues Kubernetes to Envoy
pkg/k8s
Package k8s contains the parts of k8s necessary to implement ekglue.
Package k8s contains the parts of k8s necessary to implement ekglue.
pkg/xds
Package xds implements the XDS protocol.
Package xds implements the XDS protocol.
try
internal
analyzers/asasalint
Package asasalint aliases github.com/alingse/asasalint.
Package asasalint aliases github.com/alingse/asasalint.
analyzers/asciicheck
Package asciicheck provides an asciicheck analyzer.
Package asciicheck provides an asciicheck analyzer.
analyzers/bidichk
Package bidichk aliases github.com/breml/bidichk/pkg/bidichk.
Package bidichk aliases github.com/breml/bidichk/pkg/bidichk.
analyzers/depguard
Package depguard provides a depguard analyzer.
Package depguard provides a depguard analyzer.
analyzers/errcheck
Package errcheck provides an errcheck analyzer.
Package errcheck provides an errcheck analyzer.
analyzers/exhaustive
Package exhaustive provides an analyzer from github.com/nishanths/exhaustive.
Package exhaustive provides an analyzer from github.com/nishanths/exhaustive.
analyzers/gofmt
Package gofmt provides an analyzer which checks that files have been run through gofmt.
Package gofmt provides an analyzer which checks that files have been run through gofmt.
analyzers/goprintffuncname
Package goprintffuncname aliases github.com/jirfag/go-printf-func-name/pkg/analyzer.
Package goprintffuncname aliases github.com/jirfag/go-printf-func-name/pkg/analyzer.
analyzers/ineffassign
Package ineffassign aliases github.com/gordonklaus/ineffassign/pkg/ineffassign.
Package ineffassign aliases github.com/gordonklaus/ineffassign/pkg/ineffassign.
analyzers/staticcheck
Package staticcheck implements static checks based on https://github.com/sluongng/nogo-analyzer
Package staticcheck implements static checks based on https://github.com/sluongng/nogo-analyzer
analyzers/wrapcheck
Package wrapcheck provides a wrapcheck analyzer.
Package wrapcheck provides a wrapcheck analyzer.
errors
Package errors aliases the standard library errors and github.com/pkg/errors.
Package errors aliases the standard library errors and github.com/pkg/errors.
links
Package links contains utilities for dealing with filesystem links.
Package links contains utilities for dealing with filesystem links.
log
Package log is Pachyderm's logger.
Package log is Pachyderm's logger.
meters
Package meters implements lightweight metrics for internal use.
Package meters implements lightweight metrics for internal use.
pctx
Package pctx implements contexts for Pachyderm.
Package pctx implements contexts for Pachyderm.
protoextensions
Package protoextensions is the runtime support code for protoc-gen-zap (in ../etc/proto).
Package protoextensions is the runtime support code for protoc-gen-zap (in ../etc/proto).
tarutil
Package tarutil contains utilities for working with ye olde tape archives.
Package tarutil contains utilities for working with ye olde tape archives.
testpostgres
Package testpostgres runs postgres and utilities for tests.
Package testpostgres runs postgres and utilities for tests.
jlog
cmd/internal/jlog
Package jlog contains support functions for the jlog binary.
Package jlog contains support functions for the jlog binary.
cmd/jlog
Command jlog pretty-prints JSON logs.
Command jlog pretty-prints JSON logs.
pkg/parse
Package parse handles parsing and displaying JSON logs.
Package parse handles parsing and displaying JSON logs.
pkg/parse/internal/fuzzsupport
Package fuzzsupport supports generating random syntactically-sound JSON logs.
Package fuzzsupport supports generating random syntactically-sound JSON logs.
pkg/parse/internal/fuzzsupport/cmd/readLogCorpus
Command readLogCorpus reads files named on the command-line, translating them from the fuzzer's corpus file format to raw JSON logs.
Command readLogCorpus reads files named on the command-line, translating them from the fuzzer's corpus file format to raw JSON logs.
jsso2
pkg/client
Package client implements a client for JSSO servers.
Package client implements a client for JSSO servers.
pkg/envoyauthz
Package envoyauthz implements Envoy's external authz interface.
Package envoyauthz implements Envoy's external authz interface.
pkg/internalauth
Package internalauth manages authorizing gRPC calls.
Package internalauth manages authorizing gRPC calls.
pkg/jsso
Package jsso contains the RPC servers for JSSO.
Package jsso contains the RPC servers for JSSO.
pkg/jsso/cmd
Package cmd implements a command to run the JSSO server.
Package cmd implements a command to run the JSSO server.
pkg/jsso/enrollment
Package enrollment implements credential enrollment.
Package enrollment implements credential enrollment.
pkg/jsso/login
Package login implements the login flow.
Package login implements the login flow.
pkg/jsso/session
Package session implements the session management service.
Package session implements the session management service.
pkg/jsso/user
Package user implements the user management service.
Package user implements the user management service.
pkg/jssoctl/cmd
Package cmd implements the JSSO CLI.
Package cmd implements the JSSO CLI.
pkg/jssopb
Package jssopb contains the generated jssopb protos.
Package jssopb contains the generated jssopb protos.
pkg/jtesting
Package jtesting contains test helpers for JSSO.
Package jtesting contains test helpers for JSSO.
pkg/logout
Package logout implements an HTTP logout handler.
Package logout implements an HTTP logout handler.
pkg/redirecttokens
Package redirecttokens creates and validates web redirects.
Package redirecttokens creates and validates web redirects.
pkg/sessions
Package sessions manages browser sessions.
Package sessions manages browser sessions.
pkg/store
Package store manages the JSSO database.
Package store manages the JSSO database.
pkg/testserver
Package testserver implements a JSSO RPC server for tests.
Package testserver implements a JSSO RPC server for tests.
pkg/tokens
Package tokens generates typed authenticated tokens that allow untrusted third parties to safely carry state between applictions.
Package tokens generates typed authenticated tokens that allow untrusted third parties to safely carry state between applictions.
pkg/types
Package types contains the generated protobufs for jsso2.
Package types contains the generated protobufs for jsso2.
pkg/util/zapwriter
Package zapwriter implements an io.Writer that logs one line at a time to zap.
Package zapwriter implements an io.Writer that logs one line at a time to zap.
pkg/web
Package web generates hyperlinks for the web app.
Package web generates hyperlinks for the web app.
pkg/webauthn
Package webauthn implements webauthn.
Package webauthn implements webauthn.
pkg/webauthnpb
Package webauthnpb contains the generated webauthn protos.
Package webauthnpb contains the generated webauthn protos.
opinionated-server
client
Package client adds some goodies for clients inside opinionated-server servers.
Package client adds some goodies for clients inside opinionated-server servers.
client/internal/fuzzsupport
Package fuzzsupport implements utilities for generating fuzz test data.
Package fuzzsupport implements utilities for generating fuzz test data.
example
Executable "example" shows what it looks like to use opinionated-server.
Executable "example" shows what it looks like to use opinionated-server.
internal/formatters
Package formatters provides Zap formatters.
Package formatters provides Zap formatters.
server
Package server initializes an RPC server app, providing gRPC, HTTP, and debug HTTP servers, Jaeger tracing, Zap logging, and Prometheus monitoring.
Package server initializes an RPC server app, providing gRPC, HTTP, and debug HTTP servers, Jaeger tracing, Zap logging, and Prometheus monitoring.
Package tools imports go packages that are needed elsewhere in the build.
Package tools imports go packages that are needed elsewhere in the build.
postgres/postgres
Command postgres starts a postgres server.
Command postgres starts a postgres server.

Jump to

Keyboard shortcuts

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