// Register adds the RunnerService to the otohttp.Server.
Register adds the RunnerService to the otohttp.Server.
// Register adds the RunnerService to the otohttp . Server .
func RegisterRunnerService(server *otohttp.Server, runnerService RunnerService) {
	handler := &runnerServiceServer{
		server:        server,
		runnerService: runnerService,
	}
	server.Register("RunnerService", "Apply", handler.handleApply)
	server.Register("RunnerService", "Delete", handler.handleDelete)
	server.Register("RunnerService", "Failed", handler.handleFailed)
	server.Register("RunnerService", "FailedStage", handler.handleFailedStage)
	server.Register("RunnerService", "Finish", handler.handleFinish)
	server.Register("RunnerService", "FinishStage", handler.handleFinishStage)
	server.Register("RunnerService", "Get", handler.handleGet)
	server.Register("RunnerService", "Heartbeat", handler.handleHeartbeat)
	server.Register("RunnerService", "List", handler.handleList)
	server.Register("RunnerService", "LogDebug", handler.handleLogDebug)
	server.Register("RunnerService", "LogError", handler.handleLogError)
	server.Register("RunnerService", "LogInfo", handler.handleLogInfo)
	server.Register("RunnerService", "LogItem", handler.handleLogItem)
	server.Register("RunnerService", "Script", handler.handleScript)
	server.Register("RunnerService", "Start", handler.handleStart)
	server.Register("RunnerService", "StartStage", handler.handleStartStage)
	server.Register("RunnerService", "UploadFile", handler.handleUploadFile)
}
func RegisterRunnerService ( server * otohttp . Server , runnerService RunnerService ) { handler := & runnerServiceServer { server : server , runnerService : runnerService , } server . Register ( " " , " " , handler . handleApply ) server . Register ( " " , " " , handler . handleDelete ) server . Register ( " " , " " , handler . handleFailed ) server . Register ( " " , " " , handler . handleFailedStage ) server . Register ( " " , " " , handler . handleFinish ) server . Register ( " " , " " , handler . handleFinishStage ) server . Register ( " " , " " , handler . handleGet ) server . Register ( " " , " " , handler . handleHeartbeat ) server . Register ( " " , " " , handler . handleList ) server . Register ( " " , " " , handler . handleLogDebug ) server . Register ( " " , " " , handler . handleLogError ) server . Register ( " " , " " , handler . handleLogInfo ) server . Register ( " " , " " , handler . handleLogItem ) server . Register ( " " , " " , handler . handleScript ) server . Register ( " " , " " , handler . handleStart ) server . Register ( " " , " " , handler . handleStartStage ) server . Register ( " " , " " , handler . handleUploadFile ) }
Register adds the RunnerService to the otohttp.Server.
Register adds the RunnerService to the otohttp . Server .