deckhand.control.revision_documents module

class deckhand.control.revision_documents.RenderedDocumentsResource[source]

Bases: deckhand.control.base.BaseResource

API resource for realizing rendered documents endpoint.

Rendered documents are also revision documents, but unlike revision documents, they are finalized documents, having undergone secret substitution and document layering.

Returns a multi-document YAML response containing all the documents matching the filters specified via query string parameters. Returned documents will have secrets substituted into them and be layered with other documents in the revision, in accordance with the LayeringPolicy that currently exists in the system.

on_get(req, resp, revision_id)[source]
view_builder = <deckhand.control.views.document.ViewBuilder object>
class deckhand.control.revision_documents.RevisionDocumentsResource[source]

Bases: deckhand.control.base.BaseResource

API resource for realizing revision documents endpoint.

on_get(req, resp, revision_id)[source]

Returns all documents for a revision_id.

Returns a multi-document YAML response containing all the documents matching the filters specified via query string parameters. Returned documents will be as originally posted with no substitutions or layering applied.

view_builder = <deckhand.control.views.document.ViewBuilder object>