chore: pin protoc-gen-go to v1.2.0 (#235)

This commit is contained in:
Andrew Rynhard 2018-11-28 17:10:57 -08:00 committed by GitHub
parent c48a2ef835
commit 58adddcfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 131 additions and 139 deletions

View File

@ -193,10 +193,12 @@ tasks:
ENTRYPOINT ["/{{ .Docker.CurrentStage }}"]
proto:
template: |
FROM golang:1.11.0 AS {{ .Docker.CurrentStage }}
FROM golang:1.11.2 AS {{ .Docker.CurrentStage }}
RUN apt-get update
RUN apt-get -y install bsdtar
RUN go get github.com/golang/protobuf/protoc-gen-go
WORKDIR /go/src/github.com/golang/protobuf
RUN curl -L https://github.com/golang/protobuf/archive/v1.2.0.tar.gz | tar -xz --strip-components=1
RUN cd protoc-gen-go && go install .
RUN curl -L https://github.com/google/protobuf/releases/download/v3.6.1/protoc-3.6.1-linux-x86_64.zip | bsdtar -xf - -C /tmp \
&& mv /tmp/bin/protoc /bin \
&& mv /tmp/include/* /usr/local/include \
@ -234,7 +236,7 @@ tasks:
RUN mkdir -p /etc/ssl/certs
RUN ln -s /tools/etc/ssl/certs/ca-certificates /etc/ssl/certs/ca-certificates
RUN curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10.1
ENV GO111MODULE auto
ENV GO111MODULE on
WORKDIR /src/github.com/autonomy/talos/src/initramfs
COPY --from=xfsprogs {{ index .Variables "rootfs" }} {{ index .Variables "rootfs" }}
COPY ./ ./

View File

@ -3,13 +3,14 @@
package proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -36,17 +37,16 @@ func (m *ResizePartitionRequest) Reset() { *m = ResizePartitionRequest{}
func (m *ResizePartitionRequest) String() string { return proto.CompactTextString(m) }
func (*ResizePartitionRequest) ProtoMessage() {}
func (*ResizePartitionRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{0}
return fileDescriptor_api_45c2a43533cf9ef2, []int{0}
}
func (m *ResizePartitionRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResizePartitionRequest.Unmarshal(m, b)
}
func (m *ResizePartitionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResizePartitionRequest.Marshal(b, m, deterministic)
}
func (m *ResizePartitionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResizePartitionRequest.Merge(m, src)
func (dst *ResizePartitionRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResizePartitionRequest.Merge(dst, src)
}
func (m *ResizePartitionRequest) XXX_Size() int {
return xxx_messageInfo_ResizePartitionRequest.Size(m)
@ -75,23 +75,6 @@ func init() {
proto.RegisterType((*ResizePartitionRequest)(nil), "proto.ResizePartitionRequest")
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) }
var fileDescriptor_00212fb1f9d3bf1c = []byte{
// 163 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4c, 0x2c, 0xc8, 0xd4,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x52, 0xd2, 0xe9, 0xf9, 0xf9, 0xe9, 0x39,
0xa9, 0xfa, 0x60, 0x5e, 0x52, 0x69, 0x9a, 0x7e, 0x6a, 0x6e, 0x41, 0x49, 0x25, 0x44, 0x8d, 0x92,
0x0b, 0x97, 0x58, 0x50, 0x6a, 0x71, 0x66, 0x55, 0x6a, 0x40, 0x62, 0x51, 0x49, 0x66, 0x49, 0x66,
0x7e, 0x5e, 0x50, 0x6a, 0x61, 0x69, 0x6a, 0x71, 0x89, 0x90, 0x18, 0x17, 0x5b, 0x5e, 0x69, 0x6e,
0x52, 0x6a, 0x91, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x94, 0x27, 0x24, 0xc4, 0xc5, 0x02,
0x52, 0x2f, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x1c, 0x04, 0x66, 0x1b, 0x79, 0x73, 0xb1, 0x39, 0xe5,
0xe4, 0x27, 0x67, 0xa7, 0x08, 0x39, 0x72, 0xb1, 0x41, 0xcc, 0x13, 0x92, 0x85, 0xd8, 0xa0, 0x87,
0xdd, 0x78, 0x29, 0x31, 0x3d, 0x88, 0xb3, 0xf4, 0x60, 0xce, 0xd2, 0x73, 0x05, 0x39, 0x4b, 0x89,
0x21, 0x89, 0x0d, 0x2c, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xfc, 0x26, 0x27, 0xca,
0x00, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
@ -163,3 +146,20 @@ var _Blockd_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "api.proto",
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_api_45c2a43533cf9ef2) }
var fileDescriptor_api_45c2a43533cf9ef2 = []byte{
// 163 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4c, 0x2c, 0xc8, 0xd4,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x52, 0xd2, 0xe9, 0xf9, 0xf9, 0xe9, 0x39,
0xa9, 0xfa, 0x60, 0x5e, 0x52, 0x69, 0x9a, 0x7e, 0x6a, 0x6e, 0x41, 0x49, 0x25, 0x44, 0x8d, 0x92,
0x0b, 0x97, 0x58, 0x50, 0x6a, 0x71, 0x66, 0x55, 0x6a, 0x40, 0x62, 0x51, 0x49, 0x66, 0x49, 0x66,
0x7e, 0x5e, 0x50, 0x6a, 0x61, 0x69, 0x6a, 0x71, 0x89, 0x90, 0x18, 0x17, 0x5b, 0x5e, 0x69, 0x6e,
0x52, 0x6a, 0x91, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x6b, 0x10, 0x94, 0x27, 0x24, 0xc4, 0xc5, 0x02,
0x52, 0x2f, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x1c, 0x04, 0x66, 0x1b, 0x79, 0x73, 0xb1, 0x39, 0xe5,
0xe4, 0x27, 0x67, 0xa7, 0x08, 0x39, 0x72, 0xb1, 0x41, 0xcc, 0x13, 0x92, 0x85, 0xd8, 0xa0, 0x87,
0xdd, 0x78, 0x29, 0x31, 0x3d, 0x88, 0xb3, 0xf4, 0x60, 0xce, 0xd2, 0x73, 0x05, 0x39, 0x4b, 0x89,
0x21, 0x89, 0x0d, 0x2c, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa6, 0xfc, 0x26, 0x27, 0xca,
0x00, 0x00, 0x00,
}

View File

@ -3,13 +3,14 @@
package proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import empty "github.com/golang/protobuf/ptypes/empty"
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -35,17 +36,16 @@ func (m *ProcessesReply) Reset() { *m = ProcessesReply{} }
func (m *ProcessesReply) String() string { return proto.CompactTextString(m) }
func (*ProcessesReply) ProtoMessage() {}
func (*ProcessesReply) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{0}
return fileDescriptor_api_a4ce81dae7624600, []int{0}
}
func (m *ProcessesReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ProcessesReply.Unmarshal(m, b)
}
func (m *ProcessesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ProcessesReply.Marshal(b, m, deterministic)
}
func (m *ProcessesReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProcessesReply.Merge(m, src)
func (dst *ProcessesReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProcessesReply.Merge(dst, src)
}
func (m *ProcessesReply) XXX_Size() int {
return xxx_messageInfo_ProcessesReply.Size(m)
@ -79,17 +79,16 @@ func (m *Process) Reset() { *m = Process{} }
func (m *Process) String() string { return proto.CompactTextString(m) }
func (*Process) ProtoMessage() {}
func (*Process) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{1}
return fileDescriptor_api_a4ce81dae7624600, []int{1}
}
func (m *Process) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Process.Unmarshal(m, b)
}
func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Process.Marshal(b, m, deterministic)
}
func (m *Process) XXX_Merge(src proto.Message) {
xxx_messageInfo_Process.Merge(m, src)
func (dst *Process) XXX_Merge(src proto.Message) {
xxx_messageInfo_Process.Merge(dst, src)
}
func (m *Process) XXX_Size() int {
return xxx_messageInfo_Process.Size(m)
@ -148,17 +147,16 @@ func (m *RestartRequest) Reset() { *m = RestartRequest{} }
func (m *RestartRequest) String() string { return proto.CompactTextString(m) }
func (*RestartRequest) ProtoMessage() {}
func (*RestartRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{2}
return fileDescriptor_api_a4ce81dae7624600, []int{2}
}
func (m *RestartRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RestartRequest.Unmarshal(m, b)
}
func (m *RestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RestartRequest.Marshal(b, m, deterministic)
}
func (m *RestartRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RestartRequest.Merge(m, src)
func (dst *RestartRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RestartRequest.Merge(dst, src)
}
func (m *RestartRequest) XXX_Size() int {
return xxx_messageInfo_RestartRequest.Size(m)
@ -194,17 +192,16 @@ func (m *RestartReply) Reset() { *m = RestartReply{} }
func (m *RestartReply) String() string { return proto.CompactTextString(m) }
func (*RestartReply) ProtoMessage() {}
func (*RestartReply) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{3}
return fileDescriptor_api_a4ce81dae7624600, []int{3}
}
func (m *RestartReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RestartReply.Unmarshal(m, b)
}
func (m *RestartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RestartReply.Marshal(b, m, deterministic)
}
func (m *RestartReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_RestartReply.Merge(m, src)
func (dst *RestartReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_RestartReply.Merge(dst, src)
}
func (m *RestartReply) XXX_Size() int {
return xxx_messageInfo_RestartReply.Size(m)
@ -226,17 +223,16 @@ func (m *ResetReply) Reset() { *m = ResetReply{} }
func (m *ResetReply) String() string { return proto.CompactTextString(m) }
func (*ResetReply) ProtoMessage() {}
func (*ResetReply) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{4}
return fileDescriptor_api_a4ce81dae7624600, []int{4}
}
func (m *ResetReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResetReply.Unmarshal(m, b)
}
func (m *ResetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResetReply.Marshal(b, m, deterministic)
}
func (m *ResetReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResetReply.Merge(m, src)
func (dst *ResetReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResetReply.Merge(dst, src)
}
func (m *ResetReply) XXX_Size() int {
return xxx_messageInfo_ResetReply.Size(m)
@ -258,17 +254,16 @@ func (m *RebootReply) Reset() { *m = RebootReply{} }
func (m *RebootReply) String() string { return proto.CompactTextString(m) }
func (*RebootReply) ProtoMessage() {}
func (*RebootReply) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{5}
return fileDescriptor_api_a4ce81dae7624600, []int{5}
}
func (m *RebootReply) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RebootReply.Unmarshal(m, b)
}
func (m *RebootReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RebootReply.Marshal(b, m, deterministic)
}
func (m *RebootReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_RebootReply.Merge(m, src)
func (dst *RebootReply) XXX_Merge(src proto.Message) {
xxx_messageInfo_RebootReply.Merge(dst, src)
}
func (m *RebootReply) XXX_Size() int {
return xxx_messageInfo_RebootReply.Size(m)
@ -292,17 +287,16 @@ func (m *LogsRequest) Reset() { *m = LogsRequest{} }
func (m *LogsRequest) String() string { return proto.CompactTextString(m) }
func (*LogsRequest) ProtoMessage() {}
func (*LogsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{6}
return fileDescriptor_api_a4ce81dae7624600, []int{6}
}
func (m *LogsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogsRequest.Unmarshal(m, b)
}
func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogsRequest.Marshal(b, m, deterministic)
}
func (m *LogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogsRequest.Merge(m, src)
func (dst *LogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogsRequest.Merge(dst, src)
}
func (m *LogsRequest) XXX_Size() int {
return xxx_messageInfo_LogsRequest.Size(m)
@ -339,17 +333,16 @@ func (m *Data) Reset() { *m = Data{} }
func (m *Data) String() string { return proto.CompactTextString(m) }
func (*Data) ProtoMessage() {}
func (*Data) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{7}
return fileDescriptor_api_a4ce81dae7624600, []int{7}
}
func (m *Data) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Data.Unmarshal(m, b)
}
func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Data.Marshal(b, m, deterministic)
}
func (m *Data) XXX_Merge(src proto.Message) {
xxx_messageInfo_Data.Merge(m, src)
func (dst *Data) XXX_Merge(src proto.Message) {
xxx_messageInfo_Data.Merge(dst, src)
}
func (m *Data) XXX_Size() int {
return xxx_messageInfo_Data.Size(m)
@ -378,39 +371,6 @@ func init() {
proto.RegisterType((*Data)(nil), "proto.Data")
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) }
var fileDescriptor_00212fb1f9d3bf1c = []byte{
// 431 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x51, 0x6b, 0xd4, 0x40,
0x14, 0x85, 0x37, 0xbb, 0x9b, 0x4d, 0x73, 0xb3, 0x06, 0xbc, 0x6a, 0x09, 0xdb, 0x3e, 0xac, 0x79,
0x5a, 0x50, 0xd2, 0xd2, 0x8a, 0x82, 0x88, 0x4f, 0xdb, 0x27, 0x05, 0x65, 0x44, 0x5f, 0x25, 0x49,
0x6f, 0x43, 0x60, 0xb3, 0x33, 0x66, 0x66, 0x1e, 0xf2, 0x0b, 0xfc, 0x37, 0xfe, 0x46, 0xc9, 0xcc,
0x64, 0x63, 0x2b, 0x0b, 0x7d, 0x0a, 0xe7, 0xdc, 0x7b, 0x72, 0x87, 0xf3, 0x41, 0x98, 0x8b, 0x3a,
0x13, 0x2d, 0x57, 0x1c, 0x7d, 0xf3, 0x59, 0x9d, 0x55, 0x9c, 0x57, 0x3b, 0xba, 0x30, 0xaa, 0x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 0x0e, 0xf3, 0x6d, 0xae, 0xf2, 0xbe,
0xa5, 0xa2, 0x53, 0x64, 0xd3, 0x4b, 0x66, 0xc5, 0xd5, 0x9f, 0x19, 0xcc, 0xbe, 0x7c, 0xdb, 0xe2,
0x35, 0xc0, 0x27, 0x5d, 0x50, 0xc9, 0xf7, 0x77, 0x75, 0x85, 0xa7, 0x99, 0x65, 0x99, 0x0d, 0x2c,
0xb3, 0x9b, 0x9e, 0xe5, 0x2a, 0x72, 0x80, 0xfa, 0x1f, 0xa6, 0x13, 0xfc, 0x00, 0xe1, 0x01, 0xea,
0xd1, 0xcc, 0x8b, 0xfb, 0x50, 0x1d, 0xfe, 0x74, 0x82, 0xef, 0x20, 0x70, 0x65, 0xe0, 0xb0, 0x73,
0xbf, 0xd8, 0xd5, 0xb3, 0x87, 0xb6, 0x0d, 0xbe, 0x01, 0xdf, 0xb4, 0x76, 0xf4, 0xe4, 0xd3, 0x31,
0x47, 0x87, 0xd4, 0x5b, 0x58, 0xd8, 0x76, 0x8f, 0xc6, 0xf0, 0x10, 0x1b, 0x21, 0x4c, 0xf0, 0x15,
0xcc, 0x7b, 0x0c, 0x38, 0x4c, 0xff, 0x61, 0xf2, 0xa0, 0x8f, 0x4b, 0x0f, 0x33, 0xf0, 0xb7, 0x0d,
0xc9, 0x47, 0x37, 0x78, 0x09, 0xc1, 0x0f, 0x6a, 0x65, 0xcd, 0xf7, 0x8f, 0x4c, 0x14, 0x0b, 0xa3,
0xae, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x72, 0xae, 0x8f, 0x7e, 0x80, 0x03, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
@ -741,3 +701,36 @@ var _OSD_serviceDesc = grpc.ServiceDesc{
},
Metadata: "api.proto",
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_api_a4ce81dae7624600) }
var fileDescriptor_api_a4ce81dae7624600 = []byte{
// 431 bytes of a gzipped FileDescri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0xd4, 0x5b, 0x58, 0xd8, 0x76, 0x8f, 0xc6, 0xf0, 0x10, 0x1b, 0x21, 0x4c, 0xf0, 0x15,
0xcc, 0x7b, 0x0c, 0x38, 0x4c, 0xff, 0x61, 0xf2, 0xa0, 0x8f, 0x4b, 0x0f, 0x33, 0xf0, 0xb7, 0x0d,
0xc9, 0x47, 0x37, 0x78, 0x09, 0xc1, 0x0f, 0x6a, 0x65, 0xcd, 0xf7, 0x8f, 0x4c, 0x14, 0x0b, 0xa3,
0xae, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x72, 0xae, 0x8f, 0x7e, 0x80, 0x03, 0x00, 0x00,
}

View File

@ -3,12 +3,13 @@
package proto
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
@ -34,17 +35,16 @@ func (m *CertificateRequest) Reset() { *m = CertificateRequest{} }
func (m *CertificateRequest) String() string { return proto.CompactTextString(m) }
func (*CertificateRequest) ProtoMessage() {}
func (*CertificateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{0}
return fileDescriptor_api_6d48f67e45b68bdd, []int{0}
}
func (m *CertificateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CertificateRequest.Unmarshal(m, b)
}
func (m *CertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CertificateRequest.Marshal(b, m, deterministic)
}
func (m *CertificateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CertificateRequest.Merge(m, src)
func (dst *CertificateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CertificateRequest.Merge(dst, src)
}
func (m *CertificateRequest) XXX_Size() int {
return xxx_messageInfo_CertificateRequest.Size(m)
@ -74,17 +74,16 @@ func (m *CertificateResponse) Reset() { *m = CertificateResponse{} }
func (m *CertificateResponse) String() string { return proto.CompactTextString(m) }
func (*CertificateResponse) ProtoMessage() {}
func (*CertificateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{1}
return fileDescriptor_api_6d48f67e45b68bdd, []int{1}
}
func (m *CertificateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CertificateResponse.Unmarshal(m, b)
}
func (m *CertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CertificateResponse.Marshal(b, m, deterministic)
}
func (m *CertificateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CertificateResponse.Merge(m, src)
func (dst *CertificateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CertificateResponse.Merge(dst, src)
}
func (m *CertificateResponse) XXX_Size() int {
return xxx_messageInfo_CertificateResponse.Size(m)
@ -116,17 +115,16 @@ func (m *WriteFileRequest) Reset() { *m = WriteFileRequest{} }
func (m *WriteFileRequest) String() string { return proto.CompactTextString(m) }
func (*WriteFileRequest) ProtoMessage() {}
func (*WriteFileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{2}
return fileDescriptor_api_6d48f67e45b68bdd, []int{2}
}
func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteFileRequest.Unmarshal(m, b)
}
func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WriteFileRequest.Marshal(b, m, deterministic)
}
func (m *WriteFileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_WriteFileRequest.Merge(m, src)
func (dst *WriteFileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_WriteFileRequest.Merge(dst, src)
}
func (m *WriteFileRequest) XXX_Size() int {
return xxx_messageInfo_WriteFileRequest.Size(m)
@ -169,17 +167,16 @@ func (m *WriteFileResponse) Reset() { *m = WriteFileResponse{} }
func (m *WriteFileResponse) String() string { return proto.CompactTextString(m) }
func (*WriteFileResponse) ProtoMessage() {}
func (*WriteFileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_00212fb1f9d3bf1c, []int{3}
return fileDescriptor_api_6d48f67e45b68bdd, []int{3}
}
func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_WriteFileResponse.Unmarshal(m, b)
}
func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_WriteFileResponse.Marshal(b, m, deterministic)
}
func (m *WriteFileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_WriteFileResponse.Merge(m, src)
func (dst *WriteFileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_WriteFileResponse.Merge(dst, src)
}
func (m *WriteFileResponse) XXX_Size() int {
return xxx_messageInfo_WriteFileResponse.Size(m)
@ -197,26 +194,6 @@ func init() {
proto.RegisterType((*WriteFileResponse)(nil), "proto.WriteFileResponse")
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_00212fb1f9d3bf1c) }
var fileDescriptor_00212fb1f9d3bf1c = []byte{
// 219 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4c, 0x2c, 0xc8, 0xd4,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x4a, 0x6a, 0x5c, 0x42, 0xce, 0xa9, 0x45,
0x25, 0x99, 0x69, 0x99, 0xc9, 0x89, 0x25, 0xa9, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42,
0x02, 0x5c, 0xcc, 0xc9, 0xc5, 0x45, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x3c, 0x41, 0x20, 0xa6, 0x92,
0x36, 0x97, 0x30, 0x8a, 0xba, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, 0x11, 0x2e, 0xd6, 0xa4,
0xca, 0x92, 0xd4, 0x62, 0xa8, 0x52, 0x08, 0x47, 0xc9, 0x8f, 0x4b, 0x20, 0xbc, 0x28, 0xb3, 0x24,
0xd5, 0x2d, 0x33, 0x07, 0x6e, 0xa4, 0x10, 0x17, 0x4b, 0x41, 0x62, 0x49, 0x06, 0x58, 0x21, 0x67,
0x10, 0x98, 0x0d, 0x12, 0x4b, 0x49, 0x2c, 0x49, 0x94, 0x60, 0x02, 0x6b, 0x06, 0xb3, 0xc1, 0xea,
0x52, 0x8b, 0x72, 0x25, 0x98, 0x15, 0x18, 0x35, 0x58, 0x83, 0xc0, 0x6c, 0x25, 0x61, 0x2e, 0x41,
0x24, 0xf3, 0x20, 0x56, 0x1b, 0x4d, 0x62, 0xe4, 0x62, 0x0b, 0x29, 0x2a, 0x2d, 0x2e, 0x49, 0x11,
0x72, 0xe3, 0xe2, 0x46, 0x72, 0x9c, 0x90, 0x24, 0xc4, 0x8b, 0x7a, 0x98, 0x1e, 0x93, 0x92, 0xc2,
0x26, 0x05, 0x31, 0x50, 0x89, 0x41, 0xc8, 0x81, 0x8b, 0x13, 0x6e, 0x8f, 0x90, 0x38, 0x54, 0x29,
0xba, 0x4f, 0xa4, 0x24, 0x30, 0x25, 0x60, 0x26, 0x24, 0xb1, 0x81, 0xa5, 0x8c, 0x01, 0x01, 0x00,
0x00, 0xff, 0xff, 0x80, 0xe5, 0x5e, 0xbe, 0x69, 0x01, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
@ -321,3 +298,23 @@ var _Trustd_serviceDesc = grpc.ServiceDesc{
Streams: []grpc.StreamDesc{},
Metadata: "api.proto",
}
func init() { proto.RegisterFile("api.proto", fileDescriptor_api_6d48f67e45b68bdd) }
var fileDescriptor_api_6d48f67e45b68bdd = []byte{
// 219 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4c, 0x2c, 0xc8, 0xd4,
0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x53, 0x4a, 0x6a, 0x5c, 0x42, 0xce, 0xa9, 0x45,
0x25, 0x99, 0x69, 0x99, 0xc9, 0x89, 0x25, 0xa9, 0x41, 0xa9, 0x85, 0xa5, 0xa9, 0xc5, 0x25, 0x42,
0x02, 0x5c, 0xcc, 0xc9, 0xc5, 0x45, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x3c, 0x41, 0x20, 0xa6, 0x92,
0x36, 0x97, 0x30, 0x8a, 0xba, 0xe2, 0x82, 0xfc, 0xbc, 0xe2, 0x54, 0x21, 0x11, 0x2e, 0xd6, 0xa4,
0xca, 0x92, 0xd4, 0x62, 0xa8, 0x52, 0x08, 0x47, 0xc9, 0x8f, 0x4b, 0x20, 0xbc, 0x28, 0xb3, 0x24,
0xd5, 0x2d, 0x33, 0x07, 0x6e, 0xa4, 0x10, 0x17, 0x4b, 0x41, 0x62, 0x49, 0x06, 0x58, 0x21, 0x67,
0x10, 0x98, 0x0d, 0x12, 0x4b, 0x49, 0x2c, 0x49, 0x94, 0x60, 0x02, 0x6b, 0x06, 0xb3, 0xc1, 0xea,
0x52, 0x8b, 0x72, 0x25, 0x98, 0x15, 0x18, 0x35, 0x58, 0x83, 0xc0, 0x6c, 0x25, 0x61, 0x2e, 0x41,
0x24, 0xf3, 0x20, 0x56, 0x1b, 0x4d, 0x62, 0xe4, 0x62, 0x0b, 0x29, 0x2a, 0x2d, 0x2e, 0x49, 0x11,
0x72, 0xe3, 0xe2, 0x46, 0x72, 0x9c, 0x90, 0x24, 0xc4, 0x8b, 0x7a, 0x98, 0x1e, 0x93, 0x92, 0xc2,
0x26, 0x05, 0x31, 0x50, 0x89, 0x41, 0xc8, 0x81, 0x8b, 0x13, 0x6e, 0x8f, 0x90, 0x38, 0x54, 0x29,
0xba, 0x4f, 0xa4, 0x24, 0x30, 0x25, 0x60, 0x26, 0x24, 0xb1, 0x81, 0xa5, 0x8c, 0x01, 0x01, 0x00,
0x00, 0xff, 0xff, 0x80, 0xe5, 0x5e, 0xbe, 0x69, 0x01, 0x00, 0x00,
}