nodejs

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

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: lll, goconst

Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.

nolint: lll, goconst

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePackage

func GeneratePackage(tool string, pkg *schema.Package, extraFiles map[string][]byte) (map[string][]byte, error)

func GetDocLinkForBuiltInType added in v1.12.1

func GetDocLinkForBuiltInType(typeName string) string

GetDocLinkForBuiltInType returns the URL for a built-in type.

Types

type DocLanguageHelper added in v1.12.1

type DocLanguageHelper struct{}

DocLanguageHelper is the NodeJS-specific implementation of the DocLanguageHelper.

func (DocLanguageHelper) GetDocLinkForInputType added in v1.12.1

func (d DocLanguageHelper) GetDocLinkForInputType(packageName, modName, typeName string) string

GetDocLinkForInputType returns the doc link for an input type.

func (DocLanguageHelper) GetDocLinkForResourceType added in v1.12.1

func (d DocLanguageHelper) GetDocLinkForResourceType(packageName, modName, typeName string) string

GetDocLinkForResourceType returns the NodeJS API doc for a type belonging to a resource provider.

func (DocLanguageHelper) GetLanguageTypeString added in v1.12.1

func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName string, t schema.Type, input, optional bool) string

GetLanguageTypeString returns the language-specific type given a Pulumi schema type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL