config

package
v2.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AslanServiceAddress

func AslanServiceAddress() string

func AslanServiceInfo

func AslanServiceInfo() *setting.ServiceInfo

func AslanxServiceAddress

func AslanxServiceAddress() string

func AslanxServiceInfo

func AslanxServiceInfo() *setting.ServiceInfo

func BuildResourceKey

func BuildResourceKey(resourceType, projectName, labelBinding string) string

func ClairServiceAddress

func ClairServiceAddress() string

func ClairServiceInfo

func ClairServiceInfo() *setting.ServiceInfo

func CollieServiceAddress

func CollieServiceAddress() string

func CollieServiceInfo

func CollieServiceInfo() *setting.ServiceInfo

func DataPath

func DataPath() string

func GetServiceAddress

func GetServiceAddress(name string, port int32) string

func GetServiceByCode

func GetServiceByCode(code int) *setting.ServiceInfo

func HubServerServiceAddress

func HubServerServiceAddress() string

func HubServerServiceInfo

func HubServerServiceInfo() *setting.ServiceInfo

func LocalChartTemplatePath

func LocalChartTemplatePath(name string) string

func LocalProductionServicePathWithRevision

func LocalProductionServicePathWithRevision(project, service, revision string) string

LocalProductionServicePathWithRevision returns a production service path with a given revision.

func LocalTemplatePath

func LocalTemplatePath(name, kind string) string

func LocalTestServicePath

func LocalTestServicePath(project, service string) string

func LocalTestServicePathWithRevision

func LocalTestServicePathWithRevision(project, service, revision string) string

LocalTestServicePathWithRevision returns a test service path with a given revision.

func LogFile

func LogFile() string

func LogLevel

func LogLevel() string

func LogName

func LogName() string

func LogPath

func LogPath() string

func MinioServiceInfo

func MinioServiceInfo() *setting.ServiceInfo

func MinioServiceName

func MinioServiceName() string

func Mode

func Mode() string

func MongoDatabase

func MongoDatabase() string

func MongoURI

func MongoURI() string

func MysqlDexDB

func MysqlDexDB() string

func MysqlHost

func MysqlHost() string

func MysqlPassword

func MysqlPassword() string

func MysqlUseDM added in v2.3.0

func MysqlUseDM() bool

func MysqlUser

func MysqlUser() string

func MysqlUserDB

func MysqlUserDB() string

func Namespace

func Namespace() string

func OPAServiceAddress

func OPAServiceAddress() string

func OPAServiceInfo

func OPAServiceInfo() *setting.ServiceInfo

func ObjectStorageChartTemplatePath

func ObjectStorageChartTemplatePath(name string) string

func ObjectStorageProductionServicePath

func ObjectStorageProductionServicePath(project, service string) string

func ObjectStorageServicePath

func ObjectStorageServicePath(project, service string) string

func ObjectStorageTemplatePath

func ObjectStorageTemplatePath(name, kind string) string

func PolicyDatabase

func PolicyDatabase() string

func RedisCommonCacheTokenDB

func RedisCommonCacheTokenDB() int

func RedisHost

func RedisHost() string

func RedisPassword

func RedisPassword() string

func RedisPort

func RedisPort() int

func RedisUserName

func RedisUserName() string

func RequestLogFile

func RequestLogFile() string

func RequestLogName

func RequestLogName() string

func RoleBindingNameFromUIDAndRole

func RoleBindingNameFromUIDAndRole(uid string, role setting.RoleType, roleNamespace string) string

func SecretKey

func SecretKey() string

func SendLogToFile

func SendLogToFile() bool

func SystemAddress

func SystemAddress() string

SystemAddress is the fully qualified domain name of the system, or an IP Address. Port and protocol are required if necessary. for example: foo.bar.com, https://for.bar.com, http://1.2.3.4:5678

func UserServiceAddress

func UserServiceAddress() string

func UserServiceInfo

func UserServiceInfo() *setting.ServiceInfo

func VMTaskLogPath

func VMTaskLogPath() string

func VendorServiceAddress

func VendorServiceAddress() string

func VendorServiceInfo

func VendorServiceInfo() *setting.ServiceInfo

func WarpDriveServiceInfo

func WarpDriveServiceInfo() *setting.ServiceInfo

func WarpDriveServiceName

func WarpDriveServiceName() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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