chore: remove unuse untar option

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
pull/12202/head
Abirdcfly 2 years ago
parent 14d363669f
commit 2562ffbccf
No known key found for this signature in database
GPG Key ID: A4EA876831B0458B

@ -35,7 +35,6 @@ type options struct {
certFile string
keyFile string
caFile string
unTar bool
insecureSkipVerifyTLS bool
username string
password string
@ -115,12 +114,6 @@ func WithRegistryClient(client *registry.Client) Option {
}
}
func WithUntar() Option {
return func(opts *options) {
opts.unTar = true
}
}
// WithTransport sets the http.Transport to allow overwriting the HTTPGetter default.
func WithTransport(transport *http.Transport) Option {
return func(opts *options) {

Loading…
Cancel
Save