Documentation ¶
Overview ¶
Package api provides scheduler http api routes implements.
Including application, deployment, service, configmap, secret. Please see the api document for details.
backend := Backend{} router := NewRouter(backend) actions := router.GetActions() //use the routing table information to register http client //...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router http api registry
func (*Router) GetActions ¶
func (r *Router) GetActions() []*httpserver.Action
GetActions get http api routing table information, and use it to register http client
Click to show internal directories.
Click to hide internal directories.