feat: remove buntdb dep
This commit is contained in:
@@ -5,23 +5,19 @@ import (
|
||||
"flink-kube-operator/internal/crd/v1alpha1"
|
||||
|
||||
api "github.com/logi-camp/go-flink-client"
|
||||
"github.com/tidwall/buntdb"
|
||||
)
|
||||
|
||||
type ManagedJob struct {
|
||||
def v1alpha1.FlinkJob
|
||||
client *api.Client
|
||||
jarId string
|
||||
db *buntdb.DB
|
||||
state *jobState
|
||||
crd *crd.Crd
|
||||
}
|
||||
|
||||
func NewManagedJob(client *api.Client, db *buntdb.DB, def v1alpha1.FlinkJob, crd *crd.Crd) *ManagedJob {
|
||||
func NewManagedJob(client *api.Client, def v1alpha1.FlinkJob, crd *crd.Crd) *ManagedJob {
|
||||
job := &ManagedJob{
|
||||
def: def,
|
||||
client: client,
|
||||
db: db,
|
||||
crd: crd,
|
||||
}
|
||||
//job.startCycle()
|
||||
|
||||
Reference in New Issue
Block a user