Skip to content

Commit 3a3b068

Browse files
authored
chore: rename cmd delete_resource_with_version to purge for release-1.0 (#576)
1 parent f53a27f commit 3a3b068

File tree

8 files changed

+557
-325
lines changed

8 files changed

+557
-325
lines changed

docs/user_docs/cli/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ sidebar_position: 1
88

99
Addon command.
1010

11-
* [kbcli addon delete-resources-with-version](kbcli_addon_delete-resources-with-version.md) - Delete the sub-resources of specified addon and versions
1211
* [kbcli addon describe](kbcli_addon_describe.md) - Describe an addon specification.
1312
* [kbcli addon disable](kbcli_addon_disable.md) - Disable an addon.
1413
* [kbcli addon enable](kbcli_addon_enable.md) - Enable an addon.
1514
* [kbcli addon index](kbcli_addon_index.md) - Manage custom addon indexes
1615
* [kbcli addon install](kbcli_addon_install.md) - Install KubeBlocks addon
1716
* [kbcli addon list](kbcli_addon_list.md) - List addons.
17+
* [kbcli addon purge](kbcli_addon_purge.md) - Purge the sub-resources of specified addon and versions
1818
* [kbcli addon search](kbcli_addon_search.md) - Search the addon from index
1919
* [kbcli addon uninstall](kbcli_addon_uninstall.md) - Uninstall an existed addon
2020
* [kbcli addon upgrade](kbcli_addon_upgrade.md) - Upgrade an existed addon to latest version or a specified version

docs/user_docs/cli/kbcli_addon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ Addon command.
3737
### SEE ALSO
3838

3939

40-
* [kbcli addon delete-resources-with-version](kbcli_addon_delete-resources-with-version.md) - Delete the sub-resources of specified addon and versions
4140
* [kbcli addon describe](kbcli_addon_describe.md) - Describe an addon specification.
4241
* [kbcli addon disable](kbcli_addon_disable.md) - Disable an addon.
4342
* [kbcli addon enable](kbcli_addon_enable.md) - Enable an addon.
4443
* [kbcli addon index](kbcli_addon_index.md) - Manage custom addon indexes
4544
* [kbcli addon install](kbcli_addon_install.md) - Install KubeBlocks addon
4645
* [kbcli addon list](kbcli_addon_list.md) - List addons.
46+
* [kbcli addon purge](kbcli_addon_purge.md) - Purge the sub-resources of specified addon and versions
4747
* [kbcli addon search](kbcli_addon_search.md) - Search the addon from index
4848
* [kbcli addon uninstall](kbcli_addon_uninstall.md) - Uninstall an existed addon
4949
* [kbcli addon upgrade](kbcli_addon_upgrade.md) - Upgrade an existed addon to latest version or a specified version

pkg/cmd/addon/addon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func NewAddonCmd(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.C
127127
newInstallCmd(f, streams),
128128
newUninstallCmd(f, streams),
129129
newUpgradeCmd(f, streams),
130-
newDeleteResourcesCmd(f, streams),
130+
newPurgeResourcesCmd(f, streams),
131131
)
132132
return cmd
133133
}

pkg/cmd/addon/delete_resource.go

Lines changed: 0 additions & 287 deletions
This file was deleted.

0 commit comments

Comments
 (0)