Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(request *pluginpb.CodeGeneratorRequest) (*pluginpb.CodeGeneratorResponse, error)
Types ¶
type Options ¶
type Options struct { // The filename the generator will output into. // Defaults to `"index.ts"`. Filename string // The insertion point in the target file the generator // use. // Defaults to `""` (ie. no insertion point) InsertionPoint string // ExcludeResourceDefinitions disables generation of resource names // based on resource definitions in the file. // Defaults to false. ExcludeResourceDefinitions bool }
Click to show internal directories.
Click to hide internal directories.