Documentation ¶
Index ¶
- func ContainerMatchLabels(t *miniov1.Tenant, pool *miniov1.Pool) *metav1.LabelSelector
- func GetContainerArgs(t *miniov1.Tenant, hostsTemplate string) []string
- func KESEnvironmentVars(t *miniov1.Tenant) []corev1.EnvVar
- func KESMetadata(t *miniov1.Tenant) metav1.ObjectMeta
- func KESSelector(t *miniov1.Tenant) *metav1.LabelSelector
- func KESServerContainer(t *miniov1.Tenant) corev1.Container
- func KESVolumeMounts(t *miniov1.Tenant) []corev1.VolumeMount
- func NewForKES(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
- func NewForLogDb(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
- func NewForMinIOPool(t *miniov1.Tenant, wsSecret *v1.Secret, pool *miniov1.Pool, serviceName string, ...) *appsv1.StatefulSet
- func NewForPrometheus(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerMatchLabels ¶
ContainerMatchLabels Returns the labels that match the Pods in the statefulset
func GetContainerArgs ¶
GetContainerArgs returns the arguments that the MinIO container receives
func KESEnvironmentVars ¶
KESEnvironmentVars returns the KES environment variables set in configuration.
func KESMetadata ¶
func KESMetadata(t *miniov1.Tenant) metav1.ObjectMeta
KESMetadata Returns the KES pods metadata set in configuration. If a user specifies metadata in the spec we return that metadata.
func KESSelector ¶
func KESSelector(t *miniov1.Tenant) *metav1.LabelSelector
KESSelector Returns the KES pods selector set in configuration.
func KESServerContainer ¶
KESServerContainer returns the KES container for a KES StatefulSet.
func KESVolumeMounts ¶
func KESVolumeMounts(t *miniov1.Tenant) []corev1.VolumeMount
KESVolumeMounts builds the volume mounts for MinIO container.
func NewForKES ¶
func NewForKES(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
NewForKES creates a new KES StatefulSet for the given Cluster.
func NewForLogDb ¶ added in v0.4.0
func NewForLogDb(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
NewForLogDb creates a new Log StatefulSet for Log feature
func NewForMinIOPool ¶ added in v0.4.0
func NewForMinIOPool(t *miniov1.Tenant, wsSecret *v1.Secret, pool *miniov1.Pool, serviceName string, hostsTemplate, operatorVersion string) *appsv1.StatefulSet
NewForMinIOPool creates a new StatefulSet for the given Cluster.
func NewForPrometheus ¶ added in v0.4.0
func NewForPrometheus(t *miniov1.Tenant, serviceName string) *appsv1.StatefulSet
NewForPrometheus creates a new Prometheus StatefulSet for prometheus metrics
Types ¶
This section is empty.