Documentation ¶
Index ¶
- type CollectionRouteGetBasicInformationRequest
- type CollectionRouteGetBasicInformationResponse
- type CollectionRouteGetLatestServiceRevisionsRequest
- type CollectionRouteGetLatestServiceRevisionsResponse
- type CollectionRouteGetServiceRevisionStatisticsRequest
- type CollectionRouteGetServiceRevisionStatisticsResponse
- type Handler
- func (h Handler) CollectionRouteGetBasicInformation(req CollectionRouteGetBasicInformationRequest) (*CollectionRouteGetBasicInformationResponse, error)
- func (h Handler) CollectionRouteGetLatestServiceRevisions(req CollectionRouteGetLatestServiceRevisionsRequest) (CollectionRouteGetLatestServiceRevisionsResponse, int, error)
- func (h Handler) CollectionRouteGetServiceRevisionStatistics(req CollectionRouteGetServiceRevisionStatisticsRequest) (*CollectionRouteGetServiceRevisionStatisticsResponse, error)
- func (Handler) Kind() string
- type RevisionStatusCount
- type RevisionStatusStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionRouteGetBasicInformationRequest ¶
type CollectionRouteGetBasicInformationRequest struct { WithServiceResource bool `query:"withServiceResource,omitempty"` WithServiceRevision bool `query:"withServiceRevision,omitempty"` Context *gin.Context // contains filtered or unexported fields }
func (*CollectionRouteGetBasicInformationRequest) SetGinContext ¶
func (r *CollectionRouteGetBasicInformationRequest) SetGinContext(ctx *gin.Context)
type CollectionRouteGetBasicInformationResponse ¶
type CollectionRouteGetBasicInformationResponse struct { // Project number. Project int `json:"project"` // Environment number. Environment int `json:"environment"` // Connector number. Connector int `json:"connector"` // Service number. Service int `json:"service"` // Service resource number. ServiceResource int `json:"serviceResource,omitempty"` // Service revision number. ServiceRevision int `json:"serviceRevision,omitempty"` }
type CollectionRouteGetLatestServiceRevisionsRequest ¶
type CollectionRouteGetLatestServiceRevisionsRequest struct { Context *gin.Context // contains filtered or unexported fields }
func (*CollectionRouteGetLatestServiceRevisionsRequest) SetGinContext ¶
func (r *CollectionRouteGetLatestServiceRevisionsRequest) SetGinContext(ctx *gin.Context)
type CollectionRouteGetLatestServiceRevisionsResponse ¶
type CollectionRouteGetLatestServiceRevisionsResponse = []*model.ServiceRevisionOutput
type CollectionRouteGetServiceRevisionStatisticsRequest ¶
type CollectionRouteGetServiceRevisionStatisticsRequest struct { Step string `json:"step"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` Context *gin.Context // contains filtered or unexported fields }
func (*CollectionRouteGetServiceRevisionStatisticsRequest) SetGinContext ¶
func (r *CollectionRouteGetServiceRevisionStatisticsRequest) SetGinContext(ctx *gin.Context)
func (*CollectionRouteGetServiceRevisionStatisticsRequest) Validate ¶
func (r *CollectionRouteGetServiceRevisionStatisticsRequest) Validate() error
type CollectionRouteGetServiceRevisionStatisticsResponse ¶
type CollectionRouteGetServiceRevisionStatisticsResponse struct { StatusCount *RevisionStatusCount `json:"statusCount"` StatusStats []*RevisionStatusStats `json:"statusStats"` }
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionRouteGetBasicInformation ¶
func (h Handler) CollectionRouteGetBasicInformation( req CollectionRouteGetBasicInformationRequest, ) (*CollectionRouteGetBasicInformationResponse, error)
func (Handler) CollectionRouteGetLatestServiceRevisions ¶
func (h Handler) CollectionRouteGetLatestServiceRevisions( req CollectionRouteGetLatestServiceRevisionsRequest, ) (CollectionRouteGetLatestServiceRevisionsResponse, int, error)
func (Handler) CollectionRouteGetServiceRevisionStatistics ¶
func (h Handler) CollectionRouteGetServiceRevisionStatistics( req CollectionRouteGetServiceRevisionStatisticsRequest, ) (*CollectionRouteGetServiceRevisionStatisticsResponse, error)
type RevisionStatusCount ¶
type RevisionStatusStats ¶
type RevisionStatusStats struct { RevisionStatusCount StartTime string `json:"startTime,omitempty"` }
RevisionStatusStats is the statistics of service revision status.
Click to show internal directories.
Click to hide internal directories.