Documentation
¶
Index ¶
Constants ¶
const NativeAppRedirectURI = "https://login.splunkbeta.com"
PKCE
Variables ¶
var ExpiredAuthenticationToken = os.Getenv("EXPIRED_BEARER_TOKEN")
ExpiredAuthenticationToken - to test authentication retries
var IdpHost = os.Getenv("IDP_HOST")
var Password = os.Getenv("TEST_PASSWORD")
var PkceClientID = os.Getenv("REFRESH_TOKEN_CLIENT_ID")
var StubbyTestCollection = "testcollection0"
StubbyTestCollection - A collection for stubby testing
var TenantCreationOn = os.Getenv("TENANT_CREATION") == "1"
TenantCreationOn specifies whether tenants should be created on the fly for identity service /tenant CRUD testing
var TestAuthenticationToken = os.Getenv("BEARER_TOKEN")
TestAuthenticationToken - the authentication that gives permission to make requests against the api
var TestCollection = fmt.Sprintf("gocollection%d", TimeSec)
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 = os.Getenv("ML_TENANT_ID")
TestTenant - the tenant to be used for the API
var TestModule = fmt.Sprintf("gomod%d", TimeSec)
TestModule - A namespace for integration testing
var TestModule2 = fmt.Sprintf("gomod2%d", TimeSec)
TestModule 2- A namespace for integration testing
var TestProvisionerTenant = os.Getenv("TENANT_PROVISIONER_ID")
TestTenant - the tenant to be used for the API
var TestSplunkCloudHost = os.Getenv("SPLUNK_CLOUD_HOST")
TestSplunkCloudHost - the url for the test api to be used
var TestTenant = os.Getenv("TENANT_ID")
TestTenant - the tenant to be used for the API
var TestTimeOut = time.Second * 5
TestTimeOut - the timeout to be used for requests to the api
var TestUsername = os.Getenv("BACKEND_CLIENT_ID")
TestUsername - the user running tests on behalf of
var TimeSec = time.Now().Unix()
TimeSec denotes the current timestamp
var Username = os.Getenv("TEST_USERNAME")
Functions ¶
func MakeSdkClient ¶
Get an client without the testing interface
Types ¶
This section is empty.