Documentation ¶
Overview ¶
EPOS Open Source - Local installation with Kubernetes 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 Kubernetes 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 Kubernetes 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 Kubernetes 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 Kubernetes 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 Kubernetes 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 CopyFromEmbedAndSubstitute(dname string, filetype string, file []byte) (string, error)
- func CreateDirectory(dir string) error
- func CreateEnvironment(env string, context string, namespace string, tag string, autoupdate string, ...) error
- func DeleteEnvironment(context string, namespace string) error
- func ExecuteCommand(cmd *exec.Cmd) error
- func ExportHostname(cmd *exec.Cmd) (string, 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 GetBackofficeResourceEmbed() []byte
- func GetConfigurationsEmbed() []byte
- func GetConverterResourceEmbed() []byte
- func GetDataPortalResourceEmbed() []byte
- func GetExternalAccessResourceEmbed() []byte
- func GetFreePort() (int, error)
- func GetGatewayResourceEmbed() []byte
- func GetIngestorResourceEmbed() []byte
- func GetLastDockerImageTag(repo string) (string, error)
- func GetLastTag() error
- func GetLoggingResourceEmbed() []byte
- func GetMetadataDatabaseResourceEmbed() []byte
- func GetOperatorResourceEmbed() []byte
- func GetRabbitMQResourceEmbed() []byte
- func GetResourcesResourceEmbed() []byte
- func GetSecretsResourceEmbed() []byte
- func GetVersion() string
- func IsPortAvailable(port string) (bool, error)
- func OverridePorts(update string) error
- func PopulateEnvironment(context string, env string, path string, namespace string, tag string) error
- func PrintError(message string)
- func PrintNewVersionAvailable(message string)
- func PrintNotification(message string)
- func PrintSetup(env string, context string, namespace string, tag string)
- func PrintSetupShort(context string, namespace string)
- func PrintTask(message string)
- func PrintUrls()
- func PrintWait(message string)
- func RemoveContents(dir string) error
- func SetupIPs() 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 GetBackofficeResourceEmbed ¶
func GetBackofficeResourceEmbed() []byte
func GetConfigurationsEmbed ¶
func GetConfigurationsEmbed() []byte
func GetConverterResourceEmbed ¶
func GetConverterResourceEmbed() []byte
func GetDataPortalResourceEmbed ¶
func GetDataPortalResourceEmbed() []byte
func GetExternalAccessResourceEmbed ¶
func GetExternalAccessResourceEmbed() []byte
func GetFreePort ¶
func GetGatewayResourceEmbed ¶
func GetGatewayResourceEmbed() []byte
func GetIngestorResourceEmbed ¶
func GetIngestorResourceEmbed() []byte
func GetLastDockerImageTag ¶
func GetLastTag ¶
func GetLastTag() error
func GetLoggingResourceEmbed ¶
func GetLoggingResourceEmbed() []byte
func GetMetadataDatabaseResourceEmbed ¶
func GetMetadataDatabaseResourceEmbed() []byte
func GetOperatorResourceEmbed ¶
func GetOperatorResourceEmbed() []byte
func GetRabbitMQResourceEmbed ¶
func GetRabbitMQResourceEmbed() []byte
func GetResourcesResourceEmbed ¶
func GetResourcesResourceEmbed() []byte
func GetSecretsResourceEmbed ¶
func GetSecretsResourceEmbed() []byte
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 PrintSetupShort ¶
func RemoveContents ¶
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.