Documentation ¶
Index ¶
- Variables
- func BootstrapOsdCtlForAppInterfaceAndServicePromotions()
- func CheckoutAndCompareGitHash(gitURL, gitHash, currentGitHash string) (string, error)
- func CommitSaasFile(saasFile, commitMessage string) error
- func GetCurrentGitHashFromAppInterface(saarYamlFile []byte, serviceName string) (string, string, error)
- func GetCurrentPackageTagFromAppInterface(saasFile string) (string, error)
- func UpdateAppInterface(serviceName, saasFile, currentGitHash, promotionGitHash, branchName string) error
- func UpdatePackageTag(saasFile, oldTag, promotionTag, branchName string) error
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var (
BaseDir string
)
Functions ¶
func BootstrapOsdCtlForAppInterfaceAndServicePromotions ¶
func BootstrapOsdCtlForAppInterfaceAndServicePromotions()
func CommitSaasFile ¶ added in v0.18.0
func GetCurrentPackageTagFromAppInterface ¶ added in v0.18.0
func UpdateAppInterface ¶ added in v0.18.0
func UpdatePackageTag ¶ added in v0.18.0
Types ¶
type Service ¶
type Service struct { Name string `yaml:"name"` ResourceTemplates []struct { Name string `yaml:"name"` URL string `yaml:"url"` Targets []struct { Namespace map[string]string `yaml:"namespace"` Ref string `yaml:"ref"` Parameters map[string]interface{} `yaml:"parameters"` } `yaml:"targets"` } `yaml:"resourceTemplates"` }
Click to show internal directories.
Click to hide internal directories.