refactor: rename ProvidersInterface to ProvidersResolver

Signed-off-by: Jesse Simpson <jesse.simpson36@gmail.com>
pull/30807/head
Jesse Simpson 5 months ago
parent ef0dafb720
commit 7a5529df1c
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.
type Providers []Provider
type ProvidersInterface interface {
type ProvidersResolver interface {
ByScheme(scheme string) (Pusher, error)
}

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

Loading…
Cancel
Save