WithPushOptWriter sets the registryOut field on the push configuration object.
(out io.Writer)
| 75 | |
| 76 | // WithPushOptWriter sets the registryOut field on the push configuration object. |
| 77 | func WithPushOptWriter(out io.Writer) PushOpt { |
| 78 | return func(p *Push) { |
| 79 | p.out = out |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | // NewPushWithOpts creates a new push, with configuration options. |
| 84 | func NewPushWithOpts(opts ...PushOpt) *Push { |
no outgoing calls
searching dependent graphs…