Documentation ¶
Index ¶
- func GenerateConfigMap(namespace, name string, kind v1alpha1.ComponentKind, configData []byte) (*corev1.ConfigMap, error)
- func GeneratePodMonitor(namespace, name string, kind v1alpha1.ComponentKind, ...) (*monitoringv1.PodMonitor, error)
- func GeneratePodTemplateSpec(kind v1alpha1.ComponentKind, template *v1alpha1.PodTemplateSpec) *corev1.PodTemplateSpec
- func MountConfigDir(name string, kind v1alpha1.ComponentKind, template *corev1.PodTemplateSpec)
- func ResourceName(name string, componentKind v1alpha1.ComponentKind) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateConfigMap ¶
func GeneratePodMonitor ¶
func GeneratePodMonitor(namespace, name string, kind v1alpha1.ComponentKind, promSpec *v1alpha1.PrometheusMonitorSpec) (*monitoringv1.PodMonitor, error)
func GeneratePodTemplateSpec ¶
func GeneratePodTemplateSpec(kind v1alpha1.ComponentKind, template *v1alpha1.PodTemplateSpec) *corev1.PodTemplateSpec
func MountConfigDir ¶
func MountConfigDir(name string, kind v1alpha1.ComponentKind, template *corev1.PodTemplateSpec)
func ResourceName ¶
func ResourceName(name string, componentKind v1alpha1.ComponentKind) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.