跳到主要内容
版本号:Next

Interface: ConfigWithHttps

Configuration object with additional methods for configuration, includes yaml and internal medatada.

Interface

Config

Hierarchy

Properties

_debug

Optional _debug: boolean

Inherited from

Config._debug

Defined in

packages/core/types/src/configuration.ts:258


auth

Optional auth: any

Inherited from

Config.auth

Defined in

packages/core/types/src/configuration.ts:266


configPath

configPath: string

Inherited from

Config.configPath

Defined in

packages/core/types/src/configuration.ts:303


experiments

Optional experiments: FlagsConfig

Inherited from

Config.experiments

Defined in

packages/core/types/src/configuration.ts:286


filters

Optional filters: any

Inherited from

Config.filters

Defined in

packages/core/types/src/configuration.ts:281


flags

Optional flags: FlagsConfig

Inherited from

Config.flags

Defined in

packages/core/types/src/configuration.ts:284


http_proxy

Optional http_proxy: string

Inherited from

Config.http_proxy

Defined in

packages/core/types/src/configuration.ts:273


https

https: HttpsConf

Overrides

Config.https

Defined in

packages/core/types/src/configuration.ts:32


https_proxy

Optional https_proxy: string

Inherited from

Config.https_proxy

Defined in

packages/core/types/src/configuration.ts:275


i18n

Optional i18n: Object

Type declaration

NameType
webstring

Inherited from

Config.i18n

Defined in

packages/core/types/src/configuration.ts:291


listen

Optional listen: ListenAddress

Inherited from

Config.listen

Defined in

packages/core/types/src/configuration.ts:270


log

Optional log: LoggerConfItem

Inherited from

Config.log

Defined in

packages/core/types/src/configuration.ts:262


logs

Optional logs: LoggerConfItem

Inherited from

Config.logs

Defined in

packages/core/types/src/configuration.ts:264


max_body_size

Optional max_body_size: string

Inherited from

Config.max_body_size

Defined in

packages/core/types/src/configuration.ts:277


middlewares

Optional middlewares: any

Inherited from

Config.middlewares

Defined in

packages/core/types/src/configuration.ts:280


no_proxy

Optional no_proxy: string

Inherited from

Config.no_proxy

Defined in

packages/core/types/src/configuration.ts:276


notifications

Optional notifications: Notifications

Inherited from

Config.notifications

Defined in

packages/core/types/src/configuration.ts:278


notify

Optional notify: Notifications | Notifications[]

Inherited from

Config.notify

Defined in

packages/core/types/src/configuration.ts:279


packages

packages: PackageList

Inherited from

Config.packages

Defined in

packages/core/types/src/configuration.ts:307


plugins

Optional plugins: null | string | void

Inherited from

Config.plugins

Defined in

packages/core/types/src/configuration.ts:274


publish

Optional publish: PublishOptions

Inherited from

Config.publish

Defined in

packages/core/types/src/configuration.ts:268


secret

secret: string

Inherited from

Config.secret

Defined in

packages/core/types/src/configuration.ts:301


security

security: Security

Inherited from

Config.security

Defined in

packages/core/types/src/configuration.ts:309


self_path

Optional self_path: string

Inherited from

Config.self_path

Defined in

packages/core/types/src/configuration.ts:305


server

Optional server: ServerSettingsConf

Inherited from

Config.server

Defined in

packages/core/types/src/configuration.ts:283


server_id

server_id: string

Inherited from

Config.server_id

Defined in

packages/core/types/src/configuration.ts:300


storage

Optional storage: string | void

Inherited from

Config.storage

Defined in

packages/core/types/src/configuration.ts:259


store

Optional store: any

Inherited from

Config.store

Defined in

packages/core/types/src/configuration.ts:269


uplinks: UpLinksConfList

Inherited from

Config.uplinks

Defined in

packages/core/types/src/configuration.ts:261


url_prefix

Optional url_prefix: string

Inherited from

Config.url_prefix

Defined in

packages/core/types/src/configuration.ts:282


userRateLimit

Optional userRateLimit: RateLimit

Inherited from

Config.userRateLimit

Defined in

packages/core/types/src/configuration.ts:287


user_agent

Optional user_agent: string

Inherited from

Config.user_agent

Defined in

packages/core/types/src/configuration.ts:272


web

Optional web: WebConf

Inherited from

Config.web

Defined in

packages/core/types/src/configuration.ts:265

Methods

checkSecretKey

checkSecretKey(token): string

Parameters

NameType
tokenstring | void

Returns

string

Inherited from

Config.checkSecretKey

Defined in

packages/core/types/src/configuration.ts:311


getMatchedPackagesSpec

getMatchedPackagesSpec(storage): void | PackageAccess

Parameters

NameType
storagestring

Returns

void | PackageAccess

Inherited from

Config.getMatchedPackagesSpec

Defined in

packages/core/types/src/configuration.ts:312