Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultPort = 8090
DefaultPort is the default port the ui server will listen to
View Source
const UIDownloadBaseURL = "https://github.com/devspace-cloud/devspace/releases"
UIDownloadBaseURL is the base url where to look for the ui
View Source
const UITempFolder = "ui"
UITempFolder is the temp folder to cache the ui in
Variables ¶
View Source
var UIDownloadRegEx = regexp.MustCompile(`href="(\/devspace-cloud\/devspace\/releases\/download\/[^\/]*\/ui.tar.gz)"`)
UIDownloadRegEx is the regexp that finds the correct download link for the ui
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is listens on a given port for the ui functionality
func NewServer ¶
func NewServer(configLoader loader.ConfigLoader, config *latest.Config, generatedConfig *generated.Config, ignoreDownloadError bool, defaultContext, defaultNamespace string, forcePort *int, log log.Logger) (*Server, error)
NewServer creates a new server from the given parameters
func (*Server) ListenAndServe ¶
ListenAndServe implements interface
type UIServerVersion ¶
UIServerVersion is the struct that is returned by the /api/version request
Click to show internal directories.
Click to hide internal directories.