Documentation ¶
Index ¶
- type Client
- func (c *Client) CheckDbReadWrite() error
- func (c *Client) CloseCassandraClient()
- func (c *Client) CreateKeyspace() error
- func (c *Client) CreateTable() error
- func (c *Client) PingCassandra() error
- func (c *Client) QueryData(name string) error
- func (c *Client) UpdateData(name string, product string) error
- type KubeDBClientBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CheckDbReadWrite ¶
func (*Client) CloseCassandraClient ¶
func (c *Client) CloseCassandraClient()
func (*Client) CreateKeyspace ¶
CreateKeyspace creates a keyspace
func (*Client) PingCassandra ¶
type KubeDBClientBuilder ¶
type KubeDBClientBuilder struct {
// contains filtered or unexported fields
}
func NewKubeDBClientBuilder ¶
func NewKubeDBClientBuilder(kc client.Client, db *api.Cassandra) *KubeDBClientBuilder
func (*KubeDBClientBuilder) GetCassandraClient ¶
func (o *KubeDBClientBuilder) GetCassandraClient() (*Client, error)
func (*KubeDBClientBuilder) WithContext ¶
func (o *KubeDBClientBuilder) WithContext(ctx context.Context) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithPort ¶
func (o *KubeDBClientBuilder) WithPort(port *int) *KubeDBClientBuilder
func (*KubeDBClientBuilder) WithURL ¶
func (o *KubeDBClientBuilder) WithURL(url string) *KubeDBClientBuilder
Click to show internal directories.
Click to hide internal directories.