Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressSchema ¶
func CompressSchema(pkgSpec schema.PackageSpec) ([]byte, error)
func DecompressSchema ¶
func PulumiSchema ¶
func PulumiSchema() (*schema.PackageSpec, *resources.CloudAPIMetadata, error)
PulumiSchema will generate a Pulumi schema for the given Google Cloud discovery documents.
func ToLowerCamel ¶
ToLowerCamel converts a string to lowerCamelCase. The code is adopted from https://github.com/iancoleman/strcase but changed in several ways to handle all the cases that are found in API specs in a most user-friendly way.
func ToUpperCamel ¶
ToUpperCamel converts a string to UpperCamelCase.
Types ¶
type GetFunction ¶
type GetFunction struct { ReturnTypeName string Method *discovery.RestMethod }
Click to show internal directories.
Click to hide internal directories.