Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2024 Changes in this version + func GetSwagger() (swagger *openapi3.T, err error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Component struct + ActivelyAffectedBy *ImpactIncidentList + DisplayName *DisplayName + Labels *Labels + type ComponentAtQueryParameter = Date + type ComponentIdPathParameter = Id + type ComponentListResponse struct + Data []ComponentResponseData + type ComponentRequest = Component + type ComponentResponse struct + Data ComponentResponseData + type ComponentResponseData struct + ActivelyAffectedBy *ImpactIncidentList + DisplayName *DisplayName + Id Id + Labels *Labels + type CreateComponentJSONRequestBody = Component + type CreateImpactTypeJSONRequestBody = ImpactType + type CreateIncidentJSONRequestBody = Incident + type CreateIncidentUpdateJSONRequestBody = IncidentUpdate + type CreatePhaseListJSONRequestBody = PhaseList + type CreateSeverityJSONRequestBody = Severity + type Date = time.Time + type Description = string + type DisplayName = string + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type Generation struct + Generation Incremental + type GenerationQueryParameter = Incremental + type GenerationResponse = Generation + type GetComponentParams struct + At *ComponentAtQueryParameter + type GetComponentsParams struct + At *ComponentAtQueryParameter + type GetIncidentsParams struct + End time.Time + Start time.Time + type GetPhaseListParams struct + Generation *GenerationQueryParameter + type Id = openapi_types.UUID + type IdField struct + Id Id + type IdResponse = IdField + type Impact struct + Reference *Id + Severity *SeverityValue + Type *Id + type ImpactComponentList = []Impact + type ImpactIncidentList = []Impact + type ImpactType struct + Description *Description + DisplayName *DisplayName + type ImpactTypeIdPathParameter = Id + type ImpactTypeListResponse struct + Data []ImpactTypeResponseData + type ImpactTypeRequest = ImpactType + type ImpactTypeResponse struct + Data ImpactTypeResponseData + type ImpactTypeResponseData struct + Description *Description + DisplayName *DisplayName + Id Id + type Incident struct + Affects *ImpactComponentList + BeganAt *Date + Description *Description + DisplayName *DisplayName + EndedAt *Date + Phase *PhaseReference + Updates *IncrementalList + type IncidentIdPathParameter = Id + type IncidentListResponse struct + Data []IncidentResponseData + type IncidentRequest = Incident + type IncidentResponse struct + Data IncidentResponseData + type IncidentResponseData struct + Affects *ImpactComponentList + BeganAt *Date + Description *Description + DisplayName *DisplayName + EndedAt *Date + Id Id + Phase *PhaseReference + Updates *IncrementalList + type IncidentUpdate struct + CreatedAt *Date + Description *Description + DisplayName *DisplayName + type IncidentUpdateListResponse struct + Data []IncidentUpdateResponseData + type IncidentUpdateOrderPathParameter = Incremental + type IncidentUpdateRequest = IncidentUpdate + type IncidentUpdateResponse struct + Data IncidentUpdateResponseData + type IncidentUpdateResponseData struct + CreatedAt *Date + Description *Description + DisplayName *DisplayName + Order Incremental + type Incremental = int + type IncrementalList = []Incremental + type Labels map[string]string + type Order struct + Order Incremental + type OrderResponse = Order + type Phase = string + type PhaseList struct + Phases []Phase + type PhaseListRequest = PhaseList + type PhaseListResponse struct + Data PhaseListResponseData + type PhaseListResponseData struct + Generation Incremental + Phases []Phase + type PhaseReference struct + Generation Incremental + Order Incremental + type ServerInterface interface + CreateComponent func(ctx echo.Context) error + CreateImpactType func(ctx echo.Context) error + CreateIncident func(ctx echo.Context) error + CreateIncidentUpdate func(ctx echo.Context, incidentId IncidentIdPathParameter) error + CreatePhaseList func(ctx echo.Context) error + CreateSeverity func(ctx echo.Context) error + DeleteComponent func(ctx echo.Context, componentId ComponentIdPathParameter) error + DeleteImpactType func(ctx echo.Context, impactTypeId ImpactTypeIdPathParameter) error + DeleteIncident func(ctx echo.Context, incidentId IncidentIdPathParameter) error + DeleteIncidentUpdate func(ctx echo.Context, incidentId IncidentIdPathParameter, ...) error + DeleteSeverity func(ctx echo.Context, severityName SeverityNamePathParameter) error + GetComponent func(ctx echo.Context, componentId ComponentIdPathParameter, ...) error + GetComponents func(ctx echo.Context, params GetComponentsParams) error + GetImpactType func(ctx echo.Context, impactTypeId ImpactTypeIdPathParameter) error + GetImpactTypes func(ctx echo.Context) error + GetIncident func(ctx echo.Context, incidentId IncidentIdPathParameter) error + GetIncidentUpdate func(ctx echo.Context, incidentId IncidentIdPathParameter, ...) error + GetIncidentUpdates func(ctx echo.Context, incidentId IncidentIdPathParameter) error + GetIncidents func(ctx echo.Context, params GetIncidentsParams) error + GetPhaseList func(ctx echo.Context, params GetPhaseListParams) error + GetSeverities func(ctx echo.Context) error + GetSeverity func(ctx echo.Context, severityName SeverityNamePathParameter) error + UpdateComponent func(ctx echo.Context, componentId ComponentIdPathParameter) error + UpdateImpactType func(ctx echo.Context, impactTypeId ImpactTypeIdPathParameter) error + UpdateIncident func(ctx echo.Context, incidentId IncidentIdPathParameter) error + UpdateIncidentUpdate func(ctx echo.Context, incidentId IncidentIdPathParameter, ...) error + UpdateSeverity func(ctx echo.Context, severityName SeverityNamePathParameter) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) CreateComponent(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateImpactType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateIncident(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateIncidentUpdate(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreatePhaseList(ctx echo.Context) error + func (w *ServerInterfaceWrapper) CreateSeverity(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteComponent(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteImpactType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteIncident(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteIncidentUpdate(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteSeverity(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetComponent(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetComponents(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetImpactType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetImpactTypes(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetIncident(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetIncidentUpdate(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetIncidentUpdates(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetIncidents(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetPhaseList(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetSeverities(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetSeverity(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateComponent(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateImpactType(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateIncident(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateIncidentUpdate(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateSeverity(ctx echo.Context) error + type Severity struct + DisplayName *DisplayName + Value *SeverityValue + type SeverityListResponse struct + Data []Severity + type SeverityNamePathParameter = DisplayName + type SeverityRequest = Severity + type SeverityResponse struct + Data Severity + type SeverityValue = int + type UpdateComponentJSONRequestBody = Component + type UpdateImpactTypeJSONRequestBody = ImpactType + type UpdateIncidentJSONRequestBody = Incident + type UpdateIncidentUpdateJSONRequestBody = IncidentUpdate + type UpdateSeverityJSONRequestBody = Severity