Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFile = "manager-config.yml"
ConfigFile quebic-faas manager config file
View Source
const Deployment_Docker = "docker"
View Source
const Deployment_Kubernetes = "kubernetes"
Variables ¶
This section is empty.
Functions ¶
func GetConfigFilePath ¶
func GetConfigFilePath() string
GetConfigFilePath quebic-faas config file path
func GetDockerConfigFilePath ¶
func GetDockerConfigFilePath() string
GetDockerConfigFilePath get path .docker/config.json
Types ¶
type APIGatewayConfig ¶
type APIGatewayConfig struct { ServerConfig config.ServerConfig `json:"serverConfig" yaml:"serverConfig"` IngressConfig IngressConfig `json:"ingressConfig" yaml:"ingressConfig"` }
APIGatewayConfig apigateway config
type AppConfig ¶
type AppConfig struct { AppID string `json:"appID"` Auth AuthConfig `json:"auth"` ServerConfig config.ServerConfig `json:"serverConfig"` DockerConfig DockerConfig `json:"dockerConfig"` KubernetesConfig KubeConfig `json:"kubernetesConfig"` EventBusConfig config.EventBusConfig `json:"eventBusConfig"` APIGatewayConfig APIGatewayConfig `json:"apiGatewayConfig"` MgrDashboardConfig MgrDashboardConfig `json:"mgrDashboardConfig"` Deployment string `json:"deployment"` }
AppConfig appConfig
func (*AppConfig) SetDefault ¶
func (appConfig *AppConfig) SetDefault()
SetDefault set default values
type AuthConfig ¶
type AuthConfig struct { Username string `json:"username" yaml:"username"` Password string `json:"password" yaml:"password"` }
AuthConfig authConfig Auth for connect manager
type DockerConfig ¶
type DockerConfig struct {
RegistryAddress string `json:"registryAddress" yaml:"registryAddress"`
}
DockerConfig docker confog
func (*DockerConfig) GetDockerAuthConfig ¶
func (dockerConfig *DockerConfig) GetDockerAuthConfig() (types.AuthConfig, error)
GetDockerAuthConfig get docker auth data
type IngressConfig ¶ added in v0.1.2
type IngressConfig struct { Provider string `json:"provider" yaml:"provider"` StaticIP string `json:"staticIP" yaml:"staticIP"` RoutePrefix string `json:"routePrefix" yaml:"routePrefix"` }
IngressConfig config for ingress controller
type KubeConfig ¶
type KubeConfig struct {
ConfigPath string `json:"configPath" yaml:"configPath"`
}
KubeConfig kube confog
type MgrDashboardConfig ¶ added in v0.1.2
type MgrDashboardConfig struct {
ServerConfig config.ServerConfig `json:"serverConfig" yaml:"serverConfig"`
}
MgrDashboardConfig mgrDashboardConfig config
type SavingConfig ¶
type SavingConfig struct { Auth AuthConfig `json:"auth" yaml:"auth"` ServerConfig config.ServerConfig `json:"serverConfig" yaml:"serverConfig"` DockerConfig DockerConfig `json:"dockerConfig" yaml:"dockerConfig"` KubernetesConfig KubeConfig `json:"kubernetesConfig" yaml:"kubernetesConfig"` EventBusConfig config.EventBusConfig `json:"eventBusConfig" yaml:"eventBusConfig"` APIGatewayConfig APIGatewayConfig `json:"apiGatewayConfig" yaml:"apiGatewayConfig"` MgrDashboardConfig MgrDashboardConfig `json:"mgrDashboardConfig" yaml:"mgrDashboardConfig"` Deployment string `json:"deployment" yaml:"deployment"` }
SavingConfig configuration going for save
Click to show internal directories.
Click to hide internal directories.