Documentation
¶
Index ¶
- Variables
- func SendResponse(results *[]externaldata.Item, systemErr string, respCode int, isMutation bool, ...) error
- func SendResponseWithError(results *[]externaldata.Item, systemErr string, w http.ResponseWriter) error
- func SendResponseWithWarning(results *[]externaldata.Item, systemErr string, respCode int, isMutation bool, ...) error
- func SetDryRun(dryRun bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DryRunGlobal = false
)
Functions ¶
func SendResponse ¶
func SendResponse(results *[]externaldata.Item, systemErr string, respCode int, isMutation bool, w http.ResponseWriter) error
sendResponse sends back the response to Gatekeeper.
func SendResponseWithError ¶
func SendResponseWithError(results *[]externaldata.Item, systemErr string, w http.ResponseWriter) error
func SendResponseWithWarning ¶ added in v1.5.9
func SendResponseWithWarning(results *[]externaldata.Item, systemErr string, respCode int, isMutation bool, w http.ResponseWriter, warning bool) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.