Documentation ¶
Index ¶
- Constants
- func GetEnvVars(cr *bigdatav1alpha1.Superset) []corev1.EnvVar
- func GetImage(cr *bigdatav1alpha1.Superset) string
- func GetImageVersion(cr *bigdatav1alpha1.Superset) string
- func GetMasterSize(cr *bigdatav1alpha1.Superset) int32
- func GetVolume() []corev1.Volume
- func GetVolumeMount() []corev1.VolumeMount
- func GetWorkerSize(cr *bigdatav1alpha1.Superset) int32
- func LabelsForSuperset(cr *bigdatav1alpha1.Superset, app string) map[string]string
Constants ¶
View Source
const ( MemoryRequest = "1G" CpuRequest = "2" DefaultUser = "admin" DefaultPass = "admin" DefaultFirstname = "Superset" DefaultLastname = "Admin" DefaultEmail = "admin@superset.com" )
Variables ¶
This section is empty.
Functions ¶
func GetEnvVars ¶
func GetEnvVars(cr *bigdatav1alpha1.Superset) []corev1.EnvVar
func GetImage ¶
func GetImage(cr *bigdatav1alpha1.Superset) string
func GetImageVersion ¶
func GetImageVersion(cr *bigdatav1alpha1.Superset) string
func GetMasterSize ¶
func GetMasterSize(cr *bigdatav1alpha1.Superset) int32
func GetVolumeMount ¶
func GetVolumeMount() []corev1.VolumeMount
func GetWorkerSize ¶
func GetWorkerSize(cr *bigdatav1alpha1.Superset) int32
func LabelsForSuperset ¶
func LabelsForSuperset(cr *bigdatav1alpha1.Superset, app string) map[string]string
labelsForSuperset returns the labels for selecting the resources More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.