Versions in this module Expand all Collapse all v1 v1.0.0 Aug 19, 2023 Changes in this version + func CheckAppOrigin() (string, error) + func CheckKubeNS(ns string) error + func ClearUsrTarget() error + func CloseFilePointerForUsrBuildLogAndMarkDone(fp *os.File) error + func CreateAdmOrigin() error + func CreateDelQOSSource(resourcenm string, resource_key string) (string, error) + func CreateHPASource(resourcenm string, resource_key string) (string, error) + func CreateIngressSource(ns string, host string, svc string) (string, error) + func CreateNodePortSource(ns string, svc string) (string, error) + func CreateQOSSource(resourcenm string, resource_key string) (string, error) + func CreateUsrDelOperationSource(resourcenm string) (string, error) + func CreateUsrTargetOperationSource(LIBIF_BIN_KOMPOSE string, regaddr string) (string, error) + func GetRecordInfo(records []RecordInfo, ns string) (bool, string, string) + func GetRegInfo(regs []RegInfo, addr string) (bool, string, string) + func GetRepoInfo(repos []RepoInfo, addr string) (bool, string, string) + func GetUsrBuildLog() ([]byte, error) + func GetUsrTargetDockerComposeYamlBuild() (string, error) + func GetUsrTargetPushList(regaddr string) ([][]string, error) + func InitUsrTarget(repoaddr string) error + func OpenFilePointerForUsrBuildLog() (*os.File, error) + func SetAdminOriginNewNS(ns string, repo_url_in string, reg_url_in string) error + func UnloadAdmOrigin(ao AppOrigin) error + type AppOrigin struct + RECORDS []RecordInfo + REGS []RegInfo + REPOS []RepoInfo + func LoadAdmOrigin() (AppOrigin, error) + type RecordInfo struct + NS string + REG_ADDR string + REPO_ADDR string + func SetRecordInfo(records []RecordInfo, ns string, repo_addr string, reg_addr string) []RecordInfo + type RegInfo struct + REG_ADDR string + REG_ID string + REG_PW string + func SetRegInfo(regs []RegInfo, addr string, id string, pw string) []RegInfo + type RepoInfo struct + REPO_ADDR string + REPO_ID string + REPO_PW string + func SetRepoInfo(repos []RepoInfo, addr string, id string, pw string) []RepoInfo