Documentation ¶
Index ¶
- Constants
- type Tenant
- type TenantStatus
- type TenantType
- type TestTenantsManager
- func (mgr TestTenantsManager) EmptyTenant() string
- func (mgr TestTenantsManager) GetDefaultCustomerTenantID() string
- func (mgr TestTenantsManager) GetDefaultSubaccountTenantID() string
- func (mgr TestTenantsManager) GetDefaultTenantID() string
- func (mgr TestTenantsManager) GetIDByName(t require.TestingT, name string) string
- func (mgr TestTenantsManager) GetSystemFetcherTenantID() string
- func (mgr TestTenantsManager) GetTenantByName(name string) Tenant
- func (mgr *TestTenantsManager) Init()
- func (mgr TestTenantsManager) List() []Tenant
Constants ¶
View Source
const ( Active TenantStatus = "Active" Inactive TenantStatus = "Inactive" Account TenantType = "account" Customer TenantType = "customer" Subaccount TenantType = "subaccount" ResourceGroup TenantType = "resource-group" Folder TenantType = "folder" Organization TenantType = "organization" CostObject TenantType = "cost-object" TestDefaultCustomerTenant = "Test_DefaultCustomer" TestSystemFetcherTenant = "TestSystemFetcherAccount" TenantSeparationTenantName = "TestTenantSeparation" TenantsQueryNotInitializedTenantName = "TestTenantsQueryTenantNotInitialized" TenantsQueryInitializedTenantName = "TestTenantsQueryTenantInitialized" ApplicationsForRuntimeTenantName = "TestApplicationsForRuntime" ListLabelDefinitionsTenantName = "TestListLabelDefinitions" DeleteLastScenarioForApplicationTenantName = "TestDeleteLastScenarioForApplication" DeleteAutomaticScenarioAssignmentForScenarioTenantName = "Test_DeleteAutomaticScenarioAssignmentForScenario" DeleteAutomaticScenarioAssignmentForSelectorTenantName = "Test_DeleteAutomaticScenarioAssignmentForSelector" AutomaticScenarioAssigmentForRuntimeTenantName = "Test_AutomaticScenarioAssigmentForRuntime" AutomaticScenarioAssignmentQueriesTenantName = "Test_AutomaticScenarioAssignmentQueries" GetScenariosLabelDefinitionCreatesOneIfNotExistsTenantName = "TestGetScenariosLabelDefinitionCreatesOneIfNotExists" AutomaticScenarioAssignmentsWholeScenarioTenantName = "TestAutomaticScenarioAssignmentsWholeScenario" ApplicationsForRuntimeWithHiddenAppsTenantName = "TestApplicationsForRuntimeWithHiddenApps" TestIsolatedAccountName = "TestIsolatedAccount" TestDeleteApplicationIfInScenario = "TestDeleteApplicationIfInScenario" TestProviderSubaccount = "TestProviderSubaccount" TestCompassProviderSubaccount = "TestCompassProviderSubaccount" TestProviderSubaccountRegion2 = "TestProviderSubaccountRegion2" TestConsumerSubaccount = "TestConsumerSubaccount" TestIntegrationSystemManagedSubaccount = "TestIntegrationSystemManagedSubaccount" TestIntegrationSystemManagedAccount = "TestIntegrationSystemManagedAccount" TestAtomResourceGroup = "TestAtomResourceGroup" TestAtomFolder = "TestAtomFolder" TestAtomOrganization = "TestAtomOrganization" TestTenantSubstitutionAccount = "Test Tenant Substitution Account" TestTenantSubstitutionSubaccount = "Test Tenant Substitution Subaccount" TestTenantSubstitutionAccount2 = "Test Tenant Substitution Account 2" TestTenantSubstitutionSubaccount2 = "Test Tenant Substitution Subaccount 2" TestSystemFetcherOnNewGAName = "TestSystemFetcherOnNewGA" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tenant ¶
type Tenant struct { ID string Name string ExternalTenant string ProviderName string Type TenantType Parent string Status TenantStatus }
type TenantStatus ¶
type TenantStatus string
type TenantType ¶
type TenantType string
type TestTenantsManager ¶
type TestTenantsManager struct {
// contains filtered or unexported fields
}
var TestTenants TestTenantsManager
func (TestTenantsManager) EmptyTenant ¶
func (mgr TestTenantsManager) EmptyTenant() string
func (TestTenantsManager) GetDefaultCustomerTenantID ¶
func (mgr TestTenantsManager) GetDefaultCustomerTenantID() string
func (TestTenantsManager) GetDefaultSubaccountTenantID ¶
func (mgr TestTenantsManager) GetDefaultSubaccountTenantID() string
func (TestTenantsManager) GetDefaultTenantID ¶
func (mgr TestTenantsManager) GetDefaultTenantID() string
func (TestTenantsManager) GetIDByName ¶
func (mgr TestTenantsManager) GetIDByName(t require.TestingT, name string) string
func (TestTenantsManager) GetSystemFetcherTenantID ¶
func (mgr TestTenantsManager) GetSystemFetcherTenantID() string
func (TestTenantsManager) GetTenantByName ¶
func (mgr TestTenantsManager) GetTenantByName(name string) Tenant
func (*TestTenantsManager) Init ¶
func (mgr *TestTenantsManager) Init()
func (TestTenantsManager) List ¶
func (mgr TestTenantsManager) List() []Tenant
Click to show internal directories.
Click to hide internal directories.