config

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigFile = "cli-config.yml"

ConfigFile quebic-faas manager config file

Variables

This section is empty.

Functions

func GetConfigDir

func GetConfigDir() string

GetConfigDir quebic-faas config dir

func GetConfigFilePath

func GetConfigFilePath() string

GetConfigFilePath quebic-faas config file path

func GetDockerConfigFilePath

func GetDockerConfigFilePath() string

GetDockerConfigFilePath get path .docker/config.json

Types

type AppConfig

type AppConfig struct {
	AppID           string                `json:"appID"`
	Auth            AuthConfig            `json:"auth"`
	MgrServerConfig config.ServerConfig   `json:"mgrServerConfig"`
	EventBusConfig  config.EventBusConfig `json:"eventBusConfig"`
}

AppConfig appConfig

func (*AppConfig) SetDefault

func (appConfig *AppConfig) SetDefault()

SetDefault set default values

type AuthConfig

type AuthConfig struct {
	AuthToken string `json:"authToken" yaml:"authToken"`
}

AuthConfig auth-token for connect manager

type SavingConfig

type SavingConfig struct {
	Auth            AuthConfig          `json:"auth" yaml:"auth"`
	MgrServerConfig config.ServerConfig `json:"mgrServerConfig" yaml:"mgrServerConfig"`
}

SavingConfig configuration going for save

Jump to

Keyboard shortcuts

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