Documentation
¶
Index ¶
- func InputPathToIR(inPath string) (rBytes []byte, rErr error)
- func InputPathToIRWithParams(inPath string, params ...Param) (rBytes []byte, rErr error)
- func Run(inPath, outPath string) error
- func RunWithParams(inPath, outPath string, params ...Param) error
- func YAMLtoIR(in []byte) (rBytes []byte, rErr error)
- func YAMLtoIRWithParams(in []byte, params ...Param) (rBytes []byte, rErr error)
- type Param
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InputPathToIR ¶
func InputPathToIRWithParams ¶ added in v6.4.0
func Run ¶
Run invokes the "compile" operation on the Conjure CLI with the provided inPath and outPath as arguments.
func RunWithParams ¶ added in v6.4.0
RunWithParams invokes the "compile" operation on the Conjure CLI with the provided inPath and outPath as arguments. Any arguments or configuration supplied by the provided params are also applied.
Types ¶
type Param ¶ added in v6.4.0
type Param interface {
// contains filtered or unexported methods
}
func ExtensionsParam ¶ added in v6.4.0
ExtensionsParam returns a parameter that sets the extensions of the generated Conjure IR to be the JSON-marshalled content of the provided map if it is non-empty. Returns a no-op parameter if the provided map is nil or empty.
Click to show internal directories.
Click to hide internal directories.