Documentation
¶
Index ¶
- Constants
- func AuthConfigPath() string
- func ChassisHomeDir() string
- func CircuitBreakerConfigPath() string
- func GetConfDir() string
- func GetDefinition() string
- func GetWorkDir() (string, error)
- func GlobalConfigPath() string
- func LoadBalancingConfigPath() string
- func LogConfigPath() string
- func MicroServiceConfigPath() string
- func MicroserviceDefinition(microserviceName string) string
- func MonitoringConfigPath() string
- func RateLimitingFile() string
- func RouterConfigPath() string
- func SchemaDir(microserviceName string) string
- func TLSConfigPath() string
- func TracingPath() string
Constants ¶
const ( //ChassisConfDir is constant of type string ChassisConfDir = "CHASSIS_CONF_DIR" //ChassisHome is constant of type string ChassisHome = "CHASSIS_HOME" //SchemaDirectory is constant of type string SchemaDirectory = "schema" )
const ( //Global is a constant of type string Global = "chassis.yaml" //LoadBalancing is constant of type string LoadBalancing = "load_balancing.yaml" //RateLimiting is constant of type string RateLimiting = "rate_limiting.yaml" //Definition is constant of type string Definition = "microservice.yaml" //Hystric is constant of type string Hystric = "circuit_breaker.yaml" //PaasLager is constant of type string PaasLager = "lager.yaml" //TLS is constant of type string TLS = "tls.yaml" //Monitoring is constant of type string Monitoring = "monitoring.yaml" //Auth is constant of type string Auth = "auth.yaml" //Tracing is constant of type string Tracing = "tracing.yaml" //Router is constant of type string Router = "router.yaml" )
Variables ¶
This section is empty.
Functions ¶
func AuthConfigPath ¶
func AuthConfigPath() string
AuthConfigPath is a function used to join .yaml file name with configuration directory
func ChassisHomeDir ¶
func ChassisHomeDir() string
ChassisHomeDir is function used to get the home directory of chassis
func CircuitBreakerConfigPath ¶
func CircuitBreakerConfigPath() string
CircuitBreakerConfigPath is a function used to join .yaml file name with configuration path
func GetConfDir ¶
func GetConfDir() string
GetConfDir is a function used to get the configuration directory
func GetDefinition ¶
func GetDefinition() string
GetDefinition is a function used to join .yaml file name with configuration path
func GetWorkDir ¶
GetWorkDir is a function used to get the working directory
func GlobalConfigPath ¶
func GlobalConfigPath() string
GlobalConfigPath is a function used to join .yaml file name with configuration directory
func LoadBalancingConfigPath ¶
func LoadBalancingConfigPath() string
LoadBalancingConfigPath is a function used to join .yaml file name with configuration directory
func LogConfigPath ¶
func LogConfigPath() string
LogConfigPath is a function used to join .yaml file name with configuration directory
func MicroServiceConfigPath ¶
func MicroServiceConfigPath() string
MicroServiceConfigPath is a function used to join .yaml file name with configuration directory
func MicroserviceDefinition ¶
MicroserviceDefinition is a function used to join .yaml file name with configuration directory
func MonitoringConfigPath ¶
func MonitoringConfigPath() string
MonitoringConfigPath is a function used to join .yaml file name with configuration directory
func RateLimitingFile ¶
func RateLimitingFile() string
RateLimitingFile is a function used to join .yaml file name with configuration directory
func RouterConfigPath ¶
func RouterConfigPath() string
RouterConfigPath is a function used to join .yaml file name with configuration directory
func TLSConfigPath ¶
func TLSConfigPath() string
TLSConfigPath is a function used to join .yaml file name with configuration directory
func TracingPath ¶
func TracingPath() string
TracingPath is a function used to join .yaml file name with configuration directory
Types ¶
This section is empty.