Documentation ¶
Overview ¶
Copyright © 2024 Peter Preeper
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Copyright © 2024 Peter Preeper ¶
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- Variables
- func AdminBackup() error
- func AdminPassword() error
- func AdminRestore(any, move, full bool) error
- func AdminUsername() error
- func AreYouSure(prompt string) bool
- func BaseCreate(version, localDomain string)
- func CaddyfileUpdate(domain string) error
- func CloneUrlDir(url, baseDir, cloneDir, username, token string) error
- func Copy(srcFile, dstFile string) error
- func CopyDirectory(scrDir, dest string) error
- func CopySymLink(source, dest string) error
- func CreateIfNotExists(dir string, perm os.FileMode) error
- func Execute()
- func Exists(filePath string) bool
- func GetOSVersion() string
- func GetOdooBackups(project string) (backups, addons []string)
- func GetOdooConf(key string) string
- func HostsUpdate(domain string) error
- func InstanceAppInstallUpgrade(install bool, modules ...string) error
- func IsBool(s string) bool
- func IsInt(s string) bool
- func IsNumeric(s string) bool
- func RemoveContents(dir string) error
- func RepoHeadShortCode(repo string) (string, error)
- func RepoShortCodes(repo string) ([]string, error)
- func Scaffold(module string) error
- func ServiceRestart()
- func ServiceStart()
- func ServiceStop()
- func Trim(limit int, all bool) error
- type Database
- func (db *Database) ActivateModuleUpdateNotificationCron() error
- func (db *Database) ActivateNeutralizationWatermarks() error
- func (db *Database) ChangeDBUUID() error
- func (db *Database) DeactivateCrons() error
- func (db *Database) DeactivateMailServers() error
- func (db *Database) DeleteOCNProjectUUID() error
- func (db *Database) DeleteWebsiteDomains() error
- func (db *Database) DisableBankSync() error
- func (db *Database) DisableCDN() error
- func (db *Database) DisableDeliveryCarriers() error
- func (db *Database) DisableFetchmail() error
- func (db *Database) DisableIAPAccount() error
- func (db *Database) DisableMailTemplate() error
- func (db *Database) DisablePaymentGeneric() error
- func (db *Database) DisableProdDeliveryCarriers() error
- func (db *Database) GetURI()
- func (db *Database) RemoveEnterpriseCode() error
- func (db *Database) RemoveFacebookTokens() error
- func (db *Database) RemoveIRLogging() error
- func (db *Database) RemoveInstagramTokens() error
- func (db *Database) RemoveLinkedInTokens() error
- func (db *Database) RemoveMapBoxToken() error
- func (db *Database) RemoveTwitterTokens() error
- func (db *Database) RemoveYoutubeTokens() error
- func (db *Database) UnsetFirebase() error
- func (db *Database) UpdateDatabaseExpirationDate() error
- type OdooConfig
- type OdooDB
- type QueryDef
Constants ¶
This section is empty.
Variables ¶
var Commit string
var OdooConfigs = []OdooConfig{ { Name: "15", Version: "15.0", Image: "ubuntu/22.04", InstanceName: "odoo-15-0", BaselinePackages: []string{ "apt-transport-https", "apt-utils", "bzip2", "ca-certificates", "curl", "dirmngr", "git", "gnupg", "inetutils-ping", "libgnutls-dane0", "libgts-bin", "libpaper-utils", "locales", "lsb-release", "nodejs", "npm", "odaserver", "openssh-server", "postgresql-common", "python3", "python3-full", "shared-mime-info", "sudo", "unzip", "vim", "wget", "xz-utils", "zip", "zstd", }, Odoobase: []string{ "fonts-liberation", "fonts-noto", "fonts-noto-cjk", "fonts-noto-mono", "geoip-database", "gsfonts", "python3-babel", "python3-chardet", "python3-cryptography", "python3-cups", "python3-dateutil", "python3-decorator", "python3-docutils", "python3-feedparser", "python3-freezegun", "python3-geoip2", "python3-gevent", "python3-googleapi", "python3-greenlet", "python3-html2text", "python3-idna", "python3-jinja2", "python3-ldap", "python3-libsass", "python3-lxml", "python3-markupsafe", "python3-num2words", "python3-odf", "python3-ofxparse", "python3-olefile", "python3-openssl", "python3-paramiko", "python3-passlib", "python3-pdfminer", "python3-phonenumbers", "python3-pil", "python3-pip", "python3-polib", "python3-psutil", "python3-psycopg2", "python3-pydot", "python3-pylibdmtx", "python3-pyparsing", "python3-pypdf2", "python3-qrcode", "python3-renderpm", "python3-reportlab", "python3-reportlab-accel", "python3-requests", "python3-rjsmin", "python3-serial", "python3-setuptools", "python3-stdnum", "python3-tz", "python3-urllib3", "python3-usb", "python3-vobject", "python3-werkzeug", "python3-xlrd", "python3-xlsxwriter", "python3-xlwt", "python3-zeep", }, }, { Name: "16", Version: "16.0", Image: "ubuntu/22.04", InstanceName: "odoo-16-0", BaselinePackages: []string{ "apt-transport-https", "apt-utils", "bzip2", "ca-certificates", "curl", "dirmngr", "git", "gnupg", "inetutils-ping", "libgnutls-dane0", "libgts-bin", "libpaper-utils", "locales", "lsb-release", "nodejs", "npm", "odaserver", "openssh-server", "postgresql-common", "python3", "python3-full", "shared-mime-info", "sudo", "unzip", "vim", "wget", "xz-utils", "zip", "zstd", }, Odoobase: []string{ "fonts-liberation", "fonts-noto", "fonts-noto-cjk", "fonts-noto-mono", "geoip-database", "gsfonts", "python3-babel", "python3-chardet", "python3-cryptography", "python3-cups", "python3-dateutil", "python3-decorator", "python3-docutils", "python3-feedparser", "python3-freezegun", "python3-geoip2", "python3-gevent", "python3-googleapi", "python3-greenlet", "python3-html2text", "python3-idna", "python3-jinja2", "python3-ldap", "python3-libsass", "python3-lxml", "python3-markupsafe", "python3-num2words", "python3-odf", "python3-ofxparse", "python3-olefile", "python3-openssl", "python3-paramiko", "python3-passlib", "python3-pdfminer", "python3-phonenumbers", "python3-pil", "python3-pip", "python3-polib", "python3-psutil", "python3-psycopg2", "python3-pydot", "python3-pylibdmtx", "python3-pyparsing", "python3-pypdf2", "python3-qrcode", "python3-renderpm", "python3-reportlab", "python3-reportlab-accel", "python3-requests", "python3-rjsmin", "python3-serial", "python3-setuptools", "python3-stdnum", "python3-tz", "python3-urllib3", "python3-usb", "python3-vobject", "python3-werkzeug", "python3-xlrd", "python3-xlsxwriter", "python3-xlwt", "python3-zeep", }, }, { Name: "17", Version: "17.0", Image: "ubuntu/22.04", InstanceName: "odoo-17-0", BaselinePackages: []string{ "apt-transport-https", "apt-utils", "bzip2", "ca-certificates", "curl", "dirmngr", "git", "gnupg", "inetutils-ping", "libgnutls-dane0", "libgts-bin", "libpaper-utils", "locales", "lsb-release", "nodejs", "npm", "odaserver", "openssh-server", "postgresql-common", "python3", "python3-full", "shared-mime-info", "sudo", "unzip", "vim", "wget", "xz-utils", "zip", "zstd", }, Odoobase: []string{ "fonts-liberation", "fonts-noto", "fonts-noto-cjk", "fonts-noto-mono", "geoip-database", "gsfonts", "python3-babel", "python3-chardet", "python3-cryptography", "python3-cups", "python3-dateutil", "python3-decorator", "python3-docutils", "python3-feedparser", "python3-freezegun", "python3-geoip2", "python3-gevent", "python3-googleapi", "python3-greenlet", "python3-html2text", "python3-idna", "python3-jinja2", "python3-ldap", "python3-libsass", "python3-lxml", "python3-markupsafe", "python3-num2words", "python3-odf", "python3-ofxparse", "python3-olefile", "python3-openssl", "python3-paramiko", "python3-passlib", "python3-pdfminer", "python3-phonenumbers", "python3-pil", "python3-pip", "python3-polib", "python3-psutil", "python3-psycopg2", "python3-pydot", "python3-pylibdmtx", "python3-pyparsing", "python3-pypdf2", "python3-qrcode", "python3-renderpm", "python3-reportlab", "python3-reportlab-accel", "python3-requests", "python3-rjsmin", "python3-serial", "python3-setuptools", "python3-stdnum", "python3-tz", "python3-urllib3", "python3-usb", "python3-vobject", "python3-werkzeug", "python3-xlrd", "python3-xlsxwriter", "python3-xlwt", "python3-zeep", }, }, { Name: "18", Version: "18.0", Image: "ubuntu/24.04", InstanceName: "odoo-18-0", BaselinePackages: []string{ "apt-transport-https", "apt-utils", "bzip2", "ca-certificates", "curl", "dirmngr", "git", "gnupg", "inetutils-ping", "libgnutls-dane0", "libgts-bin", "libpaper-utils", "locales", "lsb-release", "nodejs", "npm", "odaserver", "openssh-server", "postgresql-common", "python3", "python3-full", "shared-mime-info", "sudo", "unzip", "vim", "wget", "xz-utils", "zip", "zstd", }, Odoobase: []string{ "fonts-liberation", "fonts-noto", "fonts-noto-cjk", "fonts-noto-mono", "geoip-database", "gsfonts", "python3-asn1crypto", "python3-babel", "python3-cbor2", "python3-chardet", "python3-cryptography", "python3-cups", "python3-dateutil", "python3-decorator", "python3-docutils", "python3-feedparser", "python3-freezegun", "python3-geoip2", "python3-gevent", "python3-googleapi", "python3-greenlet", "python3-html2text", "python3-idna", "python3-jinja2", "python3-ldap", "python3-libsass", "python3-lxml", "python3-lxml-html-clean", "python3-markupsafe", "python3-num2words", "python3-odf", "python3-ofxparse", "python3-olefile", "python3-openpyxl", "python3-openssl", "python3-paramiko", "python3-passlib", "python3-pdfminer", "python3-phonenumbers", "python3-pil", "python3-pip", "python3-polib", "python3-psutil", "python3-psycopg2", "python3-pydot", "python3-pylibdmtx", "python3-pyparsing", "python3-pypdf2", "python3-qrcode", "python3-renderpm", "python3-reportlab", "python3-rl-renderpm", "python3-reportlab-accel", "python3-requests", "python3-rjsmin", "python3-serial", "python3-setuptools", "python3-stdnum", "python3-tz", "python3-urllib3", "python3-usb", "python3-vobject", "python3-werkzeug", "python3-xlrd", "python3-xlsxwriter", "python3-xlwt", "python3-zeep", }, }, }
var OdooDatabase = struct { Name string `json:"name"` Version string `json:"version"` Image string `json:"image"` }{ Name: "db", Version: "17", Image: "debian/12", }
var OdooRepos = []string{"odoo", "enterprise", "design-themes", "industry"}
var OdooVersions = []string{"18.0", "17.0", "16.0", "15.0"}
Functions ¶
func AdminBackup ¶
func AdminBackup() error
func AdminPassword ¶
func AdminPassword() error
func AdminRestore ¶
AdminRestore Restore from backup file
func AdminUsername ¶
func AdminUsername() error
func AreYouSure ¶ added in v0.5.0
func BaseCreate ¶ added in v0.5.0
func BaseCreate(version, localDomain string)
func CaddyfileUpdate ¶
func CloneUrlDir ¶ added in v0.5.0
func CopyDirectory ¶ added in v0.5.0
func CopySymLink ¶ added in v0.5.0
func Execute ¶ added in v0.5.0
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func GetOSVersion ¶ added in v0.5.0
func GetOSVersion() string
func GetOdooBackups ¶
func GetOdooConf ¶
func HostsUpdate ¶
func RemoveContents ¶
func RepoHeadShortCode ¶ added in v0.5.0
func RepoShortCodes ¶ added in v0.5.0
func ServiceRestart ¶
func ServiceRestart()
func ServiceStart ¶
func ServiceStart()
func ServiceStop ¶
func ServiceStop()
Types ¶
type Database ¶
type Database struct { Hostname string `json:"hostname,omitempty"` Port int `json:"port,omitempty"` Database string `json:"database,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` URI string `json:"uri,omitempty"` *sqlx.DB }
Database struct contains sql pointer
func (*Database) ActivateModuleUpdateNotificationCron ¶
func (*Database) ActivateNeutralizationWatermarks ¶
func (*Database) ChangeDBUUID ¶
func (*Database) DeactivateCrons ¶
func (*Database) DeactivateMailServers ¶
func (*Database) DeleteOCNProjectUUID ¶
func (*Database) DeleteWebsiteDomains ¶
func (*Database) DisableBankSync ¶
func (*Database) DisableCDN ¶
func (*Database) DisableDeliveryCarriers ¶
func (*Database) DisableFetchmail ¶
func (*Database) DisableIAPAccount ¶
func (*Database) DisableMailTemplate ¶
func (*Database) DisablePaymentGeneric ¶
func (*Database) DisableProdDeliveryCarriers ¶
func (*Database) RemoveEnterpriseCode ¶
func (*Database) RemoveFacebookTokens ¶
func (*Database) RemoveIRLogging ¶
func (*Database) RemoveInstagramTokens ¶
func (*Database) RemoveLinkedInTokens ¶
func (*Database) RemoveMapBoxToken ¶
func (*Database) RemoveTwitterTokens ¶
func (*Database) RemoveYoutubeTokens ¶
func (*Database) UnsetFirebase ¶
func (*Database) UpdateDatabaseExpirationDate ¶
type OdooConfig ¶ added in v0.5.0
type OdooConfig struct { Name string `json:"name"` Version string `json:"version"` Image string `json:"image"` InstanceName string `json:"instance_name"` BaselinePackages []string `json:"baseline_packages"` Odoobase []string `json:"odoobase"` }
func GetOdooConfig ¶ added in v0.5.0
func GetOdooConfig(version string) OdooConfig
type OdooDB ¶
type OdooDB struct { Hostname string `json:"hostname,omitempty"` Port string `json:"port,omitempty"` Database string `json:"database,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Template string `json:"template,omitempty"` }
func (*OdooDB) CreateDatabase ¶
func (*OdooDB) DropDatabase ¶
func (*OdooDB) RestoreDatabase ¶
Source Files ¶
- aGit.go
- cmdAdmin.go
- cmdAdminPassword.go
- cmdAdminUsername.go
- cmdAppInstall.go
- cmdAppScaffold.go
- cmdAppUpgrade.go
- cmdBackupBackup.go
- cmdBackupRestore.go
- cmdBackupTrim.go
- cmdBackupTrimall.go
- cmdConfig.go
- cmdConfigCaddy.go
- cmdConfigHosts.go
- cmdConfigInit.go
- cmdDatabasePsql.go
- cmdDatabaseQuery.go
- cmdInstanceRestart.go
- cmdInstanceStart.go
- cmdInstanceStop.go
- cmdLogs.go
- cmdRepo.go
- cmdRepoUpdate.go
- cmdRoot.go
- internalApp.go
- internalBackup.go
- internalBaseRoles.go
- internalConfig.go
- internalCopy.go
- internalDatabase.go
- internalDatabaseNeutralize.go
- internalDefaults.go
- internalHelpers.go
- internalInstance.go
- internalParser.go
- internalRepo.go
- internalUser.go