models

package
v0.0.0-...-318a3d5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contenttype

type Contenttype string

Contenttype contenttype

swagger:model contenttype

func (Contenttype) ContextValidate

func (m Contenttype) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this contenttype based on context it is used

func (Contenttype) Validate

func (m Contenttype) Validate(formats strfmt.Registry) error

Validate validates this contenttype

type Data

type Data interface{}

Data data

swagger:model data

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) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

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 Extensions

type Extensions interface{}

Extensions extensions

swagger:model extensions

type ID

type ID string

ID id

swagger:model id

func (ID) ContextValidate

func (m ID) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this id based on context it is used

func (ID) Validate

func (m ID) Validate(formats strfmt.Registry) error

Validate validates this id

type LogEntry

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

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

MarshalBinary interface implementation

func (*LogEntry) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LogEntry) Validate

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

Validate validates this log entry

type Principal

type Principal string

Principal principal

swagger:model principal

func (Principal) ContextValidate

func (m Principal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this principal based on context it is used

func (Principal) Validate

func (m Principal) Validate(formats strfmt.Registry) error

Validate validates this principal

type Source

type Source string

Source source

swagger:model source

func (Source) ContextValidate

func (m Source) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this source based on context it is used

func (Source) Validate

func (m Source) Validate(formats strfmt.Registry) error

Validate validates this source

type Specversion

type Specversion string

Specversion specversion

swagger:model specversion

func (Specversion) ContextValidate

func (m Specversion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this specversion based on context it is used

func (Specversion) Validate

func (m Specversion) Validate(formats strfmt.Registry) error

Validate validates this specversion

type Type

type Type string

Type type

swagger:model type

func (Type) ContextValidate

func (m Type) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this type based on context it is used

func (Type) Validate

func (m Type) Validate(formats strfmt.Registry) error

Validate validates this type

Jump to

Keyboard shortcuts

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