fetcher

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadChartFromGit

func LoadChartFromGit(url, subDirectory, commit string) (*chart.Chart, error)

func LoadChartFromUrl

func LoadChartFromUrl(url string) (*chart.Chart, error)

Types

type ArtifactHubApiHelm

type ArtifactHubApiHelm struct {
	ContentUrl string                 `json:"content_url"`
	Name       string                 `json:"name"`
	Repository ArtifactHubApiHelmRepo `json:"repository"`
}

type ArtifactHubApiHelmRepo

type ArtifactHubApiHelmRepo struct {
	OrgDisplayName string `json:"organization_display_name,omitempty"`
	OrgName        string `json:"organization_name,omitempty"`
	Url            string `json:"url"`
}

type ChartSourceMetadata

type ChartSourceMetadata struct {
	Commit       string
	Source       string
	SubDirectory string
	Versions     repo.ChartVersions
}

func FetchUpstream

func FetchUpstream(upstreamYaml parse.UpstreamYaml) (ChartSourceMetadata, error)

Jump to

Keyboard shortcuts

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