Documentation
¶
Index ¶
- func ApplyAuthConfiguration(deployment *appsv1.Deployment, config *operatorv1alpha1.AuthSpec) *appsv1.Deployment
- 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 ApplyFrontProxyAuthConfiguration(deployment *appsv1.Deployment, config *operatorv1alpha1.AuthSpec, ...) *appsv1.Deployment
- func ApplyResources(container corev1.Container, resources *corev1.ResourceRequirements) corev1.Container
- func ApplyServiceTemplate(svc *corev1.Service, tpl *operatorv1alpha1.ServiceTemplate) *corev1.Service
- func GetLoggingArgs(spec *operatorv1alpha1.LoggingSpec) []string
- func GetRootShardBatteries(rootShard *operatorv1alpha1.RootShard) []string
- func GetShardBatteries(shard *operatorv1alpha1.Shard) []string
- func MergeCABundles(caSecret, caBundle *corev1.Secret) ([]byte, error)
- func MergeCABundlesFiles(caFile1, caFile2 string) ([]byte, error)
- func ValidatePEMCertificate(data []byte) error
- type SecretMount
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 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 ApplyFrontProxyAuthConfiguration ¶ added in v0.2.0
func ApplyFrontProxyAuthConfiguration(deployment *appsv1.Deployment, config *operatorv1alpha1.AuthSpec, rootShard *operatorv1alpha1.RootShard) *appsv1.Deployment
func ApplyResources ¶
func ApplyServiceTemplate ¶
func ApplyServiceTemplate(svc *corev1.Service, tpl *operatorv1alpha1.ServiceTemplate) *corev1.Service
func GetLoggingArgs ¶ added in v0.3.0
func GetLoggingArgs(spec *operatorv1alpha1.LoggingSpec) []string
GetLoggingArgs returns the command line arguments for logging configuration.
func GetRootShardBatteries ¶
func GetRootShardBatteries(rootShard *operatorv1alpha1.RootShard) []string
func GetShardBatteries ¶
func GetShardBatteries(shard *operatorv1alpha1.Shard) []string
func MergeCABundles ¶ added in v0.3.0
MergeCABundles merges the CA certificate data from two secrets.
func MergeCABundlesFiles ¶ added in v0.3.0
MergeCABundlesFiles merges the CA certificate data from two files.
func ValidatePEMCertificate ¶ added in v0.3.0
ValidatePEMCertificate validates that the given data contains valid PEM-encoded certificates.
Types ¶
type SecretMount ¶
func (SecretMount) Build ¶
func (sm SecretMount) Build() (corev1.Volume, corev1.VolumeMount)
Click to show internal directories.
Click to hide internal directories.