Method
Delete
(ctx context.Context, id string)
Source from the content-addressed store, hash-verified
| 142 | } |
| 143 | |
| 144 | func (r *remoteContainers) Delete(ctx context.Context, id string) error { |
| 145 | _, err := r.client.Delete(ctx, &containersapi.DeleteContainerRequest{ |
| 146 | ID: id, |
| 147 | }) |
| 148 | |
| 149 | return errgrpc.ToNative(err) |
| 150 | |
| 151 | } |
| 152 | |
| 153 | func containerToProto(container *containers.Container) *containersapi.Container { |
| 154 | extensions := make(map[string]*ptypes.Any) |
Callers
nothing calls this directly
Tested by
no test coverage detected