Discover Packages
github.com/loft-sh/cluster-api-provider-vcluster
pkg
helm
repository
package
Version:
v0.2.0-beta.1
Opens a new window with list of versions in this module.
Published: Aug 9, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func Get(ctx context.Context, client *http.Client, url, username, password string) ([]byte, error)
func ParseReadmeValues(ctx context.Context, helmChart *helm.Chart) (string, string, error)
func ParseRepository(ctx context.Context, repository *Definition) ([]helm.Chart, error)
type Definition
type Entries
type Definition struct {
Name string `json:"name,omitempty"`
URL string `json:"url,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
Insecure bool `json:"insecure,omitempty"`
}
Definition defines a named repository
type Entries struct {
APIVersion string `json:"apiVersion,omitempty"`
Entries map[string ][]*helm .Metadata `json:"entries,omitempty"`
}
Entries describes the entries of an helm chart repository
Source Files
¶
Click to show internal directories.
Click to hide internal directories.