Skip to content

add get all table constraints method to sql_manager #62

add get all table constraints method to sql_manager

add get all table constraints method to sql_manager #62

Triggered via pull request May 28, 2024 16:34
Status Failure
Total duration 2m 23s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

19 errors
test: backend/internal/cmds/mgmt/serve/connect/cmd.go#L335
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to mgmtv1alpha1connect.NewJobServiceHandler: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
test: backend/internal/cmds/mgmt/serve/connect/cmd.go#L357
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_connectiondataservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
test: backend/internal/cmds/mgmt/serve/connect/cmd.go#L365
cannot use connectionDataService (variable of type *v1alpha1_connectiondataservice.Service) as mgmtv1alpha1connect.ConnectionDataServiceHandler value in argument to mgmtv1alpha1connect.NewConnectionDataServiceHandler: *v1alpha1_connectiondataservice.Service does not implement mgmtv1alpha1connect.ConnectionDataServiceHandler (missing method GetConnectionTableConstraints)
test: backend/internal/cmds/mgmt/serve/connect/cmd.go#L388
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_metricsservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
test
cannot use mockJobService (variable of type *mgmtv1alpha1connect.MockJobServiceHandler) as mgmtv1alpha1connect.JobServiceHandler value in argument to New: *mgmtv1alpha1connect.MockJobServiceHandler does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
test
cannot use mockJobService (variable of type *mgmtv1alpha1connect.MockJobServiceHandler) as mgmtv1alpha1connect.JobServiceHandler value in argument to New: *mgmtv1alpha1connect.MockJobServiceHandler does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
test
cannot use mockSqlDb (variable of type *sqlmanager.MockSqlDatabase) as sqlmanager.SqlDatabase value in struct literal: *sqlmanager.MockSqlDatabase does not implement sqlmanager.SqlDatabase (missing method GetTableConstraintsBySchema)
test
cannot use mockJobClient (variable of type *mgmtv1alpha1connect.MockJobServiceClient) as mgmtv1alpha1connect.JobServiceClient value in argument to newBenthosBuilder: *mgmtv1alpha1connect.MockJobServiceClient does not implement mgmtv1alpha1connect.JobServiceClient (missing method ValidateJobMappings)
test
Process completed with exit code 1.
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L335
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to mgmtv1alpha1connect.NewJobServiceHandler: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L357
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_connectiondataservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L365
cannot use connectionDataService (variable of type *v1alpha1_connectiondataservice.Service) as mgmtv1alpha1connect.ConnectionDataServiceHandler value in argument to mgmtv1alpha1connect.NewConnectionDataServiceHandler: *v1alpha1_connectiondataservice.Service does not implement mgmtv1alpha1connect.ConnectionDataServiceHandler (missing method GetConnectionTableConstraints)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L388
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_metricsservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings) (typecheck)
golang-lint: backend/internal/cmds/mgmt/serve/serve.go#L4
could not import github.com/nucleuscloud/neosync/backend/internal/cmds/mgmt/serve/connect (-: # github.com/nucleuscloud/neosync/backend/internal/cmds/mgmt/serve/connect
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L335
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to mgmtv1alpha1connect.NewJobServiceHandler: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L357
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_connectiondataservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L365
cannot use connectionDataService (variable of type *v1alpha1_connectiondataservice.Service) as mgmtv1alpha1connect.ConnectionDataServiceHandler value in argument to mgmtv1alpha1connect.NewConnectionDataServiceHandler: *v1alpha1_connectiondataservice.Service does not implement mgmtv1alpha1connect.ConnectionDataServiceHandler (missing method GetConnectionTableConstraints)
golang-lint: backend/internal/cmds/mgmt/serve/connect/cmd.go#L388
cannot use jobService (variable of type *v1alpha1_jobservice.Service) as mgmtv1alpha1connect.JobServiceHandler value in argument to v1alpha1_metricsservice.New: *v1alpha1_jobservice.Service does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings)) (typecheck)
golang-lint: backend/services/mgmt/v1alpha1/connection-data-service/connection-data_test.go#L726
cannot use mockJobService (variable of type *mgmtv1alpha1connect.MockJobServiceHandler) as mgmtv1alpha1connect.JobServiceHandler value in argument to New: *mgmtv1alpha1connect.MockJobServiceHandler does not implement mgmtv1alpha1connect.JobServiceHandler (missing method ValidateJobMappings) (typecheck)