Documentation
¶
Index ¶
- func ConfigureHTTPClientForEtcdBR(ctx context.Context, k8sClient client.Client, etcd *druidv1alpha1.Etcd, ...) (httpClient http.Client, httpScheme string, errResult *taskhandler.Result)
- func GetEtcd(ctx context.Context, k8sClient client.Client, ...) (etcd *druidv1alpha1.Etcd, errResult *taskhandler.Result)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureHTTPClientForEtcdBR ¶
func ConfigureHTTPClientForEtcdBR(ctx context.Context, k8sClient client.Client, etcd *druidv1alpha1.Etcd, defaultClient http.Client, phase druidapicommon.LastOperationType) (httpClient http.Client, httpScheme string, errResult *taskhandler.Result)
ConfigureHTTPClientForEtcdBR configures the HTTP client with TLS if backup TLS is enabled. It returns the configured HTTP client, the HTTP scheme to use, and any error result.
func GetEtcd ¶
func GetEtcd(ctx context.Context, k8sClient client.Client, etcdReference types.NamespacedName, phase druidapicommon.LastOperationType) (etcd *druidv1alpha1.Etcd, errResult *taskhandler.Result)
GetEtcd fetches the Etcd object with the given etcdReference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.