Skip to content

Commit

Permalink
Update cassandra/kubedb_client_builder
Browse files Browse the repository at this point in the history
Signed-off-by: Sabbir <[email protected]>
  • Loading branch information
sabbir-hossain70 committed Aug 21, 2024
1 parent 224065d commit fd1a768
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cassandra/kubedb_client_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ package cassandra
import (
"context"
"fmt"

"strconv"

"github.com/gocql/gocql"
api "kubedb.dev/apimachinery/apis/kubedb/v1alpha2"
"sigs.k8s.io/controller-runtime/pkg/client"
"strconv"
)

type KubeDBClientBuilder struct {
kc client.Client
db *api.Cassandra
url string
podName string
port *int
ctx context.Context
kc client.Client
db *api.Cassandra
url string
port *int
ctx context.Context
}

func NewKubeDBClientBuilder(kc client.Client, db *api.Cassandra) *KubeDBClientBuilder {
Expand Down

0 comments on commit fd1a768

Please sign in to comment.