controller

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent added in v1.3.7

type Agent Controller

func (Agent) CronReport added in v1.5.0

func (Agent) CronReport(gp *core.Goploy) core.Response

func (Agent) GetCronList added in v1.5.0

func (Agent) GetCronList(gp *core.Goploy) core.Response

func (Agent) GetCronLogs added in v1.5.0

func (Agent) GetCronLogs(gp *core.Goploy) core.Response

func (Agent) GetServerID added in v1.5.0

func (Agent) GetServerID(gp *core.Goploy) core.Response

func (Agent) Report added in v1.3.7

func (Agent) Report(gp *core.Goploy) core.Response

func (Agent) Routes added in v1.4.3

func (a Agent) Routes() []core.Route

type Controller

type Controller struct{}

Controller struct

type Cron added in v1.4.0

type Cron Controller

Cron struct

func (Cron) Add added in v1.4.0

func (Cron) Add(gp *core.Goploy) core.Response

func (Cron) Edit added in v1.4.0

func (Cron) Edit(gp *core.Goploy) core.Response

func (Cron) GetList added in v1.4.0

func (Cron) GetList(gp *core.Goploy) core.Response

func (Cron) GetLogs added in v1.4.0

func (Cron) GetLogs(gp *core.Goploy) core.Response

func (Cron) Remove added in v1.4.0

func (Cron) Remove(gp *core.Goploy) core.Response

func (Cron) Routes added in v1.4.3

func (c Cron) Routes() []core.Route

type Deploy

type Deploy Controller

func (Deploy) Callback added in v1.0.4

func (Deploy) Callback(gp *core.Goploy) core.Response

func (Deploy) FileCompare added in v1.4.1

func (Deploy) FileCompare(gp *core.Goploy) core.Response

func (Deploy) FileDiff added in v1.4.1

func (Deploy) FileDiff(gp *core.Goploy) core.Response

func (Deploy) GetList

func (Deploy) GetList(gp *core.Goploy) core.Response

func (Deploy) GetPreview

func (Deploy) GetPreview(gp *core.Goploy) core.Response

func (Deploy) GetPublishTrace added in v1.1.2

func (Deploy) GetPublishTrace(gp *core.Goploy) core.Response

func (Deploy) GetPublishTraceDetail added in v1.1.2

func (Deploy) GetPublishTraceDetail(gp *core.Goploy) core.Response

func (Deploy) GreyPublish added in v1.0.6

func (Deploy) GreyPublish(gp *core.Goploy) core.Response

func (Deploy) ManageProcess added in v1.4.4

func (Deploy) ManageProcess(gp *core.Goploy) core.Response

func (Deploy) Publish

func (Deploy) Publish(gp *core.Goploy) core.Response

func (Deploy) Rebuild added in v1.1.6

func (Deploy) Rebuild(gp *core.Goploy) core.Response

func (Deploy) ResetState added in v1.0.7

func (Deploy) ResetState(gp *core.Goploy) core.Response

func (Deploy) Review added in v1.0.4

func (Deploy) Review(gp *core.Goploy) core.Response

func (Deploy) Routes added in v1.4.3

func (d Deploy) Routes() []core.Route

func (Deploy) Webhook

func (Deploy) Webhook(gp *core.Goploy) core.Response

type Log added in v1.4.6

type Log Controller

Log struct

func (Log) GetLoginLogList added in v1.4.6

func (Log) GetLoginLogList(gp *core.Goploy) core.Response

func (Log) GetLoginLogTotal added in v1.4.6

func (Log) GetLoginLogTotal(gp *core.Goploy) core.Response

func (Log) GetOperationLogList added in v1.11.0

func (Log) GetOperationLogList(gp *core.Goploy) core.Response

func (Log) GetOperationLogTotal added in v1.11.0

func (Log) GetOperationLogTotal(gp *core.Goploy) core.Response

func (Log) GetPublishLogList added in v1.4.6

func (Log) GetPublishLogList(gp *core.Goploy) core.Response

func (Log) GetPublishLogTotal added in v1.4.6

func (Log) GetPublishLogTotal(gp *core.Goploy) core.Response

func (Log) GetSftpLogList added in v1.4.6

func (Log) GetSftpLogList(gp *core.Goploy) core.Response

func (Log) GetSftpLogTotal added in v1.4.6

func (Log) GetSftpLogTotal(gp *core.Goploy) core.Response

func (Log) GetTerminalLogList added in v1.4.6

func (Log) GetTerminalLogList(gp *core.Goploy) core.Response

func (Log) GetTerminalLogTotal added in v1.4.6

func (Log) GetTerminalLogTotal(gp *core.Goploy) core.Response

func (Log) GetTerminalRecord added in v1.4.6

func (Log) GetTerminalRecord(gp *core.Goploy) core.Response

func (Log) Routes added in v1.4.6

func (l Log) Routes() []core.Route

type Monitor

type Monitor Controller

func (Monitor) Add

func (Monitor) Add(gp *core.Goploy) core.Response

func (Monitor) Check

func (Monitor) Check(gp *core.Goploy) core.Response

func (Monitor) Edit

func (Monitor) Edit(gp *core.Goploy) core.Response

func (Monitor) GetList

func (Monitor) GetList(gp *core.Goploy) core.Response

func (Monitor) Remove

func (Monitor) Remove(gp *core.Goploy) core.Response

func (Monitor) Routes added in v1.4.3

func (m Monitor) Routes() []core.Route

func (Monitor) Toggle

func (Monitor) Toggle(gp *core.Goploy) core.Response

type Namespace

type Namespace Controller

func (Namespace) Add

func (Namespace) Add(gp *core.Goploy) core.Response

func (Namespace) AddUser

func (Namespace) AddUser(gp *core.Goploy) core.Response

func (Namespace) Edit

func (Namespace) Edit(gp *core.Goploy) core.Response

func (Namespace) GetBindUserList

func (Namespace) GetBindUserList(gp *core.Goploy) core.Response

func (Namespace) GetList

func (Namespace) GetList(gp *core.Goploy) core.Response

func (Namespace) GetOption added in v1.4.6

func (Namespace) GetOption(gp *core.Goploy) core.Response

func (Namespace) GetUserOption

func (Namespace) GetUserOption(gp *core.Goploy) core.Response

func (Namespace) RemoveUser

func (Namespace) RemoveUser(gp *core.Goploy) core.Response

func (Namespace) Routes added in v1.4.3

func (n Namespace) Routes() []core.Route

type Project

type Project Controller

func (Project) Add

func (Project) Add(gp *core.Goploy) core.Response

func (Project) AddFile added in v1.1.3

func (Project) AddFile(gp *core.Goploy) core.Response

func (Project) AddProcess added in v1.4.4

func (Project) AddProcess(gp *core.Goploy) core.Response

func (Project) AddTask

func (Project) AddTask(gp *core.Goploy) core.Response

func (Project) DeleteProcess added in v1.4.4

func (Project) DeleteProcess(gp *core.Goploy) core.Response

func (Project) Edit

func (Project) Edit(gp *core.Goploy) core.Response

func (Project) EditFile added in v1.1.3

func (Project) EditFile(gp *core.Goploy) core.Response

func (Project) EditProcess added in v1.4.4

func (Project) EditProcess(gp *core.Goploy) core.Response

func (Project) GetBindServerList

func (Project) GetBindServerList(gp *core.Goploy) core.Response

func (Project) GetBindUserList

func (Project) GetBindUserList(gp *core.Goploy) core.Response

func (Project) GetList

func (Project) GetList(gp *core.Goploy) core.Response

func (Project) GetProcessList added in v1.4.4

func (Project) GetProcessList(gp *core.Goploy) core.Response

func (Project) GetProjectFileContent added in v1.1.3

func (Project) GetProjectFileContent(gp *core.Goploy) core.Response

func (Project) GetProjectFileList added in v1.1.3

func (Project) GetProjectFileList(gp *core.Goploy) core.Response

func (Project) GetRemoteBranchList

func (Project) GetRemoteBranchList(gp *core.Goploy) core.Response

func (Project) GetReposFileList added in v1.4.1

func (Project) GetReposFileList(gp *core.Goploy) core.Response

func (Project) GetReviewList added in v1.0.4

func (Project) GetReviewList(gp *core.Goploy) core.Response

func (Project) GetTaskList

func (Project) GetTaskList(gp *core.Goploy) core.Response

func (Project) PingRepos added in v1.4.0

func (Project) PingRepos(gp *core.Goploy) core.Response

func (Project) Remove

func (Project) Remove(gp *core.Goploy) core.Response

func (Project) RemoveFile added in v1.1.3

func (Project) RemoveFile(gp *core.Goploy) core.Response

func (Project) RemoveTask

func (Project) RemoveTask(gp *core.Goploy) core.Response

func (Project) Routes added in v1.4.3

func (p Project) Routes() []core.Route

func (Project) SetAutoDeploy added in v1.0.2

func (Project) SetAutoDeploy(gp *core.Goploy) core.Response

func (Project) UploadFile added in v1.1.3

func (Project) UploadFile(gp *core.Goploy) core.Response

type Repository added in v1.3.1

type Repository Controller

Repository struct

func (Repository) GetBranchList added in v1.3.1

func (Repository) GetBranchList(gp *core.Goploy) core.Response

func (Repository) GetCommitList added in v1.3.1

func (Repository) GetCommitList(gp *core.Goploy) core.Response

GetCommitList get latest 10 commit list

func (Repository) GetTagList added in v1.3.1

func (Repository) GetTagList(gp *core.Goploy) core.Response

func (Repository) Routes added in v1.4.3

func (r Repository) Routes() []core.Route

type Role added in v1.6.0

type Role Controller

func (Role) Add added in v1.6.0

func (Role) Add(gp *core.Goploy) core.Response

func (Role) ChangePermission added in v1.6.0

func (Role) ChangePermission(gp *core.Goploy) core.Response

func (Role) Edit added in v1.6.0

func (Role) Edit(gp *core.Goploy) core.Response

func (Role) GetList added in v1.6.0

func (Role) GetList(*core.Goploy) core.Response

func (Role) GetOption added in v1.6.0

func (Role) GetOption(*core.Goploy) core.Response

func (Role) GetPermissionBindings added in v1.6.0

func (Role) GetPermissionBindings(gp *core.Goploy) core.Response

func (Role) GetPermissionList added in v1.6.0

func (Role) GetPermissionList(*core.Goploy) core.Response

func (Role) Remove added in v1.6.0

func (Role) Remove(gp *core.Goploy) core.Response

func (Role) Routes added in v1.6.0

func (r Role) Routes() []core.Route

type Server

type Server Controller

Server struct

func (Server) Add

func (s Server) Add(gp *core.Goploy) core.Response

func (Server) AddMonitor added in v1.3.8

func (s Server) AddMonitor(gp *core.Goploy) core.Response

func (Server) AddProcess added in v1.10.0

func (Server) AddProcess(gp *core.Goploy) core.Response

func (Server) Check

func (Server) Check(gp *core.Goploy) core.Response

func (Server) DeleteFile added in v1.12.2

func (Server) DeleteFile(gp *core.Goploy) core.Response

func (Server) DeleteMonitor added in v1.3.8

func (s Server) DeleteMonitor(gp *core.Goploy) core.Response

func (Server) DeleteProcess added in v1.10.0

func (Server) DeleteProcess(gp *core.Goploy) core.Response

func (Server) DownloadFile added in v1.3.6

func (Server) DownloadFile(gp *core.Goploy) core.Response

func (Server) Edit

func (s Server) Edit(gp *core.Goploy) core.Response

func (Server) EditMonitor added in v1.3.8

func (s Server) EditMonitor(gp *core.Goploy) core.Response

func (Server) EditProcess added in v1.10.0

func (Server) EditProcess(gp *core.Goploy) core.Response

func (Server) ExecProcess added in v1.10.0

func (Server) ExecProcess(gp *core.Goploy) core.Response

func (Server) GetAllMonitor added in v1.3.8

func (Server) GetAllMonitor(gp *core.Goploy) core.Response

func (Server) GetList

func (Server) GetList(gp *core.Goploy) core.Response

func (Server) GetOption

func (Server) GetOption(gp *core.Goploy) core.Response

func (Server) GetProcessList added in v1.10.0

func (Server) GetProcessList(gp *core.Goploy) core.Response

func (Server) GetPublicKey added in v1.2.1

func (Server) GetPublicKey(gp *core.Goploy) core.Response

func (Server) GetRemoteCrontabList added in v1.12.2

func (Server) GetRemoteCrontabList(gp *core.Goploy) core.Response

func (Server) Import added in v1.5.0

func (Server) Import(gp *core.Goploy) core.Response

func (Server) InstallAgent added in v1.5.0

func (Server) InstallAgent(gp *core.Goploy) core.Response

func (Server) PreviewFile added in v1.4.6

func (Server) PreviewFile(gp *core.Goploy) core.Response

func (Server) Report added in v1.3.7

func (Server) Report(gp *core.Goploy) core.Response

func (Server) Routes added in v1.4.3

func (s Server) Routes() []core.Route

func (Server) Toggle added in v1.3.1

func (Server) Toggle(gp *core.Goploy) core.Response

func (Server) TransferFile added in v1.12.0

func (Server) TransferFile(gp *core.Goploy) core.Response

func (Server) UploadFile added in v1.3.6

func (Server) UploadFile(gp *core.Goploy) core.Response

type User

type User Controller

func (User) Add

func (User) Add(gp *core.Goploy) core.Response

func (User) ChangePassword

func (User) ChangePassword(gp *core.Goploy) core.Response

func (User) Edit

func (User) Edit(gp *core.Goploy) core.Response

func (User) ExtLogin added in v1.12.0

func (User) ExtLogin(gp *core.Goploy) core.Response

func (User) GetList

func (User) GetList(gp *core.Goploy) core.Response

func (User) GetOption

func (User) GetOption(*core.Goploy) core.Response

func (User) Info

func (User) Info(gp *core.Goploy) core.Response

func (User) Login

func (User) Login(gp *core.Goploy) core.Response

func (User) Remove

func (User) Remove(gp *core.Goploy) core.Response

func (User) Routes added in v1.4.3

func (u User) Routes() []core.Route

Jump to

Keyboard shortcuts

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