dockertriggers#

async idem_vra.states.vra.pipeline.dockertriggers.present(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • name (string) – (required in body) A human-friendly name used as an identifier in APIs that support this option

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about

  • Authorization (string) – (optional in header) Bearer token

  • description (string) – (optional in body) Docker webhook description.

  • enabled (boolean) – (optional in body) Indicates whether Docker webhook is enabled or not.

  • endpoint (string) – (optional in body) Docker endpoint.

  • externalListenerLink (string) – (optional in body) Docker webhook listener link.

  • imageNameRegExPattern (string) – (optional in body) If provided then the pipeline execution is triggered only when the given image name regex matches the image name in the received payload.

  • input (object) – (optional in body) Pipeline Execution input properties.

  • pipeline (string) – (optional in body) Pipeline name which is meant to be triggered when a docker event occur.

  • project (string) – (optional in body) The project this entity belongs to.

  • refreshToken (string) – (optional in body) Codestream API token.

  • repoName (string) – (optional in body) Docker Repo Name.

  • secretToken (string) – (optional in body) Secret token to validate received payloads.

  • serverType (string) – (optional in body) Docker server type.

  • slug (string) – (optional in body) Docker webhook name.

  • tagNamePattern (string) – (optional in body) If provided then the pipeline execution is triggered only when the given tag name regex matches the tag name(s) in the received payload.

async idem_vra.states.vra.pipeline.dockertriggers.absent(hub, ctx, name: str, **kwargs)[source]#
Parameters:
  • p_id (string) – (required in path) id

  • apiVersion (string) – (optional in query) The version of the API in yyyy-MM-dd format (UTC). For versioning information please refer to /codestream/api/about

  • Authorization (string) – (optional in header) Bearer token

async idem_vra.states.vra.pipeline.dockertriggers.describe(hub, ctx)[source]#
idem_vra.states.vra.pipeline.dockertriggers.is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#
class idem_vra.states.vra.pipeline.dockertriggers.DockertriggersState(hub, ctx)[source]#

Bases: object

async present(hub, ctx, name: str, **kwargs)[source]#
async absent(hub, ctx, name: str, **kwargs)[source]#
async describe(hub, ctx)[source]#
async paginate_find(hub, ctx, **kwargs)[source]#

Paginate through all resources using their ‘find’ method.

is_pending(hub, ret: dict, state: str = None, **pending_kwargs)[source]#

State reconciliation

async remap_resource_structure(hub, ctx, obj: dict) dict[source]#
class idem_vra.states.vra.pipeline.dockertriggers.DockertriggersStateImpl(hub, ctx)[source]#

Bases: DockertriggersState

async present(hub, ctx, name: str, type: Any, value: Any, **kwargs)[source]#
async absent(hub, ctx, name: str, **kwargs)[source]#
async describe(hub, ctx)[source]#