Skip to content

[v13] Use the examples directory for example plugin code#29152

Merged
alexfornuto merged 15 commits intobranch/v13from
bot/backport-23255-branch/v13
Jul 21, 2023
Merged

[v13] Use the examples directory for example plugin code#29152
alexfornuto merged 15 commits intobranch/v13from
bot/backport-23255-branch/v13

Conversation

@ptgott
Copy link
Copy Markdown
Contributor

@ptgott ptgott commented Jul 14, 2023

Backport #23255 to branch/v13

@ptgott
Copy link
Copy Markdown
Contributor Author

ptgott commented Jul 14, 2023

Please feel free to merge this for me!

@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from alexfornuto July 14, 2023 19:47
@Joerger Joerger added this pull request to the merge queue Jul 14, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 14, 2023
ptgott and others added 15 commits July 19, 2023 12:08
Also edit the Access Request plugin API guide to use this directory,
rather than having the reader copy/paste individual code snippets. This
makes the guide easier to follow, and users will have a compilable
example before they proceed through the guide.
This way, we can reuse the actual program in the Access Request plugin
API guide and avoid unintended discrepancies and drift.
Need to test this out, but it compiles
- Types that are no longer reachable via public interfaces
- The description of the demo implementation that used the old
  `watcherjob` package
Respond to Joerger feedback
Co-authored-by: Brian Joerger <bjoerger@goteleport.com>
- Split up "types.go". Reserve a single file for configuration values so
  these are visible in a single place within the guide.
- Return an error on an unsuccessful HTTP request when creating or
  updating a row
- Simplify requestStates lookup
- Clearly mark values that a user must change
- Update the text of the guide to match changes to the program
@alexfornuto alexfornuto force-pushed the bot/backport-23255-branch/v13 branch from 4cf4378 to cf50449 Compare July 19, 2023 17:09
@alexfornuto alexfornuto added this pull request to the merge queue Jul 21, 2023
Merged via the queue into branch/v13 with commit 288d186 Jul 21, 2023
@alexfornuto alexfornuto deleted the bot/backport-23255-branch/v13 branch July 21, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants