Documentation ¶
Index ¶
- Constants
- type Contenttype
- type Data
- type Error
- type Evaluation
- type Event
- type EventContext
- type Extensions
- type ID
- type ImportSummary
- type KeptnContextExtendedCE
- func (m *KeptnContextExtendedCE) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
- func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
- func (m *KeptnContextExtendedCE) Validate(formats strfmt.Registry) error
- type Metadata
- type Principal
- type Project
- type Service
- type Source
- type Specversion
- type Task
- type Time
- type Type
Constants ¶
const ( // ImportSummaryOutcomeSuccess captures enum value "success" ImportSummaryOutcomeSuccess string = "success" // ImportSummaryOutcomeFailure captures enum value "failure" ImportSummaryOutcomeFailure string = "failure" )
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) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Evaluation ¶
type Evaluation struct { // Evaluation end timestamp End string `json:"end,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // Evaluation start timestamp Start string `json:"start,omitempty"` // Evaluation timeframe Timeframe string `json:"timeframe,omitempty"` }
Evaluation evaluation
swagger:model evaluation
func (*Evaluation) MarshalBinary ¶
func (m *Evaluation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Evaluation) UnmarshalBinary ¶
func (m *Evaluation) UnmarshalBinary(b []byte) error
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"` }
EventContext event context
swagger:model eventContext
func (*EventContext) ContextValidate ¶
ContextValidate validates this event context based on context it is used
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 ImportSummary ¶
type ImportSummary struct { // message Message string `json:"message,omitempty"` // outcome // Enum: [success failure] Outcome string `json:"outcome,omitempty"` // tasks Tasks []*Task `json:"tasks"` }
ImportSummary import summary
swagger:model importSummary
func (*ImportSummary) ContextValidate ¶
ContextValidate validate this import summary based on the context it is used
func (*ImportSummary) MarshalBinary ¶
func (m *ImportSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ImportSummary) UnmarshalBinary ¶
func (m *ImportSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeptnContextExtendedCE ¶
type KeptnContextExtendedCE struct { // contenttype Contenttype string `json:"contenttype,omitempty"` // data // Required: true Data interface{} `json:"data"` // extensions Extensions interface{} `json:"extensions,omitempty"` // gitcommitid Gitcommitid string `json:"gitcommitid,omitempty"` // id ID string `json:"id,omitempty"` // shkeptncontext Shkeptncontext string `json:"shkeptncontext,omitempty"` // shkeptnversion Shkeptnversion string `json:"shkeptnversion,omitempty"` // source // Required: true Source *string `json:"source"` // specversion Specversion string `json:"specversion,omitempty"` // time // Format: date-time Time strfmt.DateTime `json:"time,omitempty"` // triggeredid Triggeredid string `json:"triggeredid,omitempty"` // type // Required: true Type *string `json:"type"` }
KeptnContextExtendedCE keptn context extended c e
swagger:model keptnContextExtendedCE
func (*KeptnContextExtendedCE) ContextValidate ¶
func (m *KeptnContextExtendedCE) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this keptn context extended c e based on context it is used
func (*KeptnContextExtendedCE) MarshalBinary ¶
func (m *KeptnContextExtendedCE) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeptnContextExtendedCE) UnmarshalBinary ¶
func (m *KeptnContextExtendedCE) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Metadata ¶
type Metadata struct { // automaticprovisioning // Required: true Automaticprovisioning *bool `json:"automaticprovisioning"` // bridgeversion Bridgeversion string `json:"bridgeversion,omitempty"` // keptnlabel Keptnlabel string `json:"keptnlabel,omitempty"` // keptnservices Keptnservices interface{} `json:"keptnservices,omitempty"` // keptnversion Keptnversion string `json:"keptnversion,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // shipyardversion Shipyardversion string `json:"shipyardversion,omitempty"` }
Metadata metadata
swagger:model metadata
func (*Metadata) ContextValidate ¶
ContextValidate validates this metadata based on context it is used
func (*Metadata) MarshalBinary ¶
MarshalBinary interface implementation
func (*Metadata) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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 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 Task ¶
type Task struct { // response Response interface{} `json:"response,omitempty"` // task Task interface{} `json:"task,omitempty"` }
Task task
swagger:model task
func (*Task) ContextValidate ¶
ContextValidate validates this task based on context it is used
func (*Task) MarshalBinary ¶
MarshalBinary interface implementation
func (*Task) 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