Documentation
¶
Index ¶
- Variables
- func FreshDockerfilePlugins(server *Server)
- type Server
- func (app *Server) BuildImage(projectName, tag, operator string) (int, int64)
- func (app *Server) CallExtensionInterface(pluginName string, method string, params map[string]interface{}) (int, interface{})
- func (app *Server) CloneProject(srcProjectName, dstProjectName, creator, cluster, defineDockerFileType string) (bool, int)
- func (app *Server) DeleteProject(projectName string, operator string) (bool, int)
- func (app *Server) GetBuildExtensionPlugins() []string
- func (app *Server) GetBuildHistories(cursor int, offset int, projectName string) []*model.BuildHistory
- func (app *Server) GetBuildHistory(id int) *model.BuildHistory
- func (app *Server) GetBuildLastHistory(projectName string) *model.BuildHistory
- func (app *Server) GetDockerfileExtensionPlugins() []string
- func (app *Server) GetPluginView(pluginType int, pluginName string) string
- func (app *Server) GetProjectConfigView(projectName string) (int, string)
- func (app *Server) GetProjectInfo(projectName string) (int, pro.ProjectInfo)
- func (app *Server) GetProjects(projectName string) pro.ProjectInfoList
- func (app *Server) GetServerAddress() string
- func (app *Server) Init(ip string, port string)
- func (app *Server) IsProjectExist(projectName string) bool
- func (app *Server) NewProject(projectName, creator, cluster, defineDockerFileType string) (bool, int)
- func (app *Server) SaveProjectConfig(projectName string, configs []map[string]interface{}) bool
- func (app *Server) UpdateProject(projectName, creator, cluster, defineDockerFileType string) (bool, int)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultProjectName = "DefaultProjectName"
Functions ¶
func FreshDockerfilePlugins ¶
func FreshDockerfilePlugins(server *Server)
Types ¶
type Server ¶
type Server struct { // lang Lang string // contains filtered or unexported fields }
func (*Server) BuildImage ¶
func (*Server) CallExtensionInterface ¶
func (*Server) CloneProject ¶
func (*Server) DeleteProject ¶
func (*Server) GetBuildExtensionPlugins ¶
func (*Server) GetBuildHistories ¶
func (*Server) GetBuildHistory ¶
func (app *Server) GetBuildHistory(id int) *model.BuildHistory
func (*Server) GetBuildLastHistory ¶
func (app *Server) GetBuildLastHistory(projectName string) *model.BuildHistory
func (*Server) GetDockerfileExtensionPlugins ¶
func (*Server) GetPluginView ¶
func (*Server) GetProjectConfigView ¶
func (*Server) GetProjectInfo ¶
func (app *Server) GetProjectInfo(projectName string) (int, pro.ProjectInfo)
func (*Server) GetProjects ¶
func (app *Server) GetProjects(projectName string) pro.ProjectInfoList
func (*Server) GetServerAddress ¶
func (*Server) IsProjectExist ¶
func (*Server) NewProject ¶
func (*Server) SaveProjectConfig ¶
Click to show internal directories.
Click to hide internal directories.