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 ¶
- Variables
- func FindEffectiveModuleForImportPath(file *modfile.File, importPath string) (string, string, error)
- func GenerateSchema(info tfbridge.ProviderInfo, sink diag.Sink) (pschema.PackageSpec, error)
- func GetModuleRoot(repo string, version string) string
- func LoadGoMod() (*modfile.File, error)
- func Main(pkg string, version string, prov tfbridge.ProviderInfo)
- type DocKind
- type GenerateOptions
- type Generator
- type GeneratorOptions
- type Language
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)
func GetModuleRoot ¶
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.