models

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 42 modules, 97 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 Contenttype

type Contenttype string

Contenttype contenttype swagger:model contenttype

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

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

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

MarshalBinary interface implementation

func (*Event) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Event) Validate

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

Validate validates this event

type EventContext

type EventContext struct {

	// keptn context
	// Required: true
	KeptnContext *string `json:"keptnContext"`

	// token
	// Required: true
	Token *string `json:"token"`
}

EventContext event context swagger:model eventContext

func (*EventContext) MarshalBinary

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

MarshalBinary interface implementation

func (*EventContext) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*EventContext) Validate

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

Validate validates this event context

type Extensions

type Extensions interface{}

Extensions extensions swagger:model extensions

type ID

type ID string

ID id swagger:model id

func (ID) Validate

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

Validate validates this id

type KeptnContextExtendedCE added in v0.2.4

type KeptnContextExtendedCE struct {
	Event

	// shkeptncontext
	Shkeptncontext string `json:"shkeptncontext,omitempty"`
}

KeptnContextExtendedCE keptn context extended c e swagger:model keptnContextExtendedCE

func (*KeptnContextExtendedCE) MarshalBinary added in v0.2.4

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

MarshalBinary interface implementation

func (KeptnContextExtendedCE) MarshalJSON added in v0.2.4

func (m KeptnContextExtendedCE) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*KeptnContextExtendedCE) UnmarshalBinary added in v0.2.4

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

UnmarshalBinary interface implementation

func (*KeptnContextExtendedCE) UnmarshalJSON added in v0.2.4

func (m *KeptnContextExtendedCE) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*KeptnContextExtendedCE) Validate added in v0.2.4

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

Validate validates this keptn context extended c e

type Project

type Project struct {

	// git remote URL
	GitRemoteURL string `json:"gitRemoteURL,omitempty"`

	// git token
	GitToken string `json:"gitToken,omitempty"`

	// git user
	GitUser string `json:"gitUser,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// shipyard
	// Required: true
	Shipyard *string `json:"shipyard"`
}

Project project swagger:model project

func (*Project) MarshalBinary

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

MarshalBinary interface implementation

func (*Project) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Project) Validate

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

Validate validates this project

type Resource

type Resource struct {

	// Resource content
	// Required: true
	ResourceContent *string `json:"resourceContent"`

	// Resource URI
	// Required: true
	ResourceURI *string `json:"resourceURI"`
}

Resource resource swagger:model resource

func (*Resource) MarshalBinary

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

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Resource) Validate

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

Validate validates this resource

type Service

type Service struct {

	// deployment strategies
	DeploymentStrategies map[string]string `json:"deploymentStrategies,omitempty"`

	// helm chart
	// Required: true
	HelmChart *string `json:"helmChart"`

	// service name
	// Required: true
	ServiceName *string `json:"serviceName"`
}

Service service swagger:model service

func (*Service) MarshalBinary

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

MarshalBinary interface implementation

func (*Service) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Service) Validate

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

Validate validates this service

type Source

type Source string

Source source swagger:model source

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

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

Validate validates this specversion

type Time

type Time strfmt.DateTime

Time time swagger:model time

func (*Time) MarshalBinary

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

MarshalBinary interface implementation

func (Time) MarshalJSON

func (m Time) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a Time value as JSON output

func (*Time) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Time) UnmarshalJSON

func (m *Time) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a Time value from JSON input

func (Time) Validate

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

Validate validates this time

type Type

type Type string

Type type swagger:model type

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