consts

package
v0.3.10-0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 61

Documentation

Index

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 GetRegion

func GetRegion() string

func GetRoleCacheExpireHours

func GetRoleCacheExpireHours() time.Duration

func GetServiceType

func GetServiceType() string

func GetTenantCacheExpireSeconds

func GetTenantCacheExpireSeconds() time.Duration

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 SetRegion

func SetRegion(region 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 SplitableMaxDuration() time.Duration

func SplitableMaxKeepMonths

func SplitableMaxKeepMonths() int

Types

This section is empty.

Jump to

Keyboard shortcuts

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