Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortedKeys ¶ added in v1.14.1
func SortedKeys(m interface{}) []string
SortedKeys returns a sorted list of keys for the given map. The map's key type must be of kind string.
func StripNonRelevantExamples ¶
StripNonRelevantExamples strips the non-relevant language snippets from a resource's description.
Types ¶
type DocLanguageHelper ¶
type DocLanguageHelper interface { GetPropertyName(p *schema.Property) (string, error) GetDocLinkForResourceType(packageName, moduleName, typeName string) string GetDocLinkForResourceInputOrOutputType(packageName, moduleName, typeName string, input bool) string GetDocLinkForFunctionInputOrOutputType(packageName, moduleName, typeName string, input bool) string GetLanguageTypeString(pkg *schema.Package, moduleName string, t schema.Type, input, optional bool) string // GetResourceFunctionResultName returns the name of the result type when a static resource function is used to lookup // an existing resource. GetResourceFunctionResultName(resourceName string) string }
DocLanguageHelper is an interface for extracting language-specific information from a Pulumi schema. See the implementation for this interface under each of the language code generators.
type StringSet ¶ added in v1.14.1
type StringSet map[string]struct{}
func NewStringSet ¶ added in v1.14.1
func (StringSet) SortedValues ¶ added in v1.14.1
Directories ¶
Path | Synopsis |
---|---|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning. |
nolint: lll
|
nolint: lll |
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning. |
nolint: goconst
|
nolint: goconst |
internal
|
|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning. |
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning.
|
Pulling out some of the repeated strings tokens into constants would harm readability, so we just ignore the goconst linter's warning. |
Click to show internal directories.
Click to hide internal directories.