Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrefixPath = "/scheduler" InstancesPath = "/instances" InstancePath = "/instances/%s" )
Paths
View Source
const (
Port = 50001
)
Variables ¶
View Source
var ( SchedulerServiceName = "scheduler" DefaultHostPort = SchedulerServiceName + ":" + strconv.Itoa(Port) )
View Source
var Routes = []utils.Route{ { Name: startInstanceName, Method: http.MethodPost, Pattern: instancesRoute, HandlerFunc: startInstanceHandler, }, { Name: stopInstanceName, Method: http.MethodDelete, Pattern: instanceRoute, HandlerFunc: stopInstanceHandler, }, { Name: stopAllInstancesName, Method: http.MethodDelete, Pattern: instancesRoute, HandlerFunc: stopAllInstancesHandler, }, }
Functions ¶
func GetInstancePath ¶
func GetInstancesPath ¶
func GetInstancesPath() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.