All methods and functions which need to be overridden for dry run.
(ctx context.Context, container string, options client.ContainerAttachOptions)
| 90 | // All methods and functions which need to be overridden for dry run. |
| 91 | |
| 92 | func (d *DryRunClient) ContainerAttach(ctx context.Context, container string, options client.ContainerAttachOptions) (client.ContainerAttachResult, error) { |
| 93 | return client.ContainerAttachResult{}, errors.New("interactive run is not supported in dry-run mode") |
| 94 | } |
| 95 | |
| 96 | func (d *DryRunClient) ContainerCreate(ctx context.Context, options client.ContainerCreateOptions) (client.ContainerCreateResult, error) { |
| 97 | d.containers = append(d.containers, containerType.Summary{ |