Documentation
¶
Index ¶
- type Contenttype
- type Data
- type Error
- type Event
- type Events
- type Extensions
- type ID
- type KeptnContextExtendedCE
- func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
- func (m KeptnContextExtendedCE) MarshalJSON() ([]byte, error)
- func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
- func (m *KeptnContextExtendedCE) UnmarshalJSON(raw []byte) error
- func (m *KeptnContextExtendedCE) Validate(formats strfmt.Registry) error
- type LogEntry
- type Source
- type Specversion
- type Time
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contenttype ¶ added in v0.4.0
type Contenttype string
Contenttype contenttype swagger:model contenttype
type Error ¶
type Error struct { // code Code int64 `json:"code,omitempty"` // fields Fields string `json:"fields,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error swagger:model error
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Event ¶ added in v0.4.0
type Event struct { // contenttype Contenttype Contenttype `json:"contenttype,omitempty"` // data Data Data `json:"data,omitempty"` // extensions Extensions Extensions `json:"extensions,omitempty"` // id // Required: true ID ID `json:"id"` // source // Required: true Source Source `json:"source"` // specversion // Required: true Specversion Specversion `json:"specversion"` // time // Format: date-time Time Time `json:"time,omitempty"` // type // Required: true Type Type `json:"type"` }
Event event swagger:model event
func (*Event) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type Events ¶
type Events struct { // events Events []*KeptnContextExtendedCE `json:"events"` // Pointer to the next page NextPageKey string `json:"nextPageKey,omitempty"` // Size of the returned page PageSize int64 `json:"pageSize,omitempty"` // Total number of events TotalCount int64 `json:"totalCount,omitempty"` }
Events get events o k body swagger:model GetEventsOKBody
func (*Events) MarshalBinary ¶
MarshalBinary interface implementation
func (*Events) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Extensions ¶ added in v0.4.0
type Extensions interface{}
Extensions extensions swagger:model extensions
type KeptnContextExtendedCE ¶
type KeptnContextExtendedCE struct { Event // shkeptncontext Shkeptncontext string `json:"shkeptncontext,omitempty"` }
KeptnContextExtendedCE keptn context extended c e swagger:model KeptnContextExtendedCE
func (*KeptnContextExtendedCE) MarshalBinary ¶
func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (KeptnContextExtendedCE) MarshalJSON ¶
func (m KeptnContextExtendedCE) MarshalJSON() ([]byte, error)
MarshalJSON marshals this object to a JSON structure
func (*KeptnContextExtendedCE) UnmarshalBinary ¶
func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*KeptnContextExtendedCE) UnmarshalJSON ¶
func (m *KeptnContextExtendedCE) UnmarshalJSON(raw []byte) error
UnmarshalJSON unmarshals this object from a JSON structure
type LogEntry ¶ added in v0.4.0
type LogEntry struct { // event Id EventID string `json:"eventId,omitempty"` // keptn context KeptnContext string `json:"keptnContext,omitempty"` // keptn service KeptnService string `json:"keptnService,omitempty"` // log level LogLevel string `json:"logLevel,omitempty"` // message Message string `json:"message,omitempty"` // timestamp // Format: date-time Timestamp strfmt.DateTime `json:"timestamp,omitempty"` }
LogEntry log entry swagger:model LogEntry
func (*LogEntry) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (*LogEntry) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
type Specversion ¶ added in v0.4.0
type Specversion string
Specversion specversion swagger:model specversion
type Time ¶ added in v0.4.0
Time time swagger:model time
func (*Time) MarshalBinary ¶ added in v0.4.0
MarshalBinary interface implementation
func (Time) MarshalJSON ¶ added in v0.4.0
MarshalJSON retrieves a Time value as JSON output
func (*Time) UnmarshalBinary ¶ added in v0.4.0
UnmarshalBinary interface implementation
func (*Time) UnmarshalJSON ¶ added in v0.4.0
UnmarshalJSON sets a Time value from JSON input