controller-config

command
v0.0.0-...-c325cbb Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

README

md-gen/controller-config

This script generates a Markdown reference doc for the controller config keys, based on the code in the github.com/juju/juju/controller package.

It requires the following environment variables to be set:

  • DOCS_DIR: the directory in which to place the outputted Markdown doc
  • JUJU_SRC_ROOT: the root directory of a local checked-out copy of the Juju source tree (github.com/juju/juju). This is used to locate the controller package and parse it into an AST to gather information e.g. doc comments.

Assuming you're in the root of the Juju source tree, you can invoke the script like so:

export DOCS_DIR=$(pwd)/docs
export JUJU_SRC_ROOT=$(pwd)
go run ./scripts/md-gen/controller-config

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