(ctx context.Context, dockerCli command.Cli)
| 119 | } |
| 120 | |
| 121 | func inspectNetwork(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 122 | return func(ref string) (any, []byte, error) { |
| 123 | res, err := dockerCli.Client().NetworkInspect(ctx, ref, client.NetworkInspectOptions{}) |
| 124 | return res.Network, res.Raw, err |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | func inspectNode(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 129 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…