config

package
v0.0.0-...-116859e Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CliConfigName                = "kinto.yaml"
	KintoCoreHostKey             = "kintoCoreHost"
	KintoCoreSecretKey           = "kintoCoreSecret"
	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 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 GetKintoCoreSecret

func GetKintoCoreSecret() string

func Save

func Save()

func SetConfigName

func SetConfigName(configName string)

func SetConfigType

func SetConfigType(configType string)

func SetKintoCoreHost

func SetKintoCoreHost(kintoCoreHost string)

func SetKintoCoreSecret

func SetKintoCoreSecret(kintoCoreSecret string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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