1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Add examples for resuming/suspending multiple objects

Signed-off-by: Rishikesh Nair <alienware505@gmail.com>
This commit is contained in:
Rishikesh Nair
2023-06-29 12:50:38 +05:30
parent 42607aadc3
commit 3580d4ff85
22 changed files with 88 additions and 22 deletions

View File

@@ -27,7 +27,10 @@ var suspendReceiverCmd = &cobra.Command{
Short: "Suspend reconciliation of Receiver",
Long: `The suspend command disables the reconciliation of a Receiver resource.`,
Example: ` # Suspend reconciliation for an existing Receiver
flux suspend receiver main`,
flux suspend receiver main
# Suspend reconciliation for multiple Receivers
flux suspend receiver main-1 main-2`,
ValidArgsFunction: resourceNamesCompletionFunc(notificationv1.GroupVersion.WithKind(notificationv1.ReceiverKind)),
RunE: suspendCommand{
apiType: receiverType,