(ctx context.Context, dockerCli command.Cli)
| 162 | } |
| 163 | |
| 164 | func inspectSecret(ctx context.Context, dockerCli command.Cli) inspect.GetRefFunc { |
| 165 | return func(ref string) (any, []byte, error) { |
| 166 | res, err := dockerCli.Client().SecretInspect(ctx, ref, client.SecretInspectOptions{}) |
| 167 | return res.Secret, res.Raw, err |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | func inspectConfig(ctx context.Context, dockerCLI command.Cli) inspect.GetRefFunc { |
| 172 | return func(ref string) (any, []byte, error) { |
no test coverage detected
searching dependent graphs…