edeliver v1.8.0 Edeliver.Relup.Instructions

This struct represents relup instructions from the relup file

but in a more accessible way. The up and down instructions can be modified by a Edeliver.Relup.Modification and will be written back to the relup file by edeliver before generating the release tar.

Link to this section Summary

Types

An appup instruction from the relup file

A list of appup instructions from the relup file

t()

Appup instructions from the relup file which can be modified. They are seperated into instructions for the upgrade and instructions for the downgrade and will be later written back to the relup file. changed_modules contains a list of all code modules which changed in the new version and will be loaded during the upgrade.

Link to this section Types

Link to this type

instruction()

instruction() :: :relup.instruction()

An appup instruction from the relup file

Link to this type

instructions()

instructions() :: [instruction()]

A list of appup instructions from the relup file

Link to this type

t()

t() :: %Edeliver.Relup.Instructions{
  changed_modules: [module()],
  down_instructions: instructions(),
  down_version: String.t(),
  up_instructions: instructions(),
  up_version: String.t()
}

Appup instructions from the relup file which can be modified. They are seperated into instructions for the upgrade and instructions for the downgrade and will be later written back to the relup file. changed_modules contains a list of all code modules which changed in the new version and will be loaded during the upgrade.