Documentation ¶
Index ¶
- func CreatePullRequest(sourceFiles string, PROptions *types.PullRequestOptions) (err error)
- func GenerateManifests(app *types.Configuration, tier *types.Datacenter, stage, organization string) string
- func GeneratePipelines(app *types.Configuration, organization, githubRepositoryName string) []*types.Pipeline
- func GetFileContent(fileArg string) (targetName string, b []byte, err error)
- func LoadConfiguration(local bool, organization, repositoryName, branch string) []*types.Configuration
- func ReadJSONLocalToStruct() []*types.Configuration
- func WriteFileOnDisk(out []byte, outputFilePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePullRequest ¶
func CreatePullRequest(sourceFiles string, PROptions *types.PullRequestOptions) (err error)
CreatePullRequest create pull request with generated manifests to github repository
func GenerateManifests ¶
func GenerateManifests(app *types.Configuration, tier *types.Datacenter, stage, organization string) string
GenerateManifests returns generated kubernetes manifest objects
func GeneratePipelines ¶
func GeneratePipelines(app *types.Configuration, organization, githubRepositoryName string) []*types.Pipeline
GeneratePipelines returns list generated spinnaker pipeline objects
func GetFileContent ¶
GetFileContent loads the local content of a file and return the target name of the file in the target repository and its contents.
func LoadConfiguration ¶
func LoadConfiguration(local bool, organization, repositoryName, branch string) []*types.Configuration
LoadConfiguration returns application config from local or remote configuration.json file
func ReadJSONLocalToStruct ¶
func ReadJSONLocalToStruct() []*types.Configuration
ReadJSONLocalToStruct returns struct with configuration values from selected repository
func WriteFileOnDisk ¶
WriteFileOnDisk write generated file on disk
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.