refactor: rename ProvidersInterface to ProvidersResolver

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
Jesse Simpson 5 months ago
parent 4c1884d973
commit efde302ec5
No known key found for this signature in database
GPG Key ID: 237495C89AB0AAFC

@ -93,7 +93,7 @@ func (p Provider) Provides(scheme string) bool {
// Providers is a collection of Provider objects. // Providers is a collection of Provider objects.
type Providers []Provider type Providers []Provider
type ProvidersInterface interface { type ProvidersResolver interface {
ByScheme(scheme string) (Pusher, error) ByScheme(scheme string) (Pusher, error)
} }

@ -29,7 +29,7 @@ type ChartUploader struct {
// Out is the location to write warning and info messages. // Out is the location to write warning and info messages.
Out io.Writer Out io.Writer
// Pusher collection for the operation // Pusher collection for the operation
Pushers pusher.ProvidersInterface Pushers pusher.ProvidersResolver
// Options provide parameters to be passed along to the Pusher being initialized. // Options provide parameters to be passed along to the Pusher being initialized.
Options []pusher.Option Options []pusher.Option
// RegistryClient is a client for interacting with registries. // RegistryClient is a client for interacting with registries.

Loading…
Cancel
Save