dashboard

package
v0.3.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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

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 (*CollectionRouteGetServiceRevisionStatisticsRequest) Validate

type CollectionRouteGetServiceRevisionStatisticsResponse

type CollectionRouteGetServiceRevisionStatisticsResponse struct {
	StatusCount *RevisionStatusCount   `json:"statusCount"`
	StatusStats []*RevisionStatusStats `json:"statusStats"`
}

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func Handle

func Handle(mc model.ClientSet) Handler

func (Handler) Kind

func (Handler) Kind() string

type RevisionStatusCount

type RevisionStatusCount struct {
	Running int `json:"running"`
	Failed  int `json:"failed"`
	Succeed int `json:"succeed"`
}

type RevisionStatusStats

type RevisionStatusStats struct {
	RevisionStatusCount

	StartTime string `json:"startTime,omitempty"`
}

RevisionStatusStats is the statistics of service revision status.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL