Documentation
¶
Index ¶
Constants ¶
View Source
const (
PutEvent = "PUT"
)
List of possible events executed against a ruleset.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Err string `json:"error"` Response *http.Response `json:"-"` // Used by clients to return the original server response }
Error is a generic error response.
type EvalResult ¶
EvalResult is the response sent to the client after an eval.
type Event ¶
type Event struct { Type string `json:"type"` Path string `json:"path"` Version string `json:"version"` Ruleset *regula.Ruleset `json:"ruleset"` }
Event describes an event occured on a ruleset.
type Events ¶
type Events struct { Events []Event `json:"events,omitempty"` Revision string `json:"revision,omitempty"` Timeout bool `json:"timeout,omitempty"` }
Events holds a list of events occured on a group of rulesets.
Click to show internal directories.
Click to hide internal directories.