Documentation ¶
Index ¶
- Constants
- func CertificateStep() ([]bitriseModels.StepListItemModel, error)
- func ConvertStep(diffStep stepmanModels.StepModel, newStepID string, ...) (stepmanModels.StepModel, string, error)
- func ConvertStepAndCreateStepListItem(diffStep stepmanModels.StepModel, newStepID string, ...) ([]bitriseModels.StepListItemModel, error)
- func GetInputByKey(inputs []envmanModels.EnvironmentItemModel, key string) (envmanModels.EnvironmentItemModel, bool, error)
- func GetStepFromNewSteplib(stepID, stepLibGitURI string) (stepmanModels.StepModel, string, error)
- func ReadOldWorkflowModel(pth string) (oldModels.WorkflowModel, error)
- func ReadSpecStep(pth string) (stepmanModels.StepModel, error)
- func WorkflowModelFromJSONBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)
- func WorkflowModelFromYAMLBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)
- func WriteNewWorkflowModel(pth string, newWorkflow bitriseModels.BitriseDataModel) error
Constants ¶
View Source
const ( // BitriseVerifiedStepLibGitURI ... BitriseVerifiedStepLibGitURI = "https://github.com/bitrise-io/bitrise-steplib.git" // CertificateStepID ... CertificateStepID = "certificate-and-profile-installer" )
Variables ¶
This section is empty.
Functions ¶
func CertificateStep ¶
func CertificateStep() ([]bitriseModels.StepListItemModel, error)
CertificateStep ...
Cerificate step separated in new StepLib so need to insert befor new Xcode steps
func ConvertStep ¶
func ConvertStep(diffStep stepmanModels.StepModel, newStepID string, inputConversionMap map[string]string) (stepmanModels.StepModel, string, error)
ConvertStep ...
Converted step should: * keep original Title * keep original IsAlwaysRun
newStepID: the id of the new step in new StepLib diffStep: readed from workflow to convert
func ConvertStepAndCreateStepListItem ¶
func ConvertStepAndCreateStepListItem(diffStep stepmanModels.StepModel, newStepID string, inputConversionMap map[string]string) ([]bitriseModels.StepListItemModel, error)
ConvertStepAndCreateStepListItem ...
func GetInputByKey ¶
func GetInputByKey(inputs []envmanModels.EnvironmentItemModel, key string) (envmanModels.EnvironmentItemModel, bool, error)
GetInputByKey ...
func GetStepFromNewSteplib ¶
func GetStepFromNewSteplib(stepID, stepLibGitURI string) (stepmanModels.StepModel, string, error)
GetStepFromNewSteplib ...
func ReadOldWorkflowModel ¶
func ReadOldWorkflowModel(pth string) (oldModels.WorkflowModel, error)
ReadOldWorkflowModel ...
func WorkflowModelFromJSONBytes ¶
func WorkflowModelFromJSONBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)
WorkflowModelFromJSONBytes ...
func WorkflowModelFromYAMLBytes ¶
func WorkflowModelFromYAMLBytes(bytes []byte) (workflow oldModels.WorkflowModel, err error)
WorkflowModelFromYAMLBytes ...
func WriteNewWorkflowModel ¶
func WriteNewWorkflowModel(pth string, newWorkflow bitriseModels.BitriseDataModel) error
WriteNewWorkflowModel ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.