mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-02-14 09:59:50 +00:00
* added/fixed helm chart images/dependencies features * added helm chart images/dependencies features to sync/manifests * more fixes for helm chart images/dependencies features * fixed tests for incorrect referenced images * fixed sync for helm chart images/dependencies * added helm chart image annotations and registry/platform features * updated ordering of experimental * added more parsing types for helm images/dependencies * a few more remove artifacts updates --------- Signed-off-by: Zack Brady <zackbrady123@gmail.com>
43 lines
863 B
Go
43 lines
863 B
Go
package v1alpha1
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
)
|
|
|
|
type Charts struct {
|
|
*metav1.TypeMeta `json:",inline"`
|
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
|
|
|
Spec ChartSpec `json:"spec,omitempty"`
|
|
}
|
|
|
|
type ChartSpec struct {
|
|
Charts []Chart `json:"charts,omitempty"`
|
|
}
|
|
|
|
type Chart struct {
|
|
Name string `json:"name,omitempty"`
|
|
RepoURL string `json:"repoURL,omitempty"`
|
|
Version string `json:"version,omitempty"`
|
|
}
|
|
|
|
type ThickCharts struct {
|
|
*metav1.TypeMeta `json:",inline"`
|
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
|
|
|
Spec ThickChartSpec `json:"spec,omitempty"`
|
|
}
|
|
|
|
type ThickChartSpec struct {
|
|
Charts []ThickChart `json:"charts,omitempty"`
|
|
}
|
|
|
|
type ThickChart struct {
|
|
Chart `json:",inline,omitempty"`
|
|
ExtraImages []ChartImage `json:"extraImages,omitempty"`
|
|
}
|
|
|
|
type ChartImage struct {
|
|
Reference string `json:"ref"`
|
|
}
|