Skip to content

Changes to Discord plugin for running in hosted mode.#30432

Merged
tcsc merged 6 commits intomasterfrom
tcsc/discord
Aug 21, 2023
Merged

Changes to Discord plugin for running in hosted mode.#30432
tcsc merged 6 commits intomasterfrom
tcsc/discord

Conversation

@tcsc
Copy link
Copy Markdown
Contributor

@tcsc tcsc commented Aug 14, 2023

Includes:

  • Moves Default API URL setting into Sidcord config
    CheckAndSetDefaults()
  • Only creates a Teleport client is one is not supplied during
    plugin construction.
  • Optional hosted-plugin status updates

Changelog: none

tcsc added 2 commits August 14, 2023 23:01
Includes:
 * Moves Default API URL setting into Sidcord config
   CheckAndSetDefaults()
 * Only creates a Teleport client is one is not supplied during
   plugin construction.
 * Optional hosted-plugin status updates
Comment on lines +38 to +46

// Teleport is a handle to the client to use when communicating with
// the Teleport auth server. The PagerDuty app will create a GRPC-
// based client on startup if this is not set.
Client teleport.Client

// StatusSink receives any status updates from the plugin for
// further processing. Status updates will be ignored if not set.
StatusSink common.StatusSink
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are going to make all plugins runnable in managed mode, would it make sense to put those fields in the BaseConfig?

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from fspmarshall August 17, 2023 21:22
@tcsc tcsc enabled auto-merge August 21, 2023 03:09
@tcsc tcsc added this pull request to the merge queue Aug 21, 2023
Merged via the queue into master with commit acb8940 Aug 21, 2023
@tcsc tcsc deleted the tcsc/discord branch August 21, 2023 03:56
@public-teleport-github-review-bot
Copy link
Copy Markdown

@tcsc See the table below for backport results.

Branch Result
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants