forked from bblfsh/bblfshd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.proteus.go
37 lines (34 loc) · 1.22 KB
/
server.proteus.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package protocol
import (
xcontext "golang.org/x/net/context"
)
type protocolServiceServer struct {
}
func NewProtocolServiceServer() *protocolServiceServer {
return &protocolServiceServer{}
}
func (s *protocolServiceServer) DriverInstanceStates(ctx xcontext.Context, in *DriverInstanceStatesRequest) (result *DriverInstanceStatesResponse, err error) {
result = new(DriverInstanceStatesResponse)
result = DriverInstanceStates()
return
}
func (s *protocolServiceServer) DriverPoolStates(ctx xcontext.Context, in *DriverPoolStatesRequest) (result *DriverPoolStatesResponse, err error) {
result = new(DriverPoolStatesResponse)
result = DriverPoolStates()
return
}
func (s *protocolServiceServer) DriverStates(ctx xcontext.Context, in *DriverStatesRequest) (result *DriverStatesResponse, err error) {
result = new(DriverStatesResponse)
result = DriverStates()
return
}
func (s *protocolServiceServer) InstallDriver(ctx xcontext.Context, in *InstallDriverRequest) (result *Response, err error) {
result = new(Response)
result = InstallDriver(in)
return
}
func (s *protocolServiceServer) RemoveDriver(ctx xcontext.Context, in *RemoveDriverRequest) (result *Response, err error) {
result = new(Response)
result = RemoveDriver(in)
return
}