Documentation ¶
Overview ¶
Package embeddedui manages embedded UI container.
Index ¶
Constants ¶
View Source
const ( // EnvEngineName defines the environment variable name to pass a DLE hostname to container. EnvEngineName = "DLE_HOST" // EnvEnginePort defines the environment variable name to pass a DLE port to container. EnvEnginePort = "DLE_PORT" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool `yaml:"enabled"` DockerImage string `yaml:"dockerImage"` Host string `yaml:"host"` Port int `yaml:"port"` }
Config defines configs for a embedded UI container.
type UIManager ¶
type UIManager struct {
// contains filtered or unexported fields
}
UIManager manages embedded UI container.
func New ¶
func New(cfg Config, engProps global.EngineProps, runner runners.Runner, docker *client.Client) *UIManager
New creates a new UI Manager.
func (*UIManager) Reload ¶
Reload reloads configuration of UI manager and adjusts a UI container according to it.
Click to show internal directories.
Click to hide internal directories.