Documentation ¶
Index ¶
Constants ¶
View Source
const ( OAS_type_string = "string" OAS_type_integer = "integer" OAS_type_number = "number" OAS_type_boolean = "boolean" OAS_type_array = "array" OAS_type_object = "object" OAS_type_null = "null" OAS_format_double = "double" OAS_format_float = "float" OAS_format_password = "password" OAS_param_path = "path" OAS_param_query = "query" // Custom format for SetNested and Set attributes TF_format_set = "set" OAS_mediatype_json = "application/json" OAS_response_code_ok = "200" OAS_response_code_created = "201" )
Reference links:
Variables ¶
This section is empty.
Functions ¶
func CreateElementType ¶
func CreateElementType(attrType schema.ObjectAttributeType) schema.ElementType
CreateElementType is a helper function that assists in mapping between ObjectAttributeType and ElementType as their structs share the same underlying types
func CreateObjectAttributeType ¶
func CreateObjectAttributeType(name string, elemType schema.ElementType) schema.ObjectAttributeType
CreateObjectAttributeType is a helper function that assists in mapping between ElementType and ObjectAttributeType as their structs share the same underlying types
func TerraformIdentifier ¶
TerraformIdentifier attempts to convert the given string to a valid Terraform identifier for usage in a Provider Code Specification.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.