Skip to content

Commit

Permalink
Add commands to fetch active and archived launchplans (#331)
Browse files Browse the repository at this point in the history
Issue: #2620
Slack conversation: https://flyte-org.slack.com/archives/CP2HDHKE1/p1655433353538459
* Add commands to fetch active and archived launchplans
* Removed 'with filters'
* Update based on comments

Signed-off-by: SmritiSatyanV <smriti@union.ai>
  • Loading branch information
SmritiSatyanV committed Jun 20, 2022
1 parent 4d78b8e commit 3e9525f
Show file tree
Hide file tree
Showing 62 changed files with 301 additions and 174 deletions.
10 changes: 10 additions & 0 deletions flytectl/cmd/get/launch_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ Retrieve all the launch plans with filters:
flytectl get launchplan -p flytesnacks -d development --filter.fieldSelector="name=core.basic.lp.go_greet"
Retrieve all active launch plans:
::
flytectl get launchplan -p flytesnacks -d development -o yaml --filter.fieldSelector "state=1"
Retrieve all archived launch plans:
::
flytectl get launchplan -p flytesnacks -d development -o yaml --filter.fieldSelector "state=0"
Retrieve launch plans entity search across all versions with filters:
::
Expand Down
1 change: 1 addition & 0 deletions flytectl/docs/source/contribute.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions flytectl/docs/source/gen/flytectl.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 104 additions & 0 deletions flytectl/docs/source/gen/flytectl_compile.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flytectl/docs/source/gen/flytectl_completion.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flytectl/docs/source/gen/flytectl_config.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flytectl/docs/source/gen/flytectl_config_discover.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions flytectl/docs/source/gen/flytectl_config_docs.rst

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3e9525f

Please sign in to comment.