Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MUST_INCLUDE_ID = errors.New("Must include id")
)
Functions ¶
This section is empty.
Types ¶
type AllIncidents ¶
type AllIncidents struct {
// contains filtered or unexported fields
}
handles the api methods for incidents
func NewAllIncidents ¶
func NewAllIncidents(p *pipeline.Pipeline) *AllIncidents
func (*AllIncidents) EndPoint ¶
func (a *AllIncidents) EndPoint() string
func (*AllIncidents) Get ¶
func (a *AllIncidents) Get(w http.ResponseWriter, r *http.Request)
list all the current incidents for the pipeline
type Deleter ¶
type Deleter interface {
Delete(http.ResponseWriter, *http.Request)
}
provides an http "DELETE" method
type EndPointer ¶
type EndPointer interface {
EndPoint() string
}
return the end point for this method
type Getter ¶
type Getter interface {
Get(http.ResponseWriter, *http.Request)
}
provides an http "GET" method
type Incident ¶
type Incident struct {
// contains filtered or unexported fields
}
handles the api methods for incidents
func NewIncident ¶
Click to show internal directories.
Click to hide internal directories.