Documentation ¶
Index ¶
- Constants
- func GetBillingAccountID(t *testing.T) string
- func GetCloudFunctionsTestProject(t *testing.T) string
- func GetDefaultProjectID(t *testing.T) string
- func GetDefaultProjectNumber(t *testing.T) string
- func GetDefaultServiceAccount(t *testing.T) string
- func GetFirestoreTestProject(t *testing.T) string
- func GetFolder2ID(t *testing.T) string
- func GetFolderID(t *testing.T) string
- func GetHighCpuQuotaTestProject(t *testing.T) string
- func GetIAMIntegrationTestsBillingAccountId(t *testing.T) string
- func GetIAMIntegrationTestsOrganizationId(t *testing.T) string
- func GetIAMPolicyBindingMember(t *testing.T) string
- func GetIdentityPlatformTestProject(t *testing.T) string
- func GetInterconnectTestProject(t *testing.T) string
- func GetIsolatedTestOrgName(t *testing.T) string
- func GetOrgID(t *testing.T) string
- func GetRecaptchaEnterpriseTestProject(t *testing.T) string
- func GetTestBillingAccountIDForBillingResources(t *testing.T) string
- func NewDefaultHTTPClient(t *testing.T) *http.Client
- func NewIAMClient(t *testing.T) *iam.Service
- func NewResourceManagerClient(t *testing.T) *cloudresourcemanager.Service
- func NewStorageClient(t *testing.T) *storage.Service
- func ResourceSupportsDeletion(resourceKind string) bool
Constants ¶
View Source
const ( TestFolderId = "TEST_FOLDER_ID" TestFolder2Id = "TEST_FOLDER_2_ID" TestOrgId = "TEST_ORG_ID" IAMIntegrationTestsOrganizationId = "IAM_INTEGRATION_TESTS_ORGANIZATION_ID" IsolatedTestOrgName = "ISOLATED_TEST_ORG_NAME" TestBillingAccountId = "TEST_BILLING_ACCOUNT_ID" TestBillingAccountIDForBillingResources = "BILLING_ACCOUNT_ID_FOR_BILLING_RESOURCES" IAMIntegrationTestsBillingAccountId = "IAM_INTEGRATION_TESTS_BILLING_ACCOUNT_ID" FirestoreTestProject = "FIRESTORE_TEST_PROJECT" CloudFunctionsTestProject = "CLOUD_FUNCTIONS_TEST_PROJECT" IdentityPlatformTestProject = "IDENTITY_PLATFORM_TEST_PROJECT" InterconnectTestProject = "INTERCONNECT_TEST_PROJECT" HighCPUQuotaTestProject = "HIGH_CPU_QUOTA_TEST_PROJECT" RecaptchaEnterpriseTestProject = "RECAPTCHA_ENTERPRISE_TEST_PROJECT" )
Variables ¶
This section is empty.
Functions ¶
func GetBillingAccountID ¶
func GetDefaultProjectID ¶
GetDefaultProjectID returns the ID of user's configured default GCP project.
func GetDefaultProjectNumber ¶
GetDefaultProjectNumber returns the project number of user's configured default GCP project.
func GetDefaultServiceAccount ¶
GetDefaultServiceAccount returns the service account used to access the user's configured default GCP project.
func GetFirestoreTestProject ¶
func GetFolder2ID ¶
func GetFolderID ¶
func GetIAMPolicyBindingMember ¶
attempts to return a valid IAM policy binding for the current credential by searching for an email in the cloud credentials file and defaulting to the current user if on a corp machine.
func GetIsolatedTestOrgName ¶
func NewIAMClient ¶
func NewStorageClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.