File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,25 +98,30 @@ type ResolverOptions struct {
9898 Tracker StatusTracker
9999
100100 // Authorizer is used to authorize registry requests
101- // Deprecated: use Hosts
101+ //
102+ // Deprecated: use Hosts.
102103 Authorizer Authorizer
103104
104105 // Credentials provides username and secret given a host.
105106 // If username is empty but a secret is given, that secret
106107 // is interpreted as a long lived token.
107- // Deprecated: use Hosts
108+ //
109+ // Deprecated: use Hosts.
108110 Credentials func (string ) (string , string , error )
109111
110112 // Host provides the hostname given a namespace.
111- // Deprecated: use Hosts
113+ //
114+ // Deprecated: use Hosts.
112115 Host func (string ) (string , error )
113116
114117 // PlainHTTP specifies to use plain http and not https
115- // Deprecated: use Hosts
118+ //
119+ // Deprecated: use Hosts.
116120 PlainHTTP bool
117121
118122 // Client is the http client to used when making registry requests
119- // Deprecated: use Hosts
123+ //
124+ // Deprecated: use Hosts.
120125 Client * http.Client
121126}
122127
You can’t perform that action at this time.
0 commit comments