pulumi/pkg
Kyle Pitzen 5feb846817
Addresses initial Org Search feedback (#13920)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

Based on initial Org Search feedback, we were missing a few things in
the original implementation. This adds the following:
- Displays the raw query which was submitted to Pulumi for both basic
org search and AI assisted search
- Validates whether the org provided is the user's individual org - AI
assist and search is not supported for individual orgs
- Aligns `pulumi org search` syntax with that supported in the console.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->

---------

Co-authored-by: Aaron Friel <mayreply@aaronfriel.com>
2023-09-12 00:18:43 +00:00
..
authhelpers make linter happy 2023-02-08 10:30:10 -08:00
backend Addresses initial Org Search feedback (#13920) 2023-09-12 00:18:43 +00:00
cmd/pulumi Addresses initial Org Search feedback (#13920) 2023-09-12 00:18:43 +00:00
codegen Python SDK generation with pyproject.toml stops generating setup.py (#13812) 2023-09-06 13:08:42 +00:00
engine Pass provider checksums in requests and save to state (#13789) 2023-09-11 15:54:07 +00:00
graph Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
importer Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
operations PR feedback and CHANGELOG 2023-07-26 20:44:12 -07:00
resource Pass provider checksums in requests and save to state (#13789) 2023-09-11 15:54:07 +00:00
secrets Add tests for stackChangeSecretsProviderCmd (#13791) 2023-08-31 08:56:38 +00:00
testing/integration ci: Track code coverage 2023-06-28 13:30:13 -07:00
util Remove ibm from pulumiverse list 2023-08-10 10:49:06 +01:00
version duplicate version to ensure linking is properly handled 2020-03-19 12:49:34 -07:00
workspace Fill in default plugin download URL before looking up version 2023-07-13 23:12:25 +01:00
README.md export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00
go.mod Changelog and go.mod updates for v3.81.0 (#13894) 2023-09-07 21:17:41 +00:00
go.sum cmdutil.ReadConsole[NoEcho]: Use bubbletea (#13815) 2023-08-30 17:08:44 +00:00

README.md

pulumi/pkg

While pulumi/sdk maintains strict backwards compatibility guarantees, code under pkg/ is handled more informally: while breaking changes are still discouraged they may happen when they make sense.