fileutil

package
v0.0.0-...-5dc8409 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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 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 GetRouter

func GetRouter() string

GetRouter 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

func GetWorkDir() (string, error)

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

func MicroserviceDefinition(microserviceName string) string

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

func PassLagerDefinition

func PassLagerDefinition() string

PassLagerDefinition 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

Types

This section is empty.

Jump to

Keyboard shortcuts

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