Documentation ¶
Index ¶
- Constants
- func ChassisHomeDir() string
- func GetAuth() string
- func GetConfDir() string
- func GetDefinition() string
- func GetLoadBalancing() string
- func GetMicroserviceDesc() string
- func GetMonitoring() string
- func GetRateLimiting() string
- func GetTLS() string
- func GetTracing() string
- func GetWorkDir() (string, error)
- func GlobalDefinition() string
- func HystrixDefinition() string
- func MicroserviceDefinition(microserviceName string) string
- func PaasLagerDefinition() string
- func RouterDefinition() string
- func SchemaDir(microserviceName string) 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 ChassisHomeDir ¶
func ChassisHomeDir() string
ChassisHomeDir is function used to get the home directory of chassis
func GetAuth ¶
func GetAuth() string
GetAuth is a function used to join .yaml file name with configuration directory
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 GetLoadBalancing ¶
func GetLoadBalancing() string
GetLoadBalancing is a function used to join .yaml file name with configuration directory
func GetMicroserviceDesc ¶
func GetMicroserviceDesc() string
GetMicroserviceDesc is a function used to join .yaml file name with configuration directory
func GetMonitoring ¶
func GetMonitoring() string
GetMonitoring is a function used to join .yaml file name with configuration directory
func GetRateLimiting ¶
func GetRateLimiting() string
GetRateLimiting is a function used to join .yaml file name with configuration directory
func GetTLS ¶
func GetTLS() string
GetTLS is a function used to join .yaml file name with configuration directory
func GetTracing ¶
func GetTracing() string
GetTracing is a function used to join .yaml file name with configuration directory
func GetWorkDir ¶
GetWorkDir is a function used to get the working directory
func GlobalDefinition ¶
func GlobalDefinition() string
GlobalDefinition is a function used to join .yaml file name with configuration directory
func HystrixDefinition ¶
func HystrixDefinition() string
HystrixDefinition is a function used to join .yaml file name with configuration path
func MicroserviceDefinition ¶
MicroserviceDefinition is a function used to join .yaml file name with configuration directory
func PaasLagerDefinition ¶
func PaasLagerDefinition() string
PaasLagerDefinition is a function used to join .yaml file name with configuration directory
func RouterDefinition ¶
func RouterDefinition() string
RouterDefinition is a function used to join .yaml file name with configuration directory
Types ¶
This section is empty.