Documentation
¶
Index ¶
- type Contenttype
- type Data
- type Error
- type Event
- type EventContext
- 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 Project
- type Resource
- type Service
- 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 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 ¶
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 ¶
MarshalBinary interface implementation
func (*Event) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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 ¶
MarshalBinary interface implementation
func (*Project) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*Resource) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Service ¶
type Service struct {
// deployment strategies
DeploymentStrategies map[string]string `json:"deploymentStrategies,omitempty"`
// helm chart
HelmChart string `json:"helmChart,omitempty"`
// service name
// Required: true
ServiceName *string `json:"serviceName"`
}
Service service swagger:model service
func (*Service) MarshalBinary ¶
MarshalBinary interface implementation
func (*Service) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Time ¶
Time time swagger:model time
func (*Time) MarshalBinary ¶
MarshalBinary interface implementation
func (Time) MarshalJSON ¶
MarshalJSON retrieves a Time value as JSON output
func (*Time) UnmarshalBinary ¶
UnmarshalBinary interface implementation
func (*Time) UnmarshalJSON ¶
UnmarshalJSON sets a Time value from JSON input