Documentation ¶
Index ¶
- 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
- type RecordInfo
- type RegInfo
- type RepoInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAppOrigin ¶
func CheckKubeNS ¶
func ClearUsrTarget ¶
func ClearUsrTarget() error
func CreateAdmOrigin ¶
func CreateAdmOrigin() error
func CreateDelQOSSource ¶
func CreateIngressSource ¶
func GetRecordInfo ¶
func GetRecordInfo(records []RecordInfo, ns string) (bool, string, string)
func GetUsrBuildLog ¶
func GetUsrTargetPushList ¶
func InitUsrTarget ¶
func SetAdminOriginNewNS ¶
func UnloadAdmOrigin ¶
Types ¶
type AppOrigin ¶
type AppOrigin struct { RECORDS []RecordInfo `json:"RECORDS,omitempty"` REPOS []RepoInfo `json:"REPOS,omitempty"` REGS []RegInfo `json:"REGS,omitempty"` }
func LoadAdmOrigin ¶
type RecordInfo ¶
type RecordInfo struct { NS string `json:"NS,omitempty"` REPO_ADDR string `json:"REPO_ADDR,omitempty"` REG_ADDR string `json:"REG_ADDR,omitempty"` }
func SetRecordInfo ¶
func SetRecordInfo(records []RecordInfo, ns string, repo_addr string, reg_addr string) []RecordInfo
Click to show internal directories.
Click to hide internal directories.