Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attr ¶
type Attr struct { Type string `json:"type" yaml:"type"` Maximum *float64 `json:"maximum" yaml:"maximum"` Minimum *float64 `json:"minimum" yaml:"minimum"` ExclusiveMaximum *bool `json:"exclusiveMaximum" yaml:"exclusiveMaxmium"` ExclusiveMinimum *bool `json:"exclusiveMinimum" yaml:"exclusiveMinimum"` MaxLength *int `json:"maxLength" yaml:"maxLength"` MinLength *int `json:"minLength" yaml:"minLength"` Pattern *string `json:"pattern" yaml:"pattern"` MaxItems *int `json:"maxItems" yaml:"maxItems"` MinItems *int `json:"minItems" yaml:"minItems"` Required *[]string `json:"required" yaml:"required"` Enum *[]interface{} `json:"enum" yaml:"enum"` Items *Attr `json:"items" yaml:"items"` Properties *map[string]Attr `json:"properties" yaml:"properties"` Description *string `json:"description" yaml:"description"` Format *string `json:"format" yaml:"format"` Default *interface{} `json:"default" yaml:"default"` Auto *bool `json:"auto" yaml:"auto"` }
Attr is
func GetDefaultIDAttr ¶
func GetDefaultIDAttr() Attr
GetDefaultIDAttr returns the default ID attribute for events
func GetDefaultSourceAttr ¶
func GetDefaultSourceAttr() Attr
GetDefaultSourceAttr returns the default source attribute for events
func GetDefaultSpecVersionAttr ¶
func GetDefaultSpecVersionAttr() Attr
GetDefaultSpecVersionAttr returns the default specversion attribute for events
func GetDefaultTypeAttr ¶
func GetDefaultTypeAttr() Attr
GetDefaultTypeAttr returns the default type attribute for events
Click to show internal directories.
Click to hide internal directories.