Add missing MapMap and ArrayArray types to Go SDK (#5092)

This commit is contained in:
Evan Boyle 2020-08-03 11:37:28 -07:00 committed by GitHub
parent 06fa515bf7
commit 996fd85e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5464 additions and 0 deletions

View file

@ -2,6 +2,8 @@ CHANGELOG
=========
## HEAD (Unreleased)
- Add missing MapMap and ArrayArray types to Go SDK
[#5092](https://github.com/pulumi/pulumi/pull/5092)
- Switch os/user package with luser drop in replacement
[#5065](https://github.com/pulumi/pulumi/pull/5065)

View file

@ -203,6 +203,18 @@ func makeBuiltins(primitives []*builtin) []*builtin {
elementType: "[]map[string]" + p.Type,
Example: fmt.Sprintf("%sMapArray{%sMap{\"baz\": %s}}", name, name, p.Example),
})
builtins = append(builtins, &builtin{
Name: name + "MapMap",
Type: "map[string]" + name + "MapInput",
elementType: "map[string]map[string]" + p.Type,
Example: fmt.Sprintf("%sMapMap{\"baz\": %sMap{\"baz\": %s}}", name, name, p.Example),
})
builtins = append(builtins, &builtin{
Name: name + "ArrayArray",
Type: "[]" + name + "ArrayInput",
elementType: "[][]" + p.Type,
Example: fmt.Sprintf("%sArrayArray{%sArray{%s}}", name, name, p.Example),
})
}
nameToBuiltin := map[string]*builtin{}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff