Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // FilePath path to config file. FilePath string // PushStatusesEndpoint where to push statuses. PushStatusesEndpoint string // AuthEnabled whether authentication is needed AuthEnabled bool // Token to access wsmaster API Token string // RuntimeID the id of workspace runtime this machine belongs to. RuntimeID model.RuntimeID )
Functions ¶
func ReadConfig ¶
func ReadConfig() []model.PluginMeta
ReadConfig reads content of file by path cfg.FilePath, parses its content as array of Che plugin meta objects and returns it. If any error occurs during read, log.Fatal is called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.