Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublishController ¶
type PublishController struct {
base.APIController
}
func (*PublishController) List ¶
func (c *PublishController) List()
@Title GetAll @Description get all PublishHistory @Param pageNo query int false "the page current no" @Param pageSize query int false "the page size" @Param resourceId query int true "the ResourceId id,e.g. deployment id" @Param type query int true "the ResourceId type , DEPLOYMENT 0 SERVICE 1 CONFIGMAP 2 SECRET 3" @Success 200 {object} []models.PublishHistory success @router /histories [get]
func (*PublishController) Prepare ¶
func (c *PublishController) Prepare()
func (*PublishController) Statistics ¶
func (c *PublishController) Statistics()
@Title kubernetes deploy statistics @Description kubernetes statistics @Param start_time query string false "the statistics start time" @Param end_time query string false "the statistics end time" @Success 200 {object} node.NodeStatistics success @router /statistics [get]
func (*PublishController) URLMapping ¶
func (c *PublishController) URLMapping()