cmd

package
v0.0.0-...-c7114d0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: AGPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TemplatesPath string = "./templates"
	SpaceID       uint   = 0
)

Functions

func CreateMedium

func CreateMedium(path, chartName, filename string) (uint, error)

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FileServer

func FileServer(r chi.Router, path string, root http.FileSystem)

FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.

func GetSuperOrgSpace

func GetSuperOrgSpace() (uint, error)

func MigrateTemplate

func MigrateTemplate() error

func ServeCharts

func ServeCharts()

ServeCharts server for chart routes

Types

This section is empty.

Jump to

Keyboard shortcuts

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