Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadStepCollectionModel ¶
func ReadStepCollectionModel(collectionID string) (models.StepCollectionModel, error)
ReadStepCollectionModel ...
Types ¶
type SpecJSONModel ¶
type SpecJSONModel struct {
Steps map[string]StepInfoModel `json:"steps"`
}
SpecJSONModel ...
type StepInfoModel ¶
type StepInfoModel struct { LatestVersion string `json:"latest_version_number"` StepVersions map[string]StepVersionModel `json:"versions"` }
StepInfoModel ...
type StepInputModel ¶
type StepInputModel struct { Key string `json:"key"` Description string `json:"description"` DefaultValue string `json:"default_value"` ValueOptions []string `json:"value_options"` IsExpand bool `json:"is_expand"` }
StepInputModel ...
type StepVersionModel ¶
type StepVersionModel struct { Title string `json:"title"` Description string `json:"description"` Inputs []StepInputModel `json:"inputs"` }
StepVersionModel ...
func ReadStepVersionInfo ¶
func ReadStepVersionInfo(collectionID, stepID, stepVersion string) (StepVersionModel, string, error)
ReadStepVersionInfo ... If `stepVersion` is empty, the function will return with the latest available version of the step.
Click to show internal directories.
Click to hide internal directories.