Documentation
¶
Index ¶
- func ApplyCertificateTemplate(cert *certmanagerv1.Certificate, tpl *operatorv1alpha1.CertificateTemplate) *certmanagerv1.Certificate
- func ApplyCommonShardConfig(deployment *appsv1.Deployment, spec *operatorv1alpha1.CommonShardSpec) *appsv1.Deployment
- func ApplyDeploymentTemplate(dep *appsv1.Deployment, tpl *operatorv1alpha1.DeploymentTemplate) *appsv1.Deployment
- func ApplyResources(container corev1.Container, resources *corev1.ResourceRequirements) corev1.Container
- func ApplyServiceTemplate(svc *corev1.Service, tpl *operatorv1alpha1.ServiceTemplate) *corev1.Service
- func GetRootShardBatteries(rootShard *operatorv1alpha1.RootShard) []string
- func GetShardBatteries(shard *operatorv1alpha1.Shard) []string
- type SecretMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyCertificateTemplate ¶
func ApplyCertificateTemplate(cert *certmanagerv1.Certificate, tpl *operatorv1alpha1.CertificateTemplate) *certmanagerv1.Certificate
func ApplyCommonShardConfig ¶
func ApplyCommonShardConfig(deployment *appsv1.Deployment, spec *operatorv1alpha1.CommonShardSpec) *appsv1.Deployment
func ApplyDeploymentTemplate ¶
func ApplyDeploymentTemplate(dep *appsv1.Deployment, tpl *operatorv1alpha1.DeploymentTemplate) *appsv1.Deployment
func ApplyResources ¶
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 ¶
func (SecretMount) Build ¶
func (sm SecretMount) Build() (corev1.Volume, corev1.VolumeMount)
Click to show internal directories.
Click to hide internal directories.