Documentation ¶
Index ¶
- type Client
- type KubeDBClientBuilder
- func (o *KubeDBClientBuilder) GetZooKeeperClient() (*Client, error)
- func (o *KubeDBClientBuilder) WithAMQPClientDisabled() *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithHTTPClientEnabled() *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeDBClientBuilder ¶
type KubeDBClientBuilder struct {
// contains filtered or unexported fields
}
func NewKubeDBClientBuilder ¶
func NewKubeDBClientBuilder(kc client.Client, db *dbapi.ZooKeeper) *KubeDBClientBuilder
func NewKubeDBClientBuilderForHTTP ¶ added in v0.3.0
func NewKubeDBClientBuilderForHTTP(kc client.Client, db *dbapi.ZooKeeper) *KubeDBClientBuilder
NewKubeDBClientBuilderForHTTP returns a KubeDB client builder only for http client
func (*KubeDBClientBuilder) GetZooKeeperClient ¶
func (o *KubeDBClientBuilder) GetZooKeeperClient() (*Client, error)
func (*KubeDBClientBuilder) WithAMQPClientDisabled ¶ added in v0.3.0
func (o *KubeDBClientBuilder) WithAMQPClientDisabled() *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithContext ¶ added in v0.3.0
func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithHTTPClientEnabled ¶ added in v0.3.0
func (o *KubeDBClientBuilder) WithHTTPClientEnabled() *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPod ¶
func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithURL ¶
func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
Click to show internal directories.
Click to hide internal directories.