casual transactionΒΆ

host# casual --help transaction

transaction [0..1]
     transaction related administration

   SUB OPTIONS:

      -lt, --list-transactions [0..1]
           list current transactions

      -lr, --list-resources [0..1]
           list all resources

      -lri, --list-resource-instances [0..1]
           list resource instances

         SUB OPTIONS:

            -a, --all [0..1]
                 list both internal and external resource instances (default)

            -i, --internal [0..1]
                 list internal resource instances

            -e, --external [0..1]
                 list external resource instances

      --begin [0..1]
           creates a 'single' transaction directive
           
           * creates a new transaction and send it downstream.
           * all downstream `actions` will be associated with this transaction, until commit/rollback.
           * @attention there has to be a corresponding commit/rollback downstream for every 
           --begin, otherwise the transaction(s) will be unresolved (indoubt).
           
           @note: part of casual-pipe

      --commit [0..1]
           tries to commit the upstream transaction
           
           * The current transaction will be committed (if error from upstream -> rollback)
           * Downstream `actions` will not be associated with the current transaction.
           
           @note: part of casual-pipe

      --rollback [0..1]
           tries to rollback the upstream transaction
           
           * The current transaction will be rolled back.
           * Downstream `actions` will not be associated with the current transaction.
           
           @note: part of casual-pipe

      -srp, --scale-resource-proxies [0..1]  (rm-id, #instances) [0..* {2}]
           scale resource proxy instances

      -lp, --list-pending [0..1]
           list pending tasks

      --legend [0..1]
           the legend for the supplied option
           
           Documentation and description for abbreviations and acronyms used as columns in output
           
           The following options has legend:

         SUB OPTIONS:

            --list-resources [0..1]
                 list legend for --list-resources

            --list-transactions [0..1]
                 list legend for --list-transactions

            --list-resource-instances [0..1]
                 the legends for list resource instances suboptions
                 
                 The following suboptions has legend:

               SUB OPTIONS:

                  --all [0..1]
                       list legend for --all

                  --internal [0..1]
                       list legend for --internal

                  --external [0..1]
                       list legend for --external

      --information [0..1]
           collect aggregated information about transactions in this domain

      --state [0..1]  (json, yaml, xml, ini, line) [0..1]
           prints state in the provided format to stdout

      [deprecated] --list-internal-instances [0..1]
           @deprecated: use --list-resource-instances --internal

      [deprecated] --list-external-instances, --list-external-resources [0..1]
           @deprecated: use --list-resource-instances --external