Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoPinOrchestrion ¶
AutoPinOrchestrion automatically runs PinOrchestrion if the necessary requirements are not already met. It prints messages to `stderr` to inform the user about what is going on.
Types ¶
type Options ¶ added in v0.9.4
type Options struct {
// Writer is the writer to send output of the command to. Defaults to
// [os.Stdout].
Writer io.Writer
// ErrWriter is the writer to send error messages to. Defaults to [os.Stderr].
ErrWriter io.Writer
// Validate checks the contents of all [orchestrionDotYML] files encountered
// during the pinning process, ensuring they are valid according to the JSON
// schema specification.
Validate bool
// NoGenerate disables emitting a `//go:generate` directive (which is
// otherwise emitted to facilitate automated upkeep of the contents of the
// [orchestrionToolGo] file).
NoGenerate bool
// NoPrune disables removing unnecessary imports from the [orchestrionToolGo]
// file. It will instead only print warnings about these.
NoPrune bool
}
Click to show internal directories.
Click to hide internal directories.