Documentation ¶
Index ¶
- func GetConnectionURL(restproxy *kapi.RestProxy) string
- type Client
- type Config
- type KubeDBClientBuilder
- func (o *KubeDBClientBuilder) GetRestProxyClient() (*Client, error)
- func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPath(path string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
- func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
- type Response
- type ResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionURL ¶
Types ¶
type Client ¶
type Client struct { *resty.Client Config *Config }
func (*Client) GetKafkaBrokerList ¶
type KubeDBClientBuilder ¶
type KubeDBClientBuilder struct {
// contains filtered or unexported fields
}
func NewKubeDBClientBuilder ¶
func NewKubeDBClientBuilder(kc client.Client, restproxy *kapi.RestProxy) *KubeDBClientBuilder
func (*KubeDBClientBuilder) GetRestProxyClient ¶
func (o *KubeDBClientBuilder) GetRestProxyClient() (*Client, error)
func (*KubeDBClientBuilder) WithContext ¶
func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPath ¶
func (o *KubeDBClientBuilder) WithPath(path string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPod ¶
func (o *KubeDBClientBuilder) WithPod(podName string) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithURL ¶
func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
type ResponseBody ¶
type ResponseBody struct {
Brokers []int `json:"brokers"`
}
Click to show internal directories.
Click to hide internal directories.