ui

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUI

func BuildUI(uiPath string, env *[]string) error

BuildUI build UI

func ReadStackVersion

func ReadStackVersion(uiPath string) (string, error)

ReadStackVersion read stack version

func SetUIEnv

func SetUIEnv(uiPath, gateway, baseAPIRoute, appName, companyName, supportEmail, wsURL string) error

SetUIEnv Set UI environment

func UIUp

func UIUp(config *UIConfig) error

UIUp config/build/push UI

Types

type UIConfig

type UIConfig struct {
	UIPath       string
	DockerUser   string
	StackVersion string
	Gateway      string
	BaseAPIRoute string
	AppName      string
	CompanyName  string
	SupportEmail string
	WSURL        string
	BaseHref     string
	Env          []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL