Documentation ¶
Index ¶
- func CheckEquels(from_env *appsv1.StatefulSetSpec, from_crd *appsv1.StatefulSetSpec, ...) (int32, bool, error)
- func CreateAdditionalVolumes(ctx context.Context, k8sClient client.Client, namespace string, ...) (retVolumes []corev1.Volume, retVolumeMounts []corev1.VolumeMount, ...)
- func CreateClientForCluster(ctx context.Context, k8sClient client.Client, ...) (*services.OsClusterClient, error)
- func FetchOpensearchCluster(ctx context.Context, k8sClient client.Client, ref types.NamespacedName) (*opsterv1.OpenSearchCluster, error)
- func GetSha1Sum(data []byte) (string, error)
- func OpensearchClusterURL(cluster *opsterv1.OpenSearchCluster) string
- func ReadOrGenerateCaCert(pki tls.PKI, k8sClient client.Client, ctx context.Context, ...) (tls.Cert, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEquels ¶
func CheckEquels(from_env *appsv1.StatefulSetSpec, from_crd *appsv1.StatefulSetSpec, text string) (int32, bool, error)
func CreateAdditionalVolumes ¶
func CreateClientForCluster ¶
func CreateClientForCluster( ctx context.Context, k8sClient client.Client, cluster *opsterv1.OpenSearchCluster, transport http.RoundTripper, ) (*services.OsClusterClient, error)
func FetchOpensearchCluster ¶
func FetchOpensearchCluster( ctx context.Context, k8sClient client.Client, ref types.NamespacedName, ) (*opsterv1.OpenSearchCluster, error)
func GetSha1Sum ¶
Generates a checksum of binary data using the SHA1 algorithm.
func OpensearchClusterURL ¶
func OpensearchClusterURL(cluster *opsterv1.OpenSearchCluster) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.