config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CliConfigName                = "kinto.yaml"
	KintoCoreHostKey             = "kintoCoreHost"
	DefaultTeleportInterfacePort = "R:0.0.0.0"
	CoreHostResetKey             = "reset"
	DefaultClientAccessPort      = 5360
	DefaultClientTeleportPort    = 8080
	RedisPort                    = 6379
	PostgresPort                 = 5432
	MongoPort                    = 27017
	MinioPort                    = 9000
	MysqlPort                    = 3306
)

Variables

View Source
var DefaultkintoCoreHost = ""
View Source
var Version = "v0.0.1" //Needs to be a non-const for passing version at build time

Functions

func AddConfigPath

func AddConfigPath(path string)

func AutomaticEnv

func AutomaticEnv()

func CreateConfig

func CreateConfig(path string, configName string)

func GetKintoCoreHost

func GetKintoCoreHost() string

func GetString

func GetString(string string) string

func Save

func Save()

func SetConfigName

func SetConfigName(configName string)

func SetConfigType

func SetConfigType(configType string)

func SetKintoCoreHost

func SetKintoCoreHost(kintoCoreHost string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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