Versions in this module Expand all Collapse all v2 v2.0.2 Apr 16, 2020 v2.0.1 Apr 16, 2020 Changes in this version + var V03 Version + var V1 Version + var VS *Versions + type Attribute interface + Delete func(event.EventContextWriter) error + Get func(event.EventContextReader) interface{} + Kind func() Kind + Name func() string + PrefixedName func() string + Set func(event.EventContextWriter, interface{}) error + Version func() Version + type Kind uint8 + const DataContentType + const DataSchema + const ID + const Source + const SpecVersion + const Subject + const Time + const Type + func (k Kind) IsRequired() bool + func (k Kind) String() string + type Version interface + Attribute func(prefixedName string) Attribute + AttributeFromKind func(kind Kind) Attribute + Attributes func() []Attribute + Convert func(event.EventContextConverter) event.EventContext + NewContext func() event.EventContext + Prefix func() string + SetAttribute func(context event.EventContextWriter, name string, value interface{}) error + String func() string + type Versions struct + func New() *Versions + func WithPrefix(prefix string) *Versions + func (vs *Versions) Latest() Version + func (vs *Versions) Prefix() string + func (vs *Versions) PrefixedSpecVersionName() string + func (vs *Versions) Version(name string) Version + func (vs *Versions) Versions() []Version