Documentation ¶
Overview ¶
Package extension is used to interpret the dcl extensions.
Index ¶
- 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)
- 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
- func IsResourceIDFieldServerGenerated(nameFieldSchema *openapi.Schema) (bool, error)
- func IsSensitiveField(schema *openapi.Schema) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLabelsFieldSchema ¶
func GetNameFieldSchema ¶
func GetNameFieldSchema(schema *openapi.Schema) (*openapi.Schema, bool)
func GetNameValueTemplate ¶
func GetReferenceFieldName ¶
GetReferenceFieldName returns the converted field name given the original reference field name.
func HasSensitiveFields ¶
func HasStateHint ¶
func IsImmutableField ¶
func IsReferenceField ¶
func IsReferenceField(schema *openapi.Schema) bool
IsReferenceField takes the field schema and determines if the field is for resource reference.
func IsSensitiveField ¶
IsSensitiveField takes the field schema and determines if the field is sensitive.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.