Documentation ¶
Index ¶
- type Factory
- type FactoryRepos
- type HomeController
- type HomePage
- type IncidentPage
- type IncidentsController
- func (c IncidentsController) APICreate(req *http.Request, r martrend.Render)
- func (c IncidentsController) APIIndex(req *http.Request, r martrend.Render)
- func (c IncidentsController) APIRead(req *http.Request, r martrend.Render, params mart.Params)
- func (c IncidentsController) Index(req *http.Request, r martrend.Render)
- func (c IncidentsController) Read(req *http.Request, r martrend.Render, params mart.Params)
- type IncidentsPage
- type ScheduledIncidentPage
- type ScheduledIncidentsController
- func (c ScheduledIncidentsController) APICreate(req *http.Request, r martrend.Render)
- func (c ScheduledIncidentsController) APIDelete(r martrend.Render, params mart.Params)
- func (c ScheduledIncidentsController) APIIndex(r martrend.Render)
- func (c ScheduledIncidentsController) APIRead(r martrend.Render, params mart.Params)
- func (c ScheduledIncidentsController) Index(r martrend.Render)
- func (c ScheduledIncidentsController) Read(r martrend.Render, params mart.Params)
- type ScheduledIncidentsPage
- type TasksController
- func (c TasksController) APIConsume(req *http.Request, r martrend.Render, params mart.Params)
- func (c TasksController) APIReadState(req *http.Request, r martrend.Render, params mart.Params)
- func (c TasksController) APIUpdate(req *http.Request, r martrend.Render, params mart.Params)
- func (c TasksController) APIUpdateState(req *http.Request, r martrend.Render, params mart.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory struct { HomeController HomeController IncidentsController IncidentsController ScheduledIncidentsController ScheduledIncidentsController TasksController TasksController }
func NewFactory ¶
func NewFactory(r FactoryRepos, logger boshlog.Logger) (Factory, error)
type FactoryRepos ¶
type HomeController ¶
type HomeController struct {
// contains filtered or unexported fields
}
func NewHomeController ¶
func NewHomeController( incidentsRepo incident.Repo, scheduledIncidentsRepo scheduledinc.Repo, logger boshlog.Logger, ) HomeController
func (HomeController) Home ¶
func (c HomeController) Home(r martrend.Render)
type HomePage ¶
type HomePage struct { Incidents incident.IncidentsResp ScheduledIncidents scheduledinc.Responses }
type IncidentPage ¶
type IncidentsController ¶
type IncidentsController struct {
// contains filtered or unexported fields
}
func NewIncidentsController ¶
func NewIncidentsController( incidentsRepo incident.Repo, logger boshlog.Logger, ) IncidentsController
func (IncidentsController) APICreate ¶
func (c IncidentsController) APICreate(req *http.Request, r martrend.Render)
func (IncidentsController) APIIndex ¶
func (c IncidentsController) APIIndex(req *http.Request, r martrend.Render)
type IncidentsPage ¶
type ScheduledIncidentPage ¶
type ScheduledIncidentPage struct {
ScheduledIncident scheduledinc.Response
}
type ScheduledIncidentsController ¶
type ScheduledIncidentsController struct {
// contains filtered or unexported fields
}
func NewScheduledIncidentsController ¶
func NewScheduledIncidentsController( repo scheduledinc.Repo, logger boshlog.Logger, ) ScheduledIncidentsController
func (ScheduledIncidentsController) APICreate ¶
func (c ScheduledIncidentsController) APICreate(req *http.Request, r martrend.Render)
func (ScheduledIncidentsController) APIDelete ¶
func (c ScheduledIncidentsController) APIDelete(r martrend.Render, params mart.Params)
func (ScheduledIncidentsController) APIIndex ¶
func (c ScheduledIncidentsController) APIIndex(r martrend.Render)
func (ScheduledIncidentsController) APIRead ¶
func (c ScheduledIncidentsController) APIRead(r martrend.Render, params mart.Params)
func (ScheduledIncidentsController) Index ¶
func (c ScheduledIncidentsController) Index(r martrend.Render)
type ScheduledIncidentsPage ¶
type ScheduledIncidentsPage struct {
ScheduledIncidents []scheduledinc.Response
}
type TasksController ¶
type TasksController struct {
// contains filtered or unexported fields
}
func NewTasksController ¶
func NewTasksController( tasksRepo tasks.Repo, logger boshlog.Logger, ) TasksController
func (TasksController) APIConsume ¶
func (TasksController) APIReadState ¶
func (TasksController) APIUpdateState ¶
Click to show internal directories.
Click to hide internal directories.