util

package
v0.0.0-...-51fbfae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 GetVolume

func GetVolume() []corev1.Volume

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL