Documentation
¶
Index ¶
- func DirExists(path string) bool
- func EnsureDir(path string) error
- func FileExists(path string) bool
- func GetHost(conf *config.Config, tenant string, ports ...int) string
- func GetPlatform() string
- func GetPlatformExt() string
- func PathExists(path string) (bool, error)
- func ValidateName(name string) bool
- func WriteTemplateFile(path, content string, data any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHost ¶
GetHost constructs the URL based on the given tenant and config, with an optional port.
func GetPlatform ¶
func GetPlatform() string
func GetPlatformExt ¶
func GetPlatformExt() string
GetPlatformExt returns the platform-specific extension
func PathExists ¶
PathExists checks if a file or directory exists
func WriteTemplateFile ¶
WriteTemplateFile writes a template file with provided data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.