{"modulePath":"github.com/apache/airavata","version":"v1.0.0-alpha1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package controller\n\nPackage controller serves the application template and batch deployment routes.\n\n## Types\n\n```go\ntype BatchDeploymentController struct {\n\t// contains filtered or unexported fields\n}\n```\nBatchDeploymentController serves /api/v1/slurm-deployments.\n\n```go\nfunc NewBatchDeploymentController(svc *service.BatchDeploymentService) *BatchDeploymentController\n```\nNewBatchDeploymentController returns a handler delegating to svc.\n\n```go\nfunc (h *BatchDeploymentController) Register(mux *http.ServeMux)\n```\nRegister mounts the deployment routes.\n\n```go\ntype TemplateController struct {\n\t// contains filtered or unexported fields\n}\n```\nTemplateController serves /api/v1/application-templates.\n\n```go\nfunc NewTemplateController(svc *service.TemplateService) *TemplateController\n```\nNewTemplateController returns a handler delegating to svc.\n\n```go\nfunc (h *TemplateController) Register(mux *http.ServeMux)\n```\nRegister mounts the template routes.\n\n","path":"github.com/apache/airavata/api/application/controller","name":"controller","synopsis":"Package controller serves the application template and batch deployment routes.","isRedistributable":true}
