Documentation ¶
Overview ¶
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
nolint: goconst
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GenerateSchema ¶ added in v2.10.0
func GenerateSchema(info tfbridge.ProviderInfo, sink diag.Sink) (pschema.PackageSpec, error)
Types ¶
type DocKind ¶
type DocKind string
DocKind indicates what kind of entity's documentation is being requested.
type GenerateOptions ¶ added in v2.10.0
type GenerateOptions struct {
ModuleFormat string
}
type Generator ¶ added in v2.10.0
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶ added in v2.10.0
func NewGenerator(opts GeneratorOptions) (*Generator, error)
NewGenerator returns a code-generator for the given language runtime and package info.
type GeneratorOptions ¶ added in v2.10.0
Click to show internal directories.
Click to hide internal directories.