fileutil

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

View Source
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"
)
View Source
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

func GetWorkDir() (string, error)

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

func MicroserviceDefinition(microserviceName string) string

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 SchemaDir

func SchemaDir(microserviceName string) string

SchemaDir is a function used to join .yaml file name with configuration path

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.

Jump to

Keyboard shortcuts

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