blob: ff1d00b0f6d998c721667e6e96925fab73c5220a [file] [log] [blame]
Serge Bazanski753d63f2018-10-14 15:21:46 -07001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: proxy.proto
3
4package proto
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
9 context "golang.org/x/net/context"
10 grpc "google.golang.org/grpc"
11 math "math"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
24
25type GetKVMDataRequest struct {
26 BladeNum int64 `protobuf:"varint,1,opt,name=blade_num,json=bladeNum,proto3" json:"blade_num,omitempty"`
27 XXX_NoUnkeyedLiteral struct{} `json:"-"`
28 XXX_unrecognized []byte `json:"-"`
29 XXX_sizecache int32 `json:"-"`
30}
31
32func (m *GetKVMDataRequest) Reset() { *m = GetKVMDataRequest{} }
33func (m *GetKVMDataRequest) String() string { return proto.CompactTextString(m) }
34func (*GetKVMDataRequest) ProtoMessage() {}
35func (*GetKVMDataRequest) Descriptor() ([]byte, []int) {
36 return fileDescriptor_700b50b08ed8dbaf, []int{0}
37}
38
39func (m *GetKVMDataRequest) XXX_Unmarshal(b []byte) error {
40 return xxx_messageInfo_GetKVMDataRequest.Unmarshal(m, b)
41}
42func (m *GetKVMDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
43 return xxx_messageInfo_GetKVMDataRequest.Marshal(b, m, deterministic)
44}
45func (m *GetKVMDataRequest) XXX_Merge(src proto.Message) {
46 xxx_messageInfo_GetKVMDataRequest.Merge(m, src)
47}
48func (m *GetKVMDataRequest) XXX_Size() int {
49 return xxx_messageInfo_GetKVMDataRequest.Size(m)
50}
51func (m *GetKVMDataRequest) XXX_DiscardUnknown() {
52 xxx_messageInfo_GetKVMDataRequest.DiscardUnknown(m)
53}
54
55var xxx_messageInfo_GetKVMDataRequest proto.InternalMessageInfo
56
57func (m *GetKVMDataRequest) GetBladeNum() int64 {
58 if m != nil {
59 return m.BladeNum
60 }
61 return 0
62}
63
64type GetKVMDataResponse struct {
65 Arguments []string `protobuf:"bytes,1,rep,name=arguments,proto3" json:"arguments,omitempty"`
66 XXX_NoUnkeyedLiteral struct{} `json:"-"`
67 XXX_unrecognized []byte `json:"-"`
68 XXX_sizecache int32 `json:"-"`
69}
70
71func (m *GetKVMDataResponse) Reset() { *m = GetKVMDataResponse{} }
72func (m *GetKVMDataResponse) String() string { return proto.CompactTextString(m) }
73func (*GetKVMDataResponse) ProtoMessage() {}
74func (*GetKVMDataResponse) Descriptor() ([]byte, []int) {
75 return fileDescriptor_700b50b08ed8dbaf, []int{1}
76}
77
78func (m *GetKVMDataResponse) XXX_Unmarshal(b []byte) error {
79 return xxx_messageInfo_GetKVMDataResponse.Unmarshal(m, b)
80}
81func (m *GetKVMDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
82 return xxx_messageInfo_GetKVMDataResponse.Marshal(b, m, deterministic)
83}
84func (m *GetKVMDataResponse) XXX_Merge(src proto.Message) {
85 xxx_messageInfo_GetKVMDataResponse.Merge(m, src)
86}
87func (m *GetKVMDataResponse) XXX_Size() int {
88 return xxx_messageInfo_GetKVMDataResponse.Size(m)
89}
90func (m *GetKVMDataResponse) XXX_DiscardUnknown() {
91 xxx_messageInfo_GetKVMDataResponse.DiscardUnknown(m)
92}
93
94var xxx_messageInfo_GetKVMDataResponse proto.InternalMessageInfo
95
96func (m *GetKVMDataResponse) GetArguments() []string {
97 if m != nil {
98 return m.Arguments
99 }
100 return nil
101}
102
103func init() {
104 proto.RegisterType((*GetKVMDataRequest)(nil), "proto.GetKVMDataRequest")
105 proto.RegisterType((*GetKVMDataResponse)(nil), "proto.GetKVMDataResponse")
106}
107
108func init() { proto.RegisterFile("proxy.proto", fileDescriptor_700b50b08ed8dbaf) }
109
110var fileDescriptor_700b50b08ed8dbaf = []byte{
111 // 156 bytes of a gzipped FileDescriptorProto
112 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2e, 0x28, 0xca, 0xaf,
113 0xa8, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x4a, 0x06, 0x5c, 0x82, 0xee,
114 0xa9, 0x25, 0xde, 0x61, 0xbe, 0x2e, 0x89, 0x25, 0x89, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25,
115 0x42, 0xd2, 0x5c, 0x9c, 0x49, 0x39, 0x89, 0x29, 0xa9, 0xf1, 0x79, 0xa5, 0xb9, 0x12, 0x8c, 0x0a,
116 0x8c, 0x1a, 0xcc, 0x41, 0x1c, 0x60, 0x01, 0xbf, 0xd2, 0x5c, 0x25, 0x23, 0x2e, 0x21, 0x64, 0x1d,
117 0xc5, 0x05, 0xf9, 0x79, 0xc5, 0xa9, 0x42, 0x32, 0x5c, 0x9c, 0x89, 0x45, 0xe9, 0xa5, 0xb9, 0xa9,
118 0x79, 0x25, 0xc5, 0x12, 0x8c, 0x0a, 0xcc, 0x1a, 0x9c, 0x41, 0x08, 0x01, 0x23, 0x5f, 0x2e, 0x0e,
119 0x67, 0x5f, 0xe7, 0x00, 0x90, 0xf5, 0x42, 0x8e, 0x5c, 0x5c, 0x08, 0xfd, 0x42, 0x12, 0x10, 0xe7,
120 0xe8, 0x61, 0x38, 0x42, 0x4a, 0x12, 0x8b, 0x0c, 0xc4, 0xb2, 0x24, 0x36, 0xb0, 0x8c, 0x31, 0x20,
121 0x00, 0x00, 0xff, 0xff, 0x09, 0x00, 0x2b, 0x54, 0xd1, 0x00, 0x00, 0x00,
122}
123
124// Reference imports to suppress errors if they are not otherwise used.
125var _ context.Context
126var _ grpc.ClientConn
127
128// This is a compile-time assertion to ensure that this generated file
129// is compatible with the grpc package it is being compiled against.
130const _ = grpc.SupportPackageIsVersion4
131
132// CMCProxyClient is the client API for CMCProxy service.
133//
134// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
135type CMCProxyClient interface {
136 GetKVMData(ctx context.Context, in *GetKVMDataRequest, opts ...grpc.CallOption) (*GetKVMDataResponse, error)
137}
138
139type cMCProxyClient struct {
140 cc *grpc.ClientConn
141}
142
143func NewCMCProxyClient(cc *grpc.ClientConn) CMCProxyClient {
144 return &cMCProxyClient{cc}
145}
146
147func (c *cMCProxyClient) GetKVMData(ctx context.Context, in *GetKVMDataRequest, opts ...grpc.CallOption) (*GetKVMDataResponse, error) {
148 out := new(GetKVMDataResponse)
149 err := c.cc.Invoke(ctx, "/proto.CMCProxy/GetKVMData", in, out, opts...)
150 if err != nil {
151 return nil, err
152 }
153 return out, nil
154}
155
156// CMCProxyServer is the server API for CMCProxy service.
157type CMCProxyServer interface {
158 GetKVMData(context.Context, *GetKVMDataRequest) (*GetKVMDataResponse, error)
159}
160
161func RegisterCMCProxyServer(s *grpc.Server, srv CMCProxyServer) {
162 s.RegisterService(&_CMCProxy_serviceDesc, srv)
163}
164
165func _CMCProxy_GetKVMData_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
166 in := new(GetKVMDataRequest)
167 if err := dec(in); err != nil {
168 return nil, err
169 }
170 if interceptor == nil {
171 return srv.(CMCProxyServer).GetKVMData(ctx, in)
172 }
173 info := &grpc.UnaryServerInfo{
174 Server: srv,
175 FullMethod: "/proto.CMCProxy/GetKVMData",
176 }
177 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
178 return srv.(CMCProxyServer).GetKVMData(ctx, req.(*GetKVMDataRequest))
179 }
180 return interceptor(ctx, in, info, handler)
181}
182
183var _CMCProxy_serviceDesc = grpc.ServiceDesc{
184 ServiceName: "proto.CMCProxy",
185 HandlerType: (*CMCProxyServer)(nil),
186 Methods: []grpc.MethodDesc{
187 {
188 MethodName: "GetKVMData",
189 Handler: _CMCProxy_GetKVMData_Handler,
190 },
191 },
192 Streams: []grpc.StreamDesc{},
193 Metadata: "proxy.proto",
194}