(cmd *cobra.Command, args []string)
| 72 | } |
| 73 | |
| 74 | func unpauseAction(cmd *cobra.Command, args []string) error { |
| 75 | globalOptions, err := helpers.ProcessRootCmdFlags(cmd) |
| 76 | if err != nil { |
| 77 | return err |
| 78 | } |
| 79 | |
| 80 | client, ctx, cancel, err := clientutil.NewClient(cmd.Context(), globalOptions.Namespace, globalOptions.Address) |
| 81 | if err != nil { |
| 82 | return err |
| 83 | } |
| 84 | defer cancel() |
| 85 | |
| 86 | options, err := getComposeOptions(cmd, globalOptions.DebugFull, globalOptions.Experimental) |
| 87 | if err != nil { |
| 88 | return err |
| 89 | } |
| 90 | c, err := compose.New(client, globalOptions, options, cmd.OutOrStdout(), cmd.ErrOrStderr()) |
| 91 | if err != nil { |
| 92 | return err |
| 93 | } |
| 94 | |
| 95 | return c.Unpause(ctx, args, cmd.OutOrStdout()) |
| 96 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…