(ctx context.Context, dockerCli command.Cli)
| 126 | } |
| 127 | |
| 128 | func inspectNode(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 129 | return func(ref string) (any, []byte, error) { |
| 130 | res, err := dockerCli.Client().NodeInspect(ctx, ref, client.NodeInspectOptions{}) |
| 131 | return res.Node, res.Raw, err |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | func inspectService(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 136 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…