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 certFile string
keyFile string keyFile string
caFile string caFile string
unTar bool
insecureSkipVerifyTLS bool insecureSkipVerifyTLS bool
username string username string
password 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. // WithTransport sets the http.Transport to allow overwriting the HTTPGetter default.
func WithTransport(transport *http.Transport) Option { func WithTransport(transport *http.Transport) Option {
return func(opts *options) { return func(opts *options) {

Loading…
Cancel
Save