mirror of
https://github.com/hauler-dev/hauler.git
synced 2026-02-14 09:59:50 +00:00
* removed k3s code * standardize and formatted consts * fixed consts for sync.go * trying another fix for sync --------- 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"`
|
|
}
|