Documentation
¶
Index ¶
- Constants
- func DefaultComponentsDirPath() string
- func DefaultConfigFilePath() string
- func GetDashboardVersion() string
- func GetRuntimeVersion() string
- func Init(runtimeVersion string, dockerNetwork string, redisHost string, slimMode bool) error
- func RunDashboard()
- func Stop(appID string) error
- func Uninstall(uninstallAll bool, dockerNetwork string) error
- type ListOutput
- type RunConfig
- type RunOutput
Constants ¶
View Source
const ( // DaprPlacementContainerName is the container name of placement service DaprPlacementContainerName = "dapr_placement" // DaprRedisContainerName is the container name of redis DaprRedisContainerName = "dapr_redis" // DaprZipkinContainerName is the container name of zipkin DaprZipkinContainerName = "dapr_zipkin" )
Variables ¶
This section is empty.
Functions ¶
func DefaultComponentsDirPath ¶ added in v0.9.0
func DefaultComponentsDirPath() string
func DefaultConfigFilePath ¶ added in v0.9.0
func DefaultConfigFilePath() string
func GetDashboardVersion ¶ added in v0.10.0
func GetDashboardVersion() string
GetDashboardVersion returns the version for the local Dapr dashboard.
func GetRuntimeVersion ¶ added in v0.10.0
func GetRuntimeVersion() string
GetRuntimeVersion returns the version for the local Dapr runtime.
func RunDashboard ¶ added in v0.10.0
func RunDashboard()
RunDashboard finds the dashboard binary and runs it
Types ¶
type ListOutput ¶
type ListOutput struct {
AppID string `csv:"APP ID"`
HTTPPort int `csv:"HTTP PORT"`
GRPCPort int `csv:"GRPC PORT"`
AppPort int `csv:"APP PORT"`
Command string `csv:"COMMAND"`
Age string `csv:"AGE"`
Created string `csv:"CREATED"`
PID int
}
ListOutput represents the application ID, application port and creation time.
type RunConfig ¶
type RunConfig struct {
AppID string
AppPort int
HTTPPort int
GRPCPort int
ConfigFile string
Protocol string
Arguments []string
EnableProfiling bool
ProfilePort int
LogLevel string
MaxConcurrency int
PlacementHost string
ComponentsPath string
}
RunConfig represents the application configuration parameters.
Click to show internal directories.
Click to hide internal directories.