Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GuessAppName ¶ added in v0.2.0
func GuessAppName() *string
func IsValidProjectType ¶ added in v0.7.0
func ProjectInit ¶
func ProjectInit(options InitOptions, resources fs.FS) ([]string, error)
Types ¶
type InitOptions ¶
type Project ¶
type Project struct { Name string Version string Type ProjectType Directory string RuntimeVersion string DefaultRuntimeVersion string ImagePullSecrets []string Resources fs.FS IsPrivate bool }
func (Project) Dockerfile ¶
func (Project) NodeInstallCommand ¶
type ProjectType ¶
type ProjectType string
const ( NodeProject ProjectType = "node" GoProject ProjectType = "go" )
func DetectType ¶ added in v0.7.0
func DetectType(directory string) (ProjectType, error)
Click to show internal directories.
Click to hide internal directories.