Documentation ¶
Index ¶
- Variables
- func GetEntandoIngressesPath(protocol string) *types.EntandoIngressesPath
- func HashAndTruncate(input string) string
- func HttpGet(url string) []byte
- func IsEmpty(str string) bool
- func IsValidURL(input string) bool
- func NormalizeName(input string) string
- func ReadFileToYaml(filePath string, data interface{})
- func ReadString(inputText string, required bool) string
- func RetrieveProtocol() string
- func ShowAdditionalCommandsInHelp()
- func WriteYamlToFile(filePath string, data interface{})
- type EntandoConfig
- func (ec *EntandoConfig) GetEntBinFolderFilePath() string
- func (ec *EntandoConfig) GetEntBundleCliBinFilePath() string
- func (ec *EntandoConfig) GetEntConfigFilePathByProfile(profile string) string
- func (ec *EntandoConfig) GetEntFolderFilePath() string
- func (ec *EntandoConfig) GetEntGlobalConfigFilePath() string
- func (e *EntandoConfig) GetHomeDir() string
- func (ec *EntandoConfig) GetProfile() string
- func (ec *EntandoConfig) GetProfileFilePath(profile string) string
- func (ec *EntandoConfig) GetProfiles() ([]string, error)
- func (ec *EntandoConfig) GetProfilesDirectories() ([]os.DirEntry, error)
- func (ec *EntandoConfig) GetProfilesFilePath() string
- func (e *EntandoConfig) SetHomeDir(homeDir string)
- type KubeClient
- type SourceBinary
Constants ¶
This section is empty.
Variables ¶
View Source
var EntBundleCliBinary = SourceBinary{ Name: "entando-bundle-cli", Path: GetEntandoConfigInstance().GetEntBundleCliBinFilePath(), Tag: "v1.1.2", Sha: "2eb3bb76d2c86fc825957893620c2e05d3b20f5c", RepoName: "entando-bundle-cli", }
View Source
var EntExtBinaries = []SourceBinary{EntBundleCliBinary}
Functions ¶
func GetEntandoIngressesPath ¶
func GetEntandoIngressesPath(protocol string) *types.EntandoIngressesPath
func HashAndTruncate ¶
func IsValidURL ¶
func NormalizeName ¶
func ReadFileToYaml ¶
func ReadFileToYaml(filePath string, data interface{})
func ReadString ¶
func RetrieveProtocol ¶
func RetrieveProtocol() string
func ShowAdditionalCommandsInHelp ¶
func ShowAdditionalCommandsInHelp()
func WriteYamlToFile ¶
func WriteYamlToFile(filePath string, data interface{})
Types ¶
type EntandoConfig ¶
type EntandoConfig struct {
// contains filtered or unexported fields
}
func GetEntandoConfigInstance ¶
func GetEntandoConfigInstance() *EntandoConfig
func (*EntandoConfig) GetEntBinFolderFilePath ¶
func (ec *EntandoConfig) GetEntBinFolderFilePath() string
func (*EntandoConfig) GetEntBundleCliBinFilePath ¶
func (ec *EntandoConfig) GetEntBundleCliBinFilePath() string
func (*EntandoConfig) GetEntConfigFilePathByProfile ¶
func (ec *EntandoConfig) GetEntConfigFilePathByProfile(profile string) string
func (*EntandoConfig) GetEntFolderFilePath ¶
func (ec *EntandoConfig) GetEntFolderFilePath() string
func (*EntandoConfig) GetEntGlobalConfigFilePath ¶
func (ec *EntandoConfig) GetEntGlobalConfigFilePath() string
func (*EntandoConfig) GetHomeDir ¶
func (e *EntandoConfig) GetHomeDir() string
func (*EntandoConfig) GetProfile ¶
func (ec *EntandoConfig) GetProfile() string
func (*EntandoConfig) GetProfileFilePath ¶
func (ec *EntandoConfig) GetProfileFilePath(profile string) string
func (*EntandoConfig) GetProfiles ¶
func (ec *EntandoConfig) GetProfiles() ([]string, error)
func (*EntandoConfig) GetProfilesDirectories ¶
func (ec *EntandoConfig) GetProfilesDirectories() ([]os.DirEntry, error)
func (*EntandoConfig) GetProfilesFilePath ¶
func (ec *EntandoConfig) GetProfilesFilePath() string
func (*EntandoConfig) SetHomeDir ¶
func (e *EntandoConfig) SetHomeDir(homeDir string)
type KubeClient ¶
type KubeClient struct { ClientSet *kubernetes.Clientset EntandoClientSet *entandoclients.Clientset PipelineClientSet *pipelineclients.Clientset DynamicClient *dynamic.DynamicClient Namespace string }
func GetKubeClientInstance ¶
func GetKubeClientInstance() *KubeClient
type SourceBinary ¶
TODO: make multiplatform and multiarch
func (*SourceBinary) DetermineUrl ¶
func (sb *SourceBinary) DetermineUrl() string
Click to show internal directories.
Click to hide internal directories.