Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector interface {
// MatchesVersion returns a boolean value indicating whether or not the
// Selector would consider a chart with the specified semantic version
// eligible for selection.
MatchesVersion(string) bool
// Select selects charts from a Helm chart repository.
Select(context.Context) ([]string, error)
}
Selector is an interface for selecting chart versions from a Helm chart repository.
func NewSelector ¶
func NewSelector( sub kargoapi.ChartSubscription, creds *helm.Credentials, ) (Selector, error)
NewSelector returns some implementation of the Selector interface that selects chart versions from a Helm chart repository based on the provided subscription.
Click to show internal directories.
Click to hide internal directories.