go/deploy.pb.go (105 lines of code) (raw):
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: deploy.proto
/*
Package gitlab_pages_v1 is a generated protocol buffer package.
It is generated from these files:
deploy.proto
It has these top-level messages:
DeleteSiteRequest
DeleteSiteResponse
*/
package gitlab_pages_v1
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/golang/protobuf/ptypes/empty"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type DeleteSiteRequest struct {
Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
}
func (m *DeleteSiteRequest) Reset() { *m = DeleteSiteRequest{} }
func (m *DeleteSiteRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteSiteRequest) ProtoMessage() {}
func (*DeleteSiteRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *DeleteSiteRequest) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
type DeleteSiteResponse struct {
}
func (m *DeleteSiteResponse) Reset() { *m = DeleteSiteResponse{} }
func (m *DeleteSiteResponse) String() string { return proto.CompactTextString(m) }
func (*DeleteSiteResponse) ProtoMessage() {}
func (*DeleteSiteResponse) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func init() {
proto.RegisterType((*DeleteSiteRequest)(nil), "gitlab_pages.v1.DeleteSiteRequest")
proto.RegisterType((*DeleteSiteResponse)(nil), "gitlab_pages.v1.DeleteSiteResponse")
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// Client API for DeployService service
type DeployServiceClient interface {
DeleteSite(ctx context.Context, in *DeleteSiteRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error)
}
type deployServiceClient struct {
cc *grpc.ClientConn
}
func NewDeployServiceClient(cc *grpc.ClientConn) DeployServiceClient {
return &deployServiceClient{cc}
}
func (c *deployServiceClient) DeleteSite(ctx context.Context, in *DeleteSiteRequest, opts ...grpc.CallOption) (*google_protobuf.Empty, error) {
out := new(google_protobuf.Empty)
err := grpc.Invoke(ctx, "/gitlab_pages.v1.DeployService/DeleteSite", in, out, c.cc, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Server API for DeployService service
type DeployServiceServer interface {
DeleteSite(context.Context, *DeleteSiteRequest) (*google_protobuf.Empty, error)
}
func RegisterDeployServiceServer(s *grpc.Server, srv DeployServiceServer) {
s.RegisterService(&_DeployService_serviceDesc, srv)
}
func _DeployService_DeleteSite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteSiteRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(DeployServiceServer).DeleteSite(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/gitlab_pages.v1.DeployService/DeleteSite",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(DeployServiceServer).DeleteSite(ctx, req.(*DeleteSiteRequest))
}
return interceptor(ctx, in, info, handler)
}
var _DeployService_serviceDesc = grpc.ServiceDesc{
ServiceName: "gitlab_pages.v1.DeployService",
HandlerType: (*DeployServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "DeleteSite",
Handler: _DeployService_DeleteSite_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "deploy.proto",
}
func init() { proto.RegisterFile("deploy.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 174 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x49, 0x49, 0x2d, 0xc8,
0xc9, 0xaf, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x4f, 0xcf, 0x2c, 0xc9, 0x49, 0x4c,
0x8a, 0x2f, 0x48, 0x4c, 0x4f, 0x2d, 0xd6, 0x2b, 0x33, 0x94, 0x92, 0x4e, 0xcf, 0xcf, 0x4f, 0xcf,
0x49, 0xd5, 0x07, 0x4b, 0x27, 0x95, 0xa6, 0xe9, 0xa7, 0xe6, 0x16, 0x94, 0x40, 0x55, 0x2b, 0xa9,
0x73, 0x09, 0xba, 0xa4, 0xe6, 0xa4, 0x96, 0xa4, 0x06, 0x67, 0x96, 0xa4, 0x06, 0xa5, 0x16, 0x96,
0xa6, 0x16, 0x97, 0x08, 0x09, 0x71, 0xb1, 0x14, 0x24, 0x96, 0x64, 0x48, 0x30, 0x2a, 0x30, 0x6a,
0x70, 0x06, 0x81, 0xd9, 0x4a, 0x22, 0x5c, 0x42, 0xc8, 0x0a, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53,
0x8d, 0xa2, 0xb9, 0x78, 0x5d, 0xc0, 0x96, 0x07, 0xa7, 0x16, 0x95, 0x65, 0x26, 0xa7, 0x0a, 0x79,
0x71, 0x71, 0x21, 0x94, 0x09, 0x29, 0xe9, 0xa1, 0x39, 0x46, 0x0f, 0xc3, 0x32, 0x29, 0x31, 0x3d,
0x88, 0xfb, 0xf4, 0x60, 0xee, 0xd3, 0x73, 0x05, 0xb9, 0x4f, 0x89, 0x21, 0x89, 0x0d, 0x2c, 0x62,
0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x02, 0x13, 0x61, 0x66, 0xe0, 0x00, 0x00, 0x00,
}