- Notifications
You must be signed in to change notification settings - Fork4
feat: addgroup_sync androle_sync forcoderd_organization_resource#147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
28 commits Select commitHold shift + click to select a range
8b73a3e add organization resource
aslilac69fab48 Merge branch 'main' into lilac/add-organization-resource
aslilac4743b9e flesh out the organization resource
aslilac435032b register new resource type + gen
aslilac71dc51b start with tests from ethan
aslilac3397984 ooooh, I get it, that was correct :^)
aslilac75c0858 hmm
aslilaccc2bb2e lets do members differently actually
aslilacd23168a gen
aslilac28b395a statecheck
aslilacf2d3e3c feedback
aslilac236c11e hiyo
aslilac16d10e7 :^)
aslilacf3ff5fb how about
aslilaca2db0d6 this is probably bad :)
aslilac93f476b this is probably also bad
aslilac39da842 Merge branch 'main' into lilac/idp-sync
aslilac69ebed9 get the attribute definitions out there
aslilac3bf1734 idek what I'm doing anymore apparently
aslilaca185262 so close...
aslilac03bdf17 pay attention
aslilac753eaa9 it WORKS!
aslilac85891d6 dogs
aslilac68c6ad5 Merge branch 'main' into lilac/idp-sync
aslilacbd73bb4 fix uuid handling
aslilac8f3e1b9 fix container name
aslilacd3f6e2c do the reads
aslilac33e09a9 check regexp
aslilacFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
21 changes: 21 additions & 0 deletionsdocs/resources/organization.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletionsinternal/codersdkvalidator/regex.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package codersdkvalidator | ||
| import ( | ||
| "regexp" | ||
| "github.com/hashicorp/terraform-plugin-framework/schema/validator" | ||
| ) | ||
| func checkRegexp(it string) error { | ||
| _, err := regexp.Compile("") | ||
| return err | ||
| } | ||
| func Regexp() validator.String { | ||
| return validatorFromFunc(checkRegexp, "value must be a valid regexp") | ||
| } |
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.