Documentation
¶
Overview ¶
nolint: lll
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
nolint: lll
Index ¶
- func GeneratePackage(tool string, pkg *schema.Package, extraFiles map[string][]byte) (map[string][]byte, error)
- type DocLanguageHelper
- func (d DocLanguageHelper) GetDocLinkForFunctionInputOrOutputType(packageName, moduleName, typeName string, input bool) string
- func (d DocLanguageHelper) GetDocLinkForResourceInputOrOutputType(packageName, moduleName, typeName string, input bool) string
- func (d DocLanguageHelper) GetDocLinkForResourceType(packageName, _, typeName string) string
- func (d DocLanguageHelper) GetLanguageTypeString(pkg *schema.Package, moduleName string, t schema.Type, input, optional bool) string
- func (d DocLanguageHelper) GetResourceFunctionResultName(resourceName string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DocLanguageHelper ¶ added in v1.12.1
type DocLanguageHelper struct{}
DocLanguageHelper is the DotNet-specific implementation of the DocLanguageHelper.
func (DocLanguageHelper) GetDocLinkForFunctionInputOrOutputType ¶ added in v1.13.0
func (d DocLanguageHelper) GetDocLinkForFunctionInputOrOutputType(packageName, moduleName, typeName string, input bool) string
GetDocLinkForFunctionInputOrOutputType returns the doc link for an input or output type of a Function.
func (DocLanguageHelper) GetDocLinkForResourceInputOrOutputType ¶ added in v1.13.0
func (d DocLanguageHelper) GetDocLinkForResourceInputOrOutputType(packageName, moduleName, typeName string, input bool) string
GetDocLinkForResourceInputOrOutputType returns the doc link for an input or output type of a Resource.
func (DocLanguageHelper) GetDocLinkForResourceType ¶ added in v1.12.1
func (d DocLanguageHelper) GetDocLinkForResourceType(packageName, _, typeName string) string
GetDocLinkForResourceType returns the .NET API doc URL 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 DotNet-specific type given a Pulumi schema type.
func (DocLanguageHelper) GetResourceFunctionResultName ¶ added in v1.13.0
func (d DocLanguageHelper) GetResourceFunctionResultName(resourceName string) string
GetResourceFunctionResultName returns the name of the result type when a function is used to lookup an existing resource.