Documentation
¶
Index ¶
- func ToGRPCError(err error) error
- type Server
- func (self *Server) About(context contextpkg.Context, _ *emptypb.Empty) (*api.AboutResponse, error)
- func (self *Server) CancelDeploymentModification(context contextpkg.Context, ...) (*api.CancelDeploymentModificationResponse, error)
- func (self *Server) CreateDeployment(context contextpkg.Context, createDeployment *api.CreateDeployment) (*api.CreateDeploymentResponse, error)
- func (self *Server) DeleteDeployment(context contextpkg.Context, deploymentId *api.DeploymentID) (*api.DeleteResponse, error)
- func (self *Server) DeletePlugin(context contextpkg.Context, pluginId *api.PluginID) (*api.DeleteResponse, error)
- func (self *Server) DeleteSite(context contextpkg.Context, siteId *api.SiteID) (*api.DeleteResponse, error)
- func (self *Server) DeleteTemplate(context contextpkg.Context, templateId *api.TemplateID) (*api.DeleteResponse, error)
- func (self *Server) EndDeploymentModification(context contextpkg.Context, ...) (*api.EndDeploymentModificationResponse, error)
- func (self *Server) GetDeployment(context contextpkg.Context, getDeployment *api.GetDeployment) (*api.Deployment, error)
- func (self *Server) GetPlugin(context contextpkg.Context, pluginId *api.PluginID) (*api.Plugin, error)
- func (self *Server) GetSite(context contextpkg.Context, getSite *api.GetSite) (*api.Site, error)
- func (self *Server) GetTemplate(context contextpkg.Context, getTemplate *api.GetTemplate) (*api.Template, error)
- func (self *Server) ListDeployments(listDeployments *api.ListDeployments, server api.Data_ListDeploymentsServer) error
- func (self *Server) ListPlugins(listPlugins *api.ListPlugins, server api.Data_ListPluginsServer) error
- func (self *Server) ListSites(listSites *api.ListSites, server api.Data_ListSitesServer) error
- func (self *Server) ListTemplates(listTemplates *api.ListTemplates, server api.Data_ListTemplatesServer) error
- func (self *Server) PurgeDeployments(context contextpkg.Context, selectDeployments *api.SelectDeployments) (*api.DeleteResponse, error)
- func (self *Server) PurgePlugins(context contextpkg.Context, selectPlugins *api.SelectPlugins) (*api.DeleteResponse, error)
- func (self *Server) PurgeSites(context contextpkg.Context, selectSites *api.SelectSites) (*api.DeleteResponse, error)
- func (self *Server) PurgeTemplates(context contextpkg.Context, selectTemplates *api.SelectTemplates) (*api.DeleteResponse, error)
- func (self *Server) RegisterPlugin(context contextpkg.Context, plugin *api.Plugin) (*api.RegisterResponse, error)
- func (self *Server) RegisterSite(context contextpkg.Context, site *api.Site) (*api.RegisterResponse, error)
- func (self *Server) RegisterTemplate(context contextpkg.Context, template *api.Template) (*api.RegisterResponse, error)
- func (self *Server) Start() error
- func (self *Server) StartDeploymentModification(context contextpkg.Context, ...) (*api.StartDeploymentModificationResponse, error)
- func (self *Server) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToGRPCError ¶
Types ¶
type Server ¶
type Server struct { api.UnimplementedDataServer InstanceName string InstanceDescription string Backend backend.Backend IPStack util.IPStack Address string Port int DefaultPackageFormat string Log commonlog.Logger // contains filtered or unexported fields }
func (*Server) About ¶
func (self *Server) About(context contextpkg.Context, _ *emptypb.Empty) (*api.AboutResponse, error)
(api.DataServer interface)
func (*Server) CancelDeploymentModification ¶
func (self *Server) CancelDeploymentModification(context contextpkg.Context, cancelDeploymentModification *api.CancelDeploymentModification) (*api.CancelDeploymentModificationResponse, error)
(api.DataServer interface)
func (*Server) CreateDeployment ¶
func (self *Server) CreateDeployment(context contextpkg.Context, createDeployment *api.CreateDeployment) (*api.CreateDeploymentResponse, error)
(api.DataServer interface)
func (*Server) DeleteDeployment ¶
func (self *Server) DeleteDeployment(context contextpkg.Context, deploymentId *api.DeploymentID) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) DeletePlugin ¶
func (self *Server) DeletePlugin(context contextpkg.Context, pluginId *api.PluginID) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) DeleteSite ¶
func (self *Server) DeleteSite(context contextpkg.Context, siteId *api.SiteID) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) DeleteTemplate ¶
func (self *Server) DeleteTemplate(context contextpkg.Context, templateId *api.TemplateID) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) EndDeploymentModification ¶
func (self *Server) EndDeploymentModification(context contextpkg.Context, endDeploymentModification *api.EndDeploymentModification) (*api.EndDeploymentModificationResponse, error)
(api.DataServer interface)
func (*Server) GetDeployment ¶
func (self *Server) GetDeployment(context contextpkg.Context, getDeployment *api.GetDeployment) (*api.Deployment, error)
(api.DataServer interface)
func (*Server) GetPlugin ¶
func (self *Server) GetPlugin(context contextpkg.Context, pluginId *api.PluginID) (*api.Plugin, error)
(api.DataServer interface)
func (*Server) GetSite ¶
(api.DataServer interface)
func (*Server) GetTemplate ¶
func (self *Server) GetTemplate(context contextpkg.Context, getTemplate *api.GetTemplate) (*api.Template, error)
(api.DataServer interface)
func (*Server) ListDeployments ¶
func (self *Server) ListDeployments(listDeployments *api.ListDeployments, server api.Data_ListDeploymentsServer) error
(api.DataServer interface)
func (*Server) ListPlugins ¶
func (self *Server) ListPlugins(listPlugins *api.ListPlugins, server api.Data_ListPluginsServer) error
(api.DataServer interface)
func (*Server) ListSites ¶
(api.DataServer interface)
func (*Server) ListTemplates ¶
func (self *Server) ListTemplates(listTemplates *api.ListTemplates, server api.Data_ListTemplatesServer) error
(api.DataServer interface)
func (*Server) PurgeDeployments ¶
func (self *Server) PurgeDeployments(context contextpkg.Context, selectDeployments *api.SelectDeployments) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) PurgePlugins ¶
func (self *Server) PurgePlugins(context contextpkg.Context, selectPlugins *api.SelectPlugins) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) PurgeSites ¶
func (self *Server) PurgeSites(context contextpkg.Context, selectSites *api.SelectSites) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) PurgeTemplates ¶
func (self *Server) PurgeTemplates(context contextpkg.Context, selectTemplates *api.SelectTemplates) (*api.DeleteResponse, error)
(api.DataServer interface)
func (*Server) RegisterPlugin ¶
func (self *Server) RegisterPlugin(context contextpkg.Context, plugin *api.Plugin) (*api.RegisterResponse, error)
(api.DataServer interface)
func (*Server) RegisterSite ¶
func (self *Server) RegisterSite(context contextpkg.Context, site *api.Site) (*api.RegisterResponse, error)
(api.DataServer interface)
func (*Server) RegisterTemplate ¶
func (self *Server) RegisterTemplate(context contextpkg.Context, template *api.Template) (*api.RegisterResponse, error)
(api.DataServer interface)
func (*Server) StartDeploymentModification ¶
func (self *Server) StartDeploymentModification(context contextpkg.Context, startDeploymentModification *api.StartDeploymentModification) (*api.StartDeploymentModificationResponse, error)
(api.DataServer interface)
Click to show internal directories.
Click to hide internal directories.