Documentation ¶
Index ¶
- Constants
- func CreateEndpoint(client *splunk.SplunkClient, service string)
- func GetTestHostname(server *httptest.Server) string
- func GetTestPort(server *httptest.Server) string
- func GetTestToken() string
- func MockRequest(response string, sslVerificationActivated bool) *httptest.Server
- func MultitpleMockRequest(responses []map[string]interface{}, sslVerificationActivated bool) *httptest.Server
- func ValidateAlertQuery(alertQuery string) string
- func ValidateSearchQuery(searchQuery string) string
Constants ¶
View Source
const CreateAlerts = "createAlerts"
View Source
const GetAlertsNames = "getAlertsNames"
View Source
const GetTriggeredAlerts = "getTriggeredAlerts"
View Source
const GetTriggeredInstances = "getTriggeredInstances"
View Source
const JobsPathv2 = "services/search/v2/jobs/"
View Source
const SavedSearchesPath = "services/saved/searches/"
Variables ¶
This section is empty.
Functions ¶
func CreateEndpoint ¶
func CreateEndpoint(client *splunk.SplunkClient, service string)
func GetTestHostname ¶
func GetTestPort ¶
func GetTestToken ¶
func GetTestToken() string
func MockRequest ¶
mock an http server
func MultitpleMockRequest ¶
func ValidateAlertQuery ¶
func ValidateSearchQuery ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.