Documentation
¶
Index ¶
- Constants
- func DownloadFile(config control.Configuration, path string, outputFilename string, debug bool)
- func RebuildStyles(config control.Configuration, theme string, debug bool) error
- func ResetTheme(config control.Configuration, theme string, debug bool) error
- func UploadFiles(files []string, config control.Configuration, path string, debug bool)
Constants ¶
View Source
const ( CMLandingIndex = "/content/home/landing/index.htm" CMInternationalization = "/i18n" CMCustomLess = "/less/custom.less" CMFavicon = "/style/images/favicon.ico" )
View Source
const (
CMRebuildStyles = "/resources/branding/generatestyles"
)
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadFile(config control.Configuration, path string, outputFilename string, debug bool)
DownloadFile downloads a file from the Portal's CMS
func RebuildStyles ¶
func RebuildStyles(config control.Configuration, theme string, debug bool) error
RebuildStyles rebuilds the portal's styles
func ResetTheme ¶
func ResetTheme(config control.Configuration, theme string, debug bool) error
ResetTheme restores the portal theme to as close to vanilla as possible
func UploadFiles ¶
func UploadFiles(files []string, config control.Configuration, path string, debug bool)
UploadFiles uploads a file or files to the Portal CMS
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.