Skip to content

Commit

Permalink
♻️ Fix proto
Browse files Browse the repository at this point in the history
Signed-off-by: vankichi <[email protected]>
  • Loading branch information
vankichi committed Dec 26, 2023
1 parent 8b392a3 commit c1e3521
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 908 deletions.
593 changes: 0 additions & 593 deletions apis/docs/v1/docs.md

Large diffs are not rendered by default.

87 changes: 0 additions & 87 deletions apis/grpc/v1/benchmark/benchmark.pb.go

This file was deleted.

132 changes: 0 additions & 132 deletions apis/grpc/v1/benchmark/benchmark_vtproto.pb.go

This file was deleted.

32 changes: 0 additions & 32 deletions apis/proto/v1/benchmark/benchmark.proto

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions pkg/tools/benchmark/job/handler/grpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,14 @@ package grpc
import (
"context"

"github.com/vdaas/vald/apis/grpc/v1/benchmark"
"github.com/vdaas/vald/pkg/tools/benchmark/job/service"
)

type Benchmark interface {
benchmark.JobServer
Start(context.Context)
}

type server struct {
benchmark.UnimplementedJobServer

job service.Job
}

Expand Down
8 changes: 1 addition & 7 deletions pkg/tools/benchmark/job/handler/rest/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@
// Package rest provides rest api logic
package rest

import (
"github.com/vdaas/vald/apis/grpc/v1/benchmark"
)

type Handler interface{}

type handler struct {
benchmark.JobServer
}
type handler struct {}

func New(opts ...Option) Handler {
h := new(handler)
Expand Down
3 changes: 0 additions & 3 deletions pkg/tools/benchmark/operator/handler/grpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,14 @@ package grpc
import (
"context"

"github.com/vdaas/vald/apis/grpc/v1/benchmark"
"github.com/vdaas/vald/pkg/tools/benchmark/operator/service"
)

type Benchmark interface {
benchmark.JobServer
Start(context.Context)
}

type server struct {
benchmark.UnimplementedJobServer
service.Operator
}

Expand Down
5 changes: 0 additions & 5 deletions pkg/tools/benchmark/operator/handler/rest/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,9 @@
// Package rest provides rest api logic
package rest

import (
"github.com/vdaas/vald/apis/grpc/v1/benchmark"
)

type Handler interface{}

type handler struct {
benchmark.JobServer
}

func New(opts ...Option) Handler {
Expand Down

0 comments on commit c1e3521

Please sign in to comment.