models

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

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

func (o *Events) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Events) UnmarshalBinary

func (o *Events) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Events) Validate

func (o *Events) Validate(formats strfmt.Registry) error

Validate validates this get events o k body

type KeptnContextExtendedCE

type KeptnContextExtendedCE struct {

	// contenttype
	Contenttype string `json:"contenttype,omitempty"`

	// data
	Data interface{} `json:"data,omitempty"`

	// extensions
	Extensions interface{} `json:"extensions,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// source
	// Required: true
	Source *string `json:"source"`

	// specversion
	// Required: true
	Specversion *string `json:"specversion"`

	// time
	// Format: date-time
	Time strfmt.DateTime `json:"time,omitempty"`

	// type
	// Required: true
	Type *string `json:"type"`

	// 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

func (*KeptnContextExtendedCE) Validate

func (m *KeptnContextExtendedCE) Validate(formats strfmt.Registry) error

Validate validates this keptn context extended c e

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL