mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-08-19 04:16:27 +00:00
Add chart name, repo, version fields
This commit is contained in:
@@ -24,6 +24,10 @@ import (
|
||||
var _ artifact.OCI = (*Chart)(nil)
|
||||
|
||||
type Chart struct {
|
||||
Repo string
|
||||
Name string
|
||||
Version string
|
||||
|
||||
path string
|
||||
|
||||
annotations map[string]string
|
||||
@@ -41,7 +45,10 @@ func NewChart(name, repo, version string) (*Chart, error) {
|
||||
}
|
||||
|
||||
return &Chart{
|
||||
path: cp,
|
||||
Repo: repo,
|
||||
Name: name,
|
||||
Version: version,
|
||||
path: cp,
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user