utils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: Apache-2.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAuthConfiguration added in v0.2.0

func ApplyAuthConfiguration(deployment *appsv1.Deployment, config *operatorv1alpha1.AuthSpec) *appsv1.Deployment

func ApplyCommonShardConfig

func ApplyCommonShardConfig(deployment *appsv1.Deployment, spec *operatorv1alpha1.CommonShardSpec) *appsv1.Deployment

func ApplyFrontProxyAuthConfiguration added in v0.2.0

func ApplyFrontProxyAuthConfiguration(deployment *appsv1.Deployment, config *operatorv1alpha1.AuthSpec, rootShard *operatorv1alpha1.RootShard) *appsv1.Deployment

func ApplyResources

func ApplyResources(container corev1.Container, resources *corev1.ResourceRequirements) corev1.Container

func ApplyServiceTemplate

func ApplyServiceTemplate(svc *corev1.Service, tpl *operatorv1alpha1.ServiceTemplate) *corev1.Service

func GetRootShardBatteries

func GetRootShardBatteries(rootShard *operatorv1alpha1.RootShard) []string

func GetShardBatteries

func GetShardBatteries(shard *operatorv1alpha1.Shard) []string

Types

type SecretMount

type SecretMount struct {
	VolumeName string
	SecretName string
	MountPath  string
}

func (SecretMount) Build

func (sm SecretMount) Build() (corev1.Volume, corev1.VolumeMount)

Jump to

Keyboard shortcuts

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