apps

package
v0.0.0-...-67365ed Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployHandler

func DeployHandler(c *gin.Context)

func FetchApp

func FetchApp(name string, id primitive.ObjectID) (models.App, error)

FetchApp returns single app by name

func FetchAppHandler

func FetchAppHandler(c *gin.Context)

func FetchApps

func FetchApps(userID primitive.ObjectID) ([]models.App, error)

FetchApps of user

func FetchAppsHandler

func FetchAppsHandler(c *gin.Context)

func FetchBuildHandler

func FetchBuildHandler(c *gin.Context)

func FetchBuildOptionsHandler

func FetchBuildOptionsHandler(c *gin.Context)

func FetchBuildsHandler

func FetchBuildsHandler(c *gin.Context)

func FetchContainerOptionsHandler

func FetchContainerOptionsHandler(c *gin.Context)

func FetchLogsHandler

func FetchLogsHandler(c *gin.Context)

func FetchStatsHandler

func FetchStatsHandler(c *gin.Context)

func GetAppID

func GetAppID(name string, userID primitive.ObjectID) (primitive.ObjectID, error)

GetAppID of by name

func GetBuild

func GetBuild(buildID primitive.ObjectID, userID primitive.ObjectID) (models.Build, error)

GetBuild bu id

func GetBuilds

func GetBuilds(appID primitive.ObjectID, limit int) ([]models.Build, error)

GetBuilds of app

func GetLatestBuild

func GetLatestBuild(appID primitive.ObjectID) (models.Build, error)

GetLatestBuild of app

func NewAppHandler

func NewAppHandler(c *gin.Context)

func RestartHandler

func RestartHandler(c *gin.Context)

func SaveBuildOptionsHandler

func SaveBuildOptionsHandler(c *gin.Context)

func SaveContainerOptionsHandler

func SaveContainerOptionsHandler(c *gin.Context)

func StartHandler

func StartHandler(c *gin.Context)

func StopHandler

func StopHandler(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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