Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { Line int IssueType model.IssueType Path []PathItem Value interface{} Attributes map[string]interface{} }
Condition represents a condition from a rule that should be checked
type PathItem ¶
type PathItem struct { Name string Type PathItemType }
PathItem represents json's element name and type
type PathItemType ¶
type PathItemType string
PathItemType represents which type of path that item belongs on json representation
const ( PathTypeDefault PathItemType = "DEFAULT" PathTypeResource PathItemType = "RESOURCE" PathTypeResourceType PathItemType = "RESOURCE_TYPE" PathTypeResourceName PathItemType = "RESOURCE_NAME" )
Constants for kinds of PathItemTypes
Click to show internal directories.
Click to hide internal directories.