controller

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: MIT Imports: 23 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

Agent struct

func (Agent) Report added in v1.3.7

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

Report -

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

Add cron

func (Cron) Edit added in v1.4.0

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

Edit cron

func (Cron) GetList added in v1.4.0

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

GetList cron list

func (Cron) GetLogs added in v1.4.0

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

GetLogs cron log list

func (Cron) Remove added in v1.4.0

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

Remove cron

func (Cron) Report added in v1.4.0

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

Report -

type Deploy

type Deploy Controller

Deploy struct

func (Deploy) Callback added in v1.0.4

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

Callback -

func (Deploy) GetList

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

GetList -

func (Deploy) GetPreview

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

GetPreview deploy detail

func (Deploy) GetPublishTrace added in v1.1.2

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

GetPublishTrace deploy detail

func (Deploy) GetPublishTraceDetail added in v1.1.2

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

GetPublishTraceDetail deploy detail

func (Deploy) GreyPublish added in v1.0.6

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

GreyPublish the project

func (Deploy) Publish

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

Publish the project

func (Deploy) Rebuild added in v1.1.6

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

Rebuild the project

func (Deploy) ResetState added in v1.0.7

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

ResetState -

func (Deploy) Review added in v1.0.4

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

func (Deploy) Webhook

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

Webhook -

type Monitor

type Monitor Controller

Monitor struct

func (Monitor) Add

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

Add one monitor

func (Monitor) Check

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

Check one monitor

func (Monitor) Edit

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

Edit one monitor

func (Monitor) GetList

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

GetList monitor list

func (Monitor) GetTotal

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

GetTotal monitor total

func (Monitor) Remove

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

Remove one Monitor

func (Monitor) Toggle

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

Toggle Monitor state

type Namespace

type Namespace Controller

Namespace struct

func (Namespace) Add

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

Add one namespace

func (Namespace) AddUser

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

AddUser to namespace

func (Namespace) Edit

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

Edit one namespace

func (Namespace) GetBindUserList

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

GetBindUserList user list

func (Namespace) GetList

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

GetList namespace list

func (Namespace) GetTotal

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

GetTotal namespace list

func (Namespace) GetUserOption

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

GetUserOption user list

func (Namespace) RemoveUser

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

RemoveUser from namespace

type Project

type Project Controller

Project struct

func (Project) Add

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

Add project

func (Project) AddFile added in v1.1.3

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

AddFile to project

func (Project) AddServer

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

AddServer to project

func (Project) AddTask

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

AddTask to project

func (Project) AddUser

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

AddUser to project

func (Project) Edit

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

Edit project

func (Project) EditFile added in v1.1.3

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

EditFile to project

func (Project) GetBindServerList

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

GetBindServerList -

func (Project) GetBindUserList

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

GetBindUserList -

func (Project) GetList

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

GetList -

func (Project) GetProjectFileContent added in v1.1.3

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

GetProjectFileContent -

func (Project) GetProjectFileList added in v1.1.3

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

GetProjectFileList -

func (Project) GetRemoteBranchList

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

GetRemoteBranchList -

func (Project) GetReviewList added in v1.0.4

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

GetReviewList -

func (Project) GetTaskList

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

GetTaskList -

func (Project) GetTotal

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

GetTotal -

func (Project) PingRepos added in v1.4.0

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

PingRepos -

func (Project) Remove

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

Remove Project

func (Project) RemoveFile added in v1.1.3

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

RemoveFile from Project

func (Project) RemoveServer

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

RemoveServer from Project

func (Project) RemoveTask

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

RemoveTask from project

func (Project) RemoveUser

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

RemoveUser from Project

func (Project) SetAutoDeploy added in v1.0.2

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

SetAutoDeploy -

func (Project) UploadFile added in v1.1.3

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

UploadFile -

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

GetBranchList get all branch list

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

GetTagList get latest 10 tag list

type Server

type Server Controller

Server struct

func (Server) Add

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

Add server

func (Server) AddMonitor added in v1.3.8

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

AddMonitor server

func (Server) Check

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

Check server

func (Server) DeleteMonitor added in v1.3.8

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

DeleteMonitor server

func (Server) DownloadFile added in v1.3.6

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

DownloadFile sftp download file

func (Server) Edit

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

Edit server

func (Server) EditMonitor added in v1.3.8

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

EditMonitor server

func (Server) GetAllMonitor added in v1.3.8

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

GetAllMonitor -

func (Server) GetList

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

GetList -

func (Server) GetOption

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

GetOption -

func (Server) GetPublicKey added in v1.2.1

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

GetPublicKey -

func (Server) GetTotal

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

GetTotal -

func (Server) Report added in v1.3.7

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

func (Server) Toggle added in v1.3.1

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

Toggle server

func (Server) UploadFile added in v1.3.6

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

UploadFile sftp upload file

type User

type User Controller

User struct

func (User) Add

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

Add user

func (User) ChangePassword

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

ChangePassword -

func (User) Edit

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

Edit user

func (User) GetList

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

GetList -

func (User) GetOption

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

GetOption -

func (User) GetTotal

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

GetTotal -

func (User) Info

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

Info -

func (User) Login

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

Login -

func (User) Remove

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

Remove User

Jump to

Keyboard shortcuts

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