Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Configuration options for a Request
type FunctionHandler ¶
FunctionHandler used for a serverless Go method invocation
type Request ¶
type Request struct { Alert template.Alert Config Configuration Header http.Header QueryString string Method string }
Request of remediation function call
type Response ¶
type Response struct { // Body the body will be written back Body []byte // StatusCode needs to be populated with value such as http.StatusOK StatusCode int // Header is optional and contains any additional headers the function response should set Header http.Header }
Response of function call
Click to show internal directories.
Click to hide internal directories.