func GetLabelsFieldSchema(schema *openapi.Schema) (labelsField string, fieldSchema *openapi.Schema, found bool, err error)
func GetNameFieldSchema(schema *openapi.Schema) (*openapi.Schema, bool)
func GetNameValueTemplate(schema *openapi.Schema) (string, error)
func GetReferenceFieldName(path []string, schema *openapi.Schema) (string, error)
GetReferenceFieldName returns the converted field name given the original reference field name.
func HasIam(schema *openapi.Schema) (bool, error)
func HasSensitiveFields(schema *openapi.Schema) (bool, error)
func HasStateHint(schema *openapi.Schema) (bool, error)
func IsImmutableField(schema *openapi.Schema) (bool, error)
func IsMutableButUnreadableField(schema *openapi.Schema) (bool, error)
func IsReferenceField(schema *openapi.Schema) bool
IsReferenceField takes the field schema and determines if the field is for resource reference.
func IsResourceIDFieldServerGenerated(nameFieldSchema *openapi.Schema) (bool, error)
func IsSensitiveField(schema *openapi.Schema) (bool, error)
IsSensitiveField takes the field schema and determines if the field is sensitive.