v1http

package
v0.0.0-...-6ac6f58 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0, BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAPI

func InitAPI() (err error)

InitAPI init api handlers to router

func ResetProjectResourceAndSuggestion

func ResetProjectResourceAndSuggestion(req *restful.Request, resp *restful.Response)

ResetProjectResourceAndSuggestion provide the methods to reset the resource and suggestion settings in project db

Types

type ProjectResetParam

type ProjectResetParam struct {
	ProjectIDList []string `json:"project_id_list"`
	SuggestCPU    int64    `json:"suggest_cpu"`
	RequestCPU    int64    `json:"request_cpu"`
}

ProjectResetParam describe the param for resetting project resource settings

Jump to

Keyboard shortcuts

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