Documentation
¶
Index ¶
Constants ¶
const NativeAppRedirectURI = "https://login.splunkbeta.com"
PKCE
Variables ¶
var ExpiredAuthenticationToken string
ExpiredAuthenticationToken - to test authentication retries
var IdpHost string
var LongTestTimeout = time.Second * 600
TestTimeOut - the timeout to be used for requests to the api in search tests
var Password string
var PkceClientID string
var RunSuffix = time.Now().Unix()
RunSuffix - run instance identifier suffix based on timestamp
var StubbyTestCollection = "testcollection0"
StubbyTestCollection - A collection for stubby testing
var TenantCreationOn bool
TenantCreationOn specifies whether tenants should be created on the fly for identity service /tenant CRUD testing
var TestAuthenticationToken string
TestAuthenticationToken - the authentication that gives permission to make requests against the api
var TestCollection = fmt.Sprintf("gocollection%d", RunSuffix)
TestCollection - A collection for integration testing
var TestInvalidTestTenant = "INVALID_TENANT_ID"
TestInvalidTestTenant - the invalid tenant ID that denies permission to make requests against the api
var TestMLTenant string
TestMLTenant - the tenant to be used for the API
var TestModule = fmt.Sprintf("gomod%d", RunSuffix)
TestModule - A namespace for integration testing
var TestModule2 = fmt.Sprintf("gomod2%d", RunSuffix)
TestModule 2- A namespace for integration testing
var TestProvisionerTenant string
TestProvisionerTenant - the tenant to be used for the API
var TestSplunkCloudHost string
TestSplunkCloudHost - the url for the test api to be used
var TestTenant string
TestTenant - the tenant to be used for the API
var TestTimeOut = time.Second * 30
TestTimeOut - the timeout to be used for requests to the api
var TestUsername string
TestUsername - the user running tests on behalf of
var Username string
Functions ¶
func GetFilename ¶ added in v1.5.0
func GetFilename() string
GetFilename uses reflection to get current filename
func MakeSdkClient ¶
Get an client without the testing interface
Types ¶
This section is empty.