controller

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthAction

func AuthAction(c echo.Context, globalContext *GlobalContext) error

AuthAction controller

func CreateDeployment

func CreateDeployment(c echo.Context, _ *GlobalContext) error

CreateDeployment controller

func CreateHost

func CreateHost(c echo.Context, _ *GlobalContext) error

CreateHost controller

func CreateHostGroup

func CreateHostGroup(c echo.Context, _ *GlobalContext) error

CreateHostGroup controller

func CreateLog

func CreateLog(c echo.Context, _ *GlobalContext) error

CreateLog controller

func CreateTask

func CreateTask(c echo.Context, _ *GlobalContext) error

CreateTask controller

func CreateUserAction

func CreateUserAction(c echo.Context, globalContext *GlobalContext) error

CreateUserAction controller

func DeleteDeployment

func DeleteDeployment(c echo.Context, _ *GlobalContext) error

DeleteDeployment controller

func DeleteHost

func DeleteHost(c echo.Context, _ *GlobalContext) error

DeleteHost controller

func DeleteHostGroup

func DeleteHostGroup(c echo.Context, _ *GlobalContext) error

DeleteHostGroup controller

func DeleteLog

func DeleteLog(c echo.Context, _ *GlobalContext) error

DeleteLog controller

func DeleteTask

func DeleteTask(c echo.Context, _ *GlobalContext) error

DeleteTask controller

func DeleteUserAction

func DeleteUserAction(c echo.Context, globalContext *GlobalContext) error

DeleteUserAction controller

func GetDeployment

func GetDeployment(c echo.Context, _ *GlobalContext) error

GetDeployment controller

func GetDeployments

func GetDeployments(c echo.Context, _ *GlobalContext) error

GetDeployments controller

func GetHost

func GetHost(c echo.Context, _ *GlobalContext) error

GetHost controller

func GetHostGroup

func GetHostGroup(c echo.Context, _ *GlobalContext) error

GetHostGroup controller

func GetHostGroups

func GetHostGroups(c echo.Context, _ *GlobalContext) error

GetHostGroups controller

func GetHosts

func GetHosts(c echo.Context, _ *GlobalContext) error

GetHosts controller

func GetLog

func GetLog(c echo.Context, _ *GlobalContext) error

GetLog controller

func GetLogs

func GetLogs(c echo.Context, _ *GlobalContext) error

GetLogs controller

func GetRequestData

func GetRequestData(c echo.Context) (map[string]string, error)

GetRequestData gets a request data

func GetTask

func GetTask(c echo.Context, _ *GlobalContext) error

GetTask controller

func GetTasks

func GetTasks(c echo.Context, _ *GlobalContext) error

GetTasks controller

func GetUserAction

func GetUserAction(c echo.Context, globalContext *GlobalContext) error

GetUserAction controller

func GetUsersAction

func GetUsersAction(c echo.Context, globalContext *GlobalContext) error

GetUsersAction controller

func HealthAction

func HealthAction(c echo.Context) error

HealthAction controller

func HeartbeatAction

func HeartbeatAction(c echo.Context, _ *GlobalContext) error

HeartbeatAction controller

func InstallAction

func InstallAction(c echo.Context, globalContext *GlobalContext) error

InstallAction controller

func ReadyAction

func ReadyAction(c echo.Context, globalContext *GlobalContext) error

ReadyAction controller

func UpdateDeployment

func UpdateDeployment(c echo.Context, _ *GlobalContext) error

UpdateDeployment controller

func UpdateHost

func UpdateHost(c echo.Context, _ *GlobalContext) error

UpdateHost controller

func UpdateHostGroup

func UpdateHostGroup(c echo.Context, _ *GlobalContext) error

UpdateHostGroup controller

func UpdateLog

func UpdateLog(c echo.Context, _ *GlobalContext) error

UpdateLog controller

func UpdateTask

func UpdateTask(c echo.Context, _ *GlobalContext) error

UpdateTask controller

func UpdateUserAction

func UpdateUserAction(c echo.Context, globalContext *GlobalContext) error

UpdateUserAction controller

func Worker

func Worker()

Worker function

Types

type GlobalContext

type GlobalContext struct {
	Database *module.Database
}

GlobalContext type

func (*GlobalContext) GetDatabase

func (c *GlobalContext) GetDatabase() *module.Database

GetDatabase gets a database connection

Jump to

Keyboard shortcuts

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