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>
27 lines
562 B
Go
27 lines
562 B
Go
package v1alpha1
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
)
|
|
|
|
type ImageTxts struct {
|
|
*metav1.TypeMeta `json:",inline"`
|
|
metav1.ObjectMeta `json:"metadata,omitempty"`
|
|
|
|
Spec ImageTxtsSpec `json:"spec,omitempty"`
|
|
}
|
|
|
|
type ImageTxtsSpec struct {
|
|
ImageTxts []ImageTxt `json:"imageTxts,omitempty"`
|
|
}
|
|
|
|
type ImageTxt struct {
|
|
Ref string `json:"ref,omitempty"`
|
|
Sources ImageTxtSources `json:"sources,omitempty"`
|
|
}
|
|
|
|
type ImageTxtSources struct {
|
|
Include []string `json:"include,omitempty"`
|
|
Exclude []string `json:"exclude,omitempty"`
|
|
}
|