github.com/pachyderm/pachyderm@v1.13.4/examples/spouts/EmailSentimentAnalyzer/imap_spout.json (about)

     1  {
     2      "pipeline": {
     3          "name": "imap_spout"
     4      },
     5      "spout": {
     6          "overwrite": false
     7      },
     8      "description": "A spout pipeline that connects to an IMAP mail account, collects the incoming email, and stores it in the `imap_spout` repo.",
     9      "transform": {
    10          "cmd": [ "python3", "/imap_spout.py" ],
    11          "image": "pachyderm/imap_spout:1.11",
    12          "secrets" : [
    13              {
    14                  "name": "imap-credentials",
    15                  "key": "IMAP_LOGIN",
    16                  "env_var": "IMAP_LOGIN"
    17              },
    18              {
    19                  "name": "imap-credentials",
    20                  "key": "IMAP_PASSWORD",
    21                  "env_var": "IMAP_PASSWORD"
    22              }
    23          ]
    24      }
    25  }
    26