Documentation ¶
Index ¶
- Variables
- func AllowVmSELinux() bool
- func DefaultDBChecksumHashAlgorithm() string
- func DefaultDBConnStr() string
- func DefaultDBDialect() string
- func DeployTempDir() string
- func DisableHistoricalUniqueName()
- func DisableOpsLog()
- func EnableHistoricalUniqueName()
- func EnableQuotaCheck() bool
- func EnableRbacDebug()
- func GetChangeOwnerAutoRename() bool
- func GetDataResp() bool
- func GetDefaultPagingLimit() int64
- func GetMaxPagingLimit() int64
- func GetNonDefaultDomainProjects() bool
- func GetRegion() string
- func GetRoleCacheExpireHours() time.Duration
- func GetServiceName() string
- func GetServiceType() string
- func GetTenantCacheExpireSeconds() time.Duration
- func GetZone() string
- func IsDomainizedNamespace() bool
- func IsHistoricalUniqueName() bool
- func IsRbacDebug() bool
- func OpsLogEnabled() bool
- func SetAllowVmSELinux(allow bool)
- func SetChangeOwnerAutoRename(enable bool)
- func SetDataResp(enable bool)
- func SetDefaultDB(dialect, connStr string)
- func SetDefaultDBChecksumHashAlgorithm(alg string)
- func SetDeployTempDir(dir string)
- func SetDomainizedNamespace(domainNS bool)
- func SetEnableQuotaCheck(val bool)
- func SetNonDefaultDomainProjects(val bool)
- func SetNotifyTemplateDir(dir string)
- func SetRegion(region string)
- func SetRoleCacheExpireHours(h int)
- func SetServiceName(srvName string)
- func SetServiceType(srvType string)
- func SetSplitableMaxDurationHours(h int)
- func SetSplitableMaxKeepMonths(cnt int)
- func SetTenantCacheExpireSeconds(sec int)
- func SetZone(zone string)
- func SplitableMaxDuration() time.Duration
- func SplitableMaxKeepMonths() int
Constants ¶
This section is empty.
Variables ¶
View Source
var ( QueryOffsetOptimization = false OpsLogWithClickhouse = false )
View Source
var (
COMMON_SERVICE = "common"
)
View Source
var (
NotifyTemplateDir = "/opt/yunion/share/notify_templates"
)
View Source
var (
ResourceTranslateI18nTable = i18n.Table{}
)
Functions ¶
func AllowVmSELinux ¶
func AllowVmSELinux() bool
func DefaultDBChecksumHashAlgorithm ¶
func DefaultDBChecksumHashAlgorithm() string
func DefaultDBConnStr ¶
func DefaultDBConnStr() string
func DefaultDBDialect ¶
func DefaultDBDialect() string
func DeployTempDir ¶
func DeployTempDir() string
func DisableHistoricalUniqueName ¶
func DisableHistoricalUniqueName()
func DisableOpsLog ¶
func DisableOpsLog()
func EnableHistoricalUniqueName ¶
func EnableHistoricalUniqueName()
func EnableQuotaCheck ¶
func EnableQuotaCheck() bool
func EnableRbacDebug ¶
func EnableRbacDebug()
func GetChangeOwnerAutoRename ¶
func GetChangeOwnerAutoRename() bool
func GetDataResp ¶
func GetDataResp() bool
func GetDefaultPagingLimit ¶
func GetDefaultPagingLimit() int64
func GetMaxPagingLimit ¶
func GetMaxPagingLimit() int64
func GetNonDefaultDomainProjects ¶
func GetNonDefaultDomainProjects() bool
func GetRoleCacheExpireHours ¶
func GetServiceName ¶
func GetServiceName() string
func GetServiceType ¶
func GetServiceType() string
func IsDomainizedNamespace ¶
func IsDomainizedNamespace() bool
func IsHistoricalUniqueName ¶
func IsHistoricalUniqueName() bool
func IsRbacDebug ¶
func IsRbacDebug() bool
func OpsLogEnabled ¶
func OpsLogEnabled() bool
func SetAllowVmSELinux ¶
func SetAllowVmSELinux(allow bool)
func SetChangeOwnerAutoRename ¶
func SetChangeOwnerAutoRename(enable bool)
func SetDataResp ¶
func SetDataResp(enable bool)
func SetDefaultDB ¶
func SetDefaultDB(dialect, connStr string)
func SetDefaultDBChecksumHashAlgorithm ¶
func SetDefaultDBChecksumHashAlgorithm(alg string)
func SetDeployTempDir ¶
func SetDeployTempDir(dir string)
func SetDomainizedNamespace ¶
func SetDomainizedNamespace(domainNS bool)
func SetEnableQuotaCheck ¶
func SetEnableQuotaCheck(val bool)
func SetNonDefaultDomainProjects ¶
func SetNonDefaultDomainProjects(val bool)
func SetNotifyTemplateDir ¶
func SetNotifyTemplateDir(dir string)
func SetRoleCacheExpireHours ¶
func SetRoleCacheExpireHours(h int)
func SetServiceName ¶
func SetServiceName(srvName string)
func SetServiceType ¶
func SetServiceType(srvType string)
func SetSplitableMaxDurationHours ¶
func SetSplitableMaxDurationHours(h int)
func SetSplitableMaxKeepMonths ¶
func SetSplitableMaxKeepMonths(cnt int)
func SetTenantCacheExpireSeconds ¶
func SetTenantCacheExpireSeconds(sec int)
func SplitableMaxDuration ¶
func SplitableMaxKeepMonths ¶
func SplitableMaxKeepMonths() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.