Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EFS embed.FS
Functions ¶
func Render ¶
func Render(name string, data *Data) ([]*unstructured.Unstructured, error)
Types ¶
type App ¶
type App struct { Name string Commit string GitRef string Registry string ImagePullSecret string Resources *corev1.ResourceRequirements NodeSelector *corev1.NodeSelector Tolerations []*corev1.Toleration Affinity *corev1.Affinity LogLevel string LogFormat string }
type Component ¶
type Component struct { Name string Commit string GitRef string Image string ImagePullPolicy string Resources *corev1.ResourceRequirements NodeSelector *corev1.NodeSelector Tolerations []*corev1.Toleration Affinity *corev1.Affinity LogLevel string LogFormat string }
type Data ¶
type Data struct { Instance Instance Platform Platform App App Component Component ExtraLabels map[string]string Owner []*metav1.OwnerReference Values map[string]any }
func (Data) ComponentFullName ¶
func (Data) PlatformFullName ¶
func (Data) PlatformVaultName ¶
type ResourceList ¶
type ResourceList struct {
Items []*unstructured.Unstructured `json:"items,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.