Documentation
¶
Index ¶
Constants ¶
View Source
const ( PackageOptionsFile = "package.yaml" UpstreamOptionsFile = "upstream.yaml" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PackageYaml ¶
type PackageYaml struct { Commit string `json:"commit,omitempty"` PackageVersion int `json:"packageVersion,omitempty"` Path string `json:"-"` SubDirectory string `json:"subdirectory,omitempty"` Url string `json:"url"` Version string `json:"version,omitempty"` }
func (PackageYaml) Remove ¶ added in v0.0.2
func (packageYaml PackageYaml) Remove() error
func (PackageYaml) Write ¶ added in v0.0.2
func (packageYaml PackageYaml) Write(overWrite bool) error
type UpstreamYaml ¶
type UpstreamYaml struct { AHPackageName string `json:"ArtifactHubPackage"` AHRepoName string `json:"ArtifactHubRepo"` AutoInstall string `json:"AutoInstall"` ChartYaml chart.Metadata `json:"ChartMetadata"` DisplayName string `json:"DisplayName"` Experimental bool `json:"Experimental"` Fetch string `json:"Fetch"` GitBranch string `json:"GitBranch"` GitHubRelease bool `json:"GitHubRelease"` GitRepoUrl string `json:"GitRepo"` GitSubDirectory string `json:"GitSubdirectory"` HelmChart string `json:"HelmChart"` HelmRepoUrl string `json:"HelmRepo"` Hidden bool `json:"Hidden"` Namespace string `json:"Namespace"` PackageVersion int `json:"PackageVersion"` RemoteDependencies bool `json:"RemoteDependencies"` TrackVersions []string `json:"TrackVersions"` ReleaseName string `json:"ReleaseName"` Vendor string `json:"Vendor"` }
func ParseUpstreamYaml ¶
func ParseUpstreamYaml(packagePath string) (UpstreamYaml, error)
Click to show internal directories.
Click to hide internal directories.