Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadFromFile ¶
LoadFromFile parses an index from a file
Types ¶
type Entry ¶
type Entry struct {
Version string `yaml:"version"`
}
Entry is for deserializing chart entries in a Helm repo index.yaml
type Index ¶
type Index interface { // Versions returns a list of all published versions of the chart Versions(chartName string) []string // HasVersion returns true if the index contains the given version for the given chart HasVersion(chartName string, version string) bool // MostRecentVersion returns the most recent / highest semantic version of the chart in the index MostRecentVersion(chartName string) string }
Index represents a Helm repo's index.yaml
type MockIndex ¶
func NewMockIndex ¶
func NewMockIndex() *MockIndex
func (*MockIndex) HasVersion ¶
func (*MockIndex) MostRecentVersion ¶
Click to show internal directories.
Click to hide internal directories.