Documentation ¶
Overview ¶
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/methods/createfunctions.go
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/methods/deletefunctions.go
file: ./cmd/methods/embeds.go
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/methods/exportfunctions.go
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/functions.go
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/methods/populatefunctions.go
EPOS Open Source - Local installation with Docker Copyright (C) 2023 EPOS ERIC 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 <https://www.gnu.org/licenses/>.
file: ./cmd/functions.go
Index ¶
- func CheckImagesUpdate() error
- func CreateDirectory(dir string) error
- func CreateEnvironment(env string, dockercomposefile string, externalip string, envname string, ...) error
- func DeleteEnvironment(env string, dockercomposefile string, envname string, envtag string) error
- func ExecuteCommand(cmd *exec.Cmd) error
- func ExportVariablesEnvironment(file string, output string) error
- func GenerateDirectoryName() string
- func GenerateFile(text []byte, filePath string) error
- func GenerateTempFile(dname string, filetype string, text []byte) (string, error)
- func GetAvailablePort() (string, error)
- func GetConfigurationsEmbed() []byte
- func GetDockerComposeEmbed() []byte
- func GetFreePort() (int, error)
- func GetLastDockerImageTag(repo string) (string, error)
- func GetLastTag() error
- func GetVersion() string
- func IsPortAvailable(port string) (bool, error)
- func OverridePorts(update string) error
- func PopulateEnvironment(env string, path string, envname string, envtag string) error
- func PrintError(message string)
- func PrintNewVersionAvailable(message string)
- func PrintNotification(message string)
- func PrintSetup(env string, dockercomposefile string)
- func PrintTask(message string)
- func PrintUrls()
- func PrintWait(message string)
- func RemoveContents(dir string) error
- func SetupIPs() error
- func SetupProvidedIPs(externalip string) error
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckImagesUpdate ¶
func CheckImagesUpdate() error
func CreateDirectory ¶
func CreateEnvironment ¶
func DeleteEnvironment ¶
func ExecuteCommand ¶
func GenerateDirectoryName ¶
func GenerateDirectoryName() string
func GenerateFile ¶
func GenerateTempFile ¶
func GetAvailablePort ¶
func GetConfigurationsEmbed ¶
func GetConfigurationsEmbed() []byte
func GetDockerComposeEmbed ¶
func GetDockerComposeEmbed() []byte
func GetFreePort ¶
func GetLastDockerImageTag ¶
func GetLastTag ¶
func GetLastTag() error
func GetVersion ¶
func GetVersion() string
func IsPortAvailable ¶
func OverridePorts ¶
func PopulateEnvironment ¶
func PrintError ¶
func PrintError(message string)
func PrintNewVersionAvailable ¶
func PrintNewVersionAvailable(message string)
func PrintNotification ¶
func PrintNotification(message string)
func PrintSetup ¶
func RemoveContents ¶
func SetupProvidedIPs ¶
Types ¶
type Response ¶
type Response struct { Count int `json:"count"` Next string `json:"next"` Previous any `json:"previous"` Results []struct { Creator int `json:"creator"` ID int `json:"id"` Images []struct { Architecture string `json:"architecture"` Features string `json:"features"` Variant any `json:"variant"` Digest string `json:"digest"` Os string `json:"os"` OsFeatures string `json:"os_features"` OsVersion any `json:"os_version"` Size int `json:"size"` Status string `json:"status"` LastPulled any `json:"last_pulled"` LastPushed time.Time `json:"last_pushed"` } `json:"images"` LastUpdated time.Time `json:"last_updated"` LastUpdater int `json:"last_updater"` LastUpdaterUsername string `json:"last_updater_username"` Name string `json:"name"` Repository int `json:"repository"` FullSize int `json:"full_size"` V2 bool `json:"v2"` TagStatus string `json:"tag_status"` TagLastPulled any `json:"tag_last_pulled"` TagLastPushed time.Time `json:"tag_last_pushed"` MediaType string `json:"media_type"` ContentType string `json:"content_type"` Digest string `json:"digest"` } `json:"results"` }
Click to show internal directories.
Click to hide internal directories.