Documentation ¶
Index ¶
- Constants
- type SpannerBackend
- func (self *SpannerBackend) CancelDeploymentModification(context contextpkg.Context, modificationToken string) error
- func (self *SpannerBackend) Connect(context contextpkg.Context) error
- func (self *SpannerBackend) CreateDeployment(context contextpkg.Context, deployment *backend.Deployment) error
- func (self *SpannerBackend) DeleteDeployment(context contextpkg.Context, deploymentId string) error
- func (self *SpannerBackend) DeletePlugin(context contextpkg.Context, pluginId backend.PluginID) error
- func (self *SpannerBackend) DeleteSite(context contextpkg.Context, siteId string) error
- func (self *SpannerBackend) DeleteTemplate(context contextpkg.Context, templateId string) error
- func (self *SpannerBackend) EndDeploymentModification(context contextpkg.Context, modificationToken string, package_ tkoutil.Package, ...) (string, error)
- func (self *SpannerBackend) GetDeployment(context contextpkg.Context, deploymentId string) (*backend.Deployment, error)
- func (self *SpannerBackend) GetPlugin(context contextpkg.Context, pluginId backend.PluginID) (*backend.Plugin, error)
- func (self *SpannerBackend) GetSite(context contextpkg.Context, siteId string) (*backend.Site, error)
- func (self *SpannerBackend) GetTemplate(context contextpkg.Context, templateId string) (*backend.Template, error)
- func (self *SpannerBackend) ListDeployments(context contextpkg.Context, selectDeployments backend.SelectDeployments, ...) (util.Results[backend.DeploymentInfo], error)
- func (self *SpannerBackend) ListPlugins(context contextpkg.Context, selectPlugins backend.SelectPlugins, ...) (util.Results[backend.Plugin], error)
- func (self *SpannerBackend) ListSites(context contextpkg.Context, selectSites backend.SelectSites, ...) (util.Results[backend.SiteInfo], error)
- func (self *SpannerBackend) ListTemplates(context contextpkg.Context, selectTemplates backend.SelectTemplates, ...) (util.Results[backend.TemplateInfo], error)
- func (self *SpannerBackend) PurgeDeployments(context contextpkg.Context, selectDeployments backend.SelectDeployments) error
- func (self *SpannerBackend) PurgePlugins(context contextpkg.Context, selectPlugins backend.SelectPlugins) error
- func (self *SpannerBackend) PurgeSites(context contextpkg.Context, selectSites backend.SelectSites) error
- func (self *SpannerBackend) PurgeTemplates(context contextpkg.Context, selectTemplates backend.SelectTemplates) error
- func (self *SpannerBackend) Release(context contextpkg.Context) error
- func (self *SpannerBackend) SetPlugin(context contextpkg.Context, plugin *backend.Plugin) error
- func (self *SpannerBackend) SetSite(context contextpkg.Context, site *backend.Site) error
- func (self *SpannerBackend) SetTemplate(context contextpkg.Context, template *backend.Template) error
- func (self *SpannerBackend) StartDeploymentModification(context contextpkg.Context, deploymentId string) (string, *backend.Deployment, error)
- func (self *SpannerBackend) String() string
Constants ¶
const Name = "spanner"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpannerBackend ¶
type SpannerBackend struct {
// contains filtered or unexported fields
}
func NewSpannerBackend ¶
func NewSpannerBackend(path string, log commonlog.Logger) *SpannerBackend
func (*SpannerBackend) CancelDeploymentModification ¶
func (self *SpannerBackend) CancelDeploymentModification(context contextpkg.Context, modificationToken string) error
(backend.Backend interface)
func (*SpannerBackend) Connect ¶
func (self *SpannerBackend) Connect(context contextpkg.Context) error
([Backend] interface)
func (*SpannerBackend) CreateDeployment ¶
func (self *SpannerBackend) CreateDeployment(context contextpkg.Context, deployment *backend.Deployment) error
(backend.Backend interface)
func (*SpannerBackend) DeleteDeployment ¶
func (self *SpannerBackend) DeleteDeployment(context contextpkg.Context, deploymentId string) error
(backend.Backend interface)
func (*SpannerBackend) DeletePlugin ¶
func (self *SpannerBackend) DeletePlugin(context contextpkg.Context, pluginId backend.PluginID) error
(backend.Backend interface)
func (*SpannerBackend) DeleteSite ¶
func (self *SpannerBackend) DeleteSite(context contextpkg.Context, siteId string) error
(backend.Backend interface)
func (*SpannerBackend) DeleteTemplate ¶
func (self *SpannerBackend) DeleteTemplate(context contextpkg.Context, templateId string) error
(backend.Backend interface)
func (*SpannerBackend) EndDeploymentModification ¶
func (self *SpannerBackend) EndDeploymentModification(context contextpkg.Context, modificationToken string, package_ tkoutil.Package, validation *validationpkg.Validation) (string, error)
(backend.Backend interface)
func (*SpannerBackend) GetDeployment ¶
func (self *SpannerBackend) GetDeployment(context contextpkg.Context, deploymentId string) (*backend.Deployment, error)
(backend.Backend interface)
func (*SpannerBackend) GetPlugin ¶
func (self *SpannerBackend) GetPlugin(context contextpkg.Context, pluginId backend.PluginID) (*backend.Plugin, error)
(backend.Backend interface)
func (*SpannerBackend) GetSite ¶
func (self *SpannerBackend) GetSite(context contextpkg.Context, siteId string) (*backend.Site, error)
(backend.Backend interface)
func (*SpannerBackend) GetTemplate ¶
func (self *SpannerBackend) GetTemplate(context contextpkg.Context, templateId string) (*backend.Template, error)
(backend.Backend interface)
func (*SpannerBackend) ListDeployments ¶
func (self *SpannerBackend) ListDeployments(context contextpkg.Context, selectDeployments backend.SelectDeployments, window backend.Window) (util.Results[backend.DeploymentInfo], error)
(backend.Backend interface)
func (*SpannerBackend) ListPlugins ¶
func (self *SpannerBackend) ListPlugins(context contextpkg.Context, selectPlugins backend.SelectPlugins, window backend.Window) (util.Results[backend.Plugin], error)
(backend.Backend interface)
func (*SpannerBackend) ListSites ¶
func (self *SpannerBackend) ListSites(context contextpkg.Context, selectSites backend.SelectSites, window backend.Window) (util.Results[backend.SiteInfo], error)
(backend.Backend interface)
func (*SpannerBackend) ListTemplates ¶
func (self *SpannerBackend) ListTemplates(context contextpkg.Context, selectTemplates backend.SelectTemplates, window backend.Window) (util.Results[backend.TemplateInfo], error)
(backend.Backend interface)
func (*SpannerBackend) PurgeDeployments ¶
func (self *SpannerBackend) PurgeDeployments(context contextpkg.Context, selectDeployments backend.SelectDeployments) error
(backend.Backend interface)
func (*SpannerBackend) PurgePlugins ¶
func (self *SpannerBackend) PurgePlugins(context contextpkg.Context, selectPlugins backend.SelectPlugins) error
(backend.Backend interface)
func (*SpannerBackend) PurgeSites ¶
func (self *SpannerBackend) PurgeSites(context contextpkg.Context, selectSites backend.SelectSites) error
(backend.Backend interface)
func (*SpannerBackend) PurgeTemplates ¶
func (self *SpannerBackend) PurgeTemplates(context contextpkg.Context, selectTemplates backend.SelectTemplates) error
(backend.Backend interface)
func (*SpannerBackend) Release ¶
func (self *SpannerBackend) Release(context contextpkg.Context) error
([Backend] interface)
func (*SpannerBackend) SetPlugin ¶
func (self *SpannerBackend) SetPlugin(context contextpkg.Context, plugin *backend.Plugin) error
(backend.Backend interface)
func (*SpannerBackend) SetSite ¶
func (self *SpannerBackend) SetSite(context contextpkg.Context, site *backend.Site) error
(backend.Backend interface)
func (*SpannerBackend) SetTemplate ¶
func (self *SpannerBackend) SetTemplate(context contextpkg.Context, template *backend.Template) error
(backend.Backend interface)
func (*SpannerBackend) StartDeploymentModification ¶
func (self *SpannerBackend) StartDeploymentModification(context contextpkg.Context, deploymentId string) (string, *backend.Deployment, error)
(backend.Backend interface)
func (*SpannerBackend) String ¶
func (self *SpannerBackend) String() string
(fmt.Stringer interface) (backend.Backend interface)