Documentation ¶
Index ¶
- Variables
- func DeployTempDir() string
- func DisableHistoricalUniqueName()
- func DisableOpsLog()
- func EnableHistoricalUniqueName()
- func EnableQuotaCheck() bool
- func EnableRbacDebug()
- func GetDataResp() bool
- func GetDefaultPagingLimit() int64
- func GetMaxPagingLimit() int64
- func GetNonDefaultDomainProjects() bool
- func GetRegion() string
- func GetRoleCacheExpireHours() time.Duration
- func GetServiceType() string
- func GetTenantCacheExpireSeconds() time.Duration
- func IsDomainizedNamespace() bool
- func IsHistoricalUniqueName() bool
- func IsRbacDebug() bool
- func OpsLogEnabled() bool
- func SetDataResp(enable bool)
- 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 SetServiceType(srvType string)
- func SetSplitableMaxDurationHours(h int)
- func SetSplitableMaxKeepMonths(cnt int)
- func SetTenantCacheExpireSeconds(sec int)
- 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"
)
Functions ¶
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 GetDataResp ¶
func GetDataResp() bool
func GetDefaultPagingLimit ¶
func GetDefaultPagingLimit() int64
func GetMaxPagingLimit ¶
func GetMaxPagingLimit() int64
func GetNonDefaultDomainProjects ¶
func GetNonDefaultDomainProjects() bool
func GetRoleCacheExpireHours ¶
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 SetDataResp ¶
func SetDataResp(enable bool)
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 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.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.