generator-services

command
v1.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

README

Generator: Services

Each Service Definition contains metadata (such as the Display Name & Website Categories) required in other parts of the codebase, for easier grouping.

This generator takes that metadata and uses it to generate two things:

  1. Website Categories - which validates the categories used in the website exist, required for website deployments to happen.
  2. Service Definitions - generates the list of services used to run the Acceptance Tests

This is run via go:generate whenever the "SupportedServices" array is changed so that this is kept up-to-date.

Example Usage

go run main.go -path=../../path/to/root-directory

Arguments

  • help - Show help?

  • path - The Relative Path to the root of the repository

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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