tenant

package
v0.0.0-...-6d13c91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL