Help us shape the future of Go! Take the 2026 Go Developer Survey

chart

package
v1.8.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL