Item Parameters

For an item to work with different values, the values must be passed in. These values are called item parameters.

%3cluster_acluster_bcluster_caabba->ba_text⚙️appcompilea_paramsParamsrepo_path:/path/to/projectccb->cb_text🖥️serverlaunchb_paramsParamsimage_id:abcd1234instance_size:largec_text📤fileuploadc_paramsParamssrc:/path/to/appdest:user@ip:/path/to/dest

There are a number of related concepts:

  • User needs to be able to specify how the values are defined:

    • Plain Values: Use a value provided by the user.
    • Referenced Values: Use a value produced by a predecessor item.
    • Transformed Values: Take values produced by predecessor item(s), transform it, then use that.
  • Implementors:

    • Need to define the parameters.
    • Take in parameter values for state_current, state_goal.
    • Take in Option<Field> for each field within the parameter for try_state_current, try_state_goal.
  • Peace should be able to store and load:

    • The specification by the user.
    • The actual values computed and used during command execution.