Documentation ¶
Index ¶
- func FetchChart(netClient *HTTPClient, chartURL, authHeader string, load LoadChart) (*chart.Chart, error)
- func FetchRepoIndex(netClient *HTTPClient, repoURL string, authHeader string) (*repo.IndexFile, error)
- func FindChartInRepoIndex(repoIndex *repo.IndexFile, repoURL, chartName, chartVersion string) (string, error)
- type HTTPClient
- type LoadChart
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchChart ¶
func FetchChart(netClient *HTTPClient, chartURL, authHeader string, load LoadChart) (*chart.Chart, error)
FetchChart returns the Chart content given an URL and the auth header if needed
func FetchRepoIndex ¶
func FetchRepoIndex(netClient *HTTPClient, repoURL string, authHeader string) (*repo.IndexFile, error)
FetchRepoIndex returns a Helm repository
Types ¶
type HTTPClient ¶
HTTPClient Interface to perform HTTP requests
Click to show internal directories.
Click to hide internal directories.