Documentation
¶
Index ¶
- func CreateDockerfile(dock Dockerfile, app Application) error
- func DeleteApplication(w *os.File, name string) (bool, error)
- func DeployApplication(w *os.File, name string)
- func InitBuildpacks()
- func InitDB()
- func LogApplication(w *os.File, name string, tail bool)
- func StartApplication(w *os.File, name string) error
- func StopApplication(w *os.File, name string) error
- type Application
- type Buildpack
- type Dockerfile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDockerfile ¶
func CreateDockerfile(dock Dockerfile, app Application) error
CreateDockerfile : create dockerfile
func DeleteApplication ¶
DeleteApplication : Deletes existing Application
func DeployApplication ¶
DeployApplication : Deploys the application
func InitBuildpacks ¶
func InitBuildpacks()
InitBuildpacks : Initializes the database for buildpacks
func LogApplication ¶
LogApplication : show the log oft the application
func StartApplication ¶
StartApplication : starts the application
Types ¶
type Application ¶
type Application struct {
Name string `json:"name"`
Running bool `json:"running"`
Path string `json:"path"`
Repository string `json:"repo"`
Type string `json:"type"`
}
Application : stores information about the applications
func CreateApplication ¶
func CreateApplication(w *os.File, name string) (Application, error)
CreateApplication : Creates a new Application
func GetApplication ¶
func GetApplication(name string) (Application, error)
GetApplication : Get specific application
func GetApplications ¶
func GetApplications() ([]Application, error)
GetApplications : Get a list of all applications
Click to show internal directories.
Click to hide internal directories.