fileutil

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 3 Imported by: 4

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 added in v1.7.2

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 added in v1.7.2

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 added in v1.7.2

func GlobalConfigPath() string

GlobalConfigPath is a function used to join .yaml file name with configuration directory

func LoadBalancingConfigPath added in v1.7.2

func LoadBalancingConfigPath() string

LoadBalancingConfigPath is a function used to join .yaml file name with configuration directory

func LogConfigPath added in v1.7.1

func LogConfigPath() string

LogConfigPath is a function used to join .yaml file name with configuration directory

func MicroServiceConfigPath added in v1.7.2

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 added in v1.7.2

func MonitoringConfigPath() string

MonitoringConfigPath is a function used to join .yaml file name with configuration directory

func RateLimitingFile added in v1.7.2

func RateLimitingFile() string

RateLimitingFile is a function used to join .yaml file name with configuration directory

func RouterConfigPath added in v1.7.1

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 added in v1.7.2

func TLSConfigPath() string

TLSConfigPath is a function used to join .yaml file name with configuration directory

func TracingPath added in v1.7.2

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