.. _workbook-swift:

==============
Swift Workbook
==============

:Workbook name: tripleo.swift.v1

TripleO Swift Utility Workflows

Workflows in the Swift Workbook

.. object:: tripleo.swift.v1.container_exists

   Verify if a Swift container exists
   Given the name of a Swift container this workflow will verify if it already exists. The workflow will ERROR if it doesn't and end in SUCCESS if it does.
   If create_container: true is passed in, then the container will be created if it doesn't exist. In this case, if the workflow fails the container failed to create.

   Workflow inputs:

   :input container: Required.
   :input {'headers': {}}: Required.
   :input {'create_container': False}: Required.

.. object:: tripleo.swift.v1.object_exists

   Verify if a Swift object exists
   Given the name of a Swift container and object this workflow will verify if it already exists. The workflow will ERROR if it doesn't and end in SUCCESS if it does.
   

   Workflow inputs:

   :input container: Required.
   :input object: Required.
