Fix protos

This commit is contained in:
Alex Dadgar
2018-08-09 13:29:05 -07:00
parent 0677e6b9d9
commit 827dbabcc2
6 changed files with 157 additions and 150 deletions

View File

@@ -1,5 +1,5 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: hashicorp/nomad/plugins/shared/hclspec/hcl_spec.proto
// source: github.com/hashicorp/nomad/plugins/shared/hclspec/hcl_spec.proto
package hclspec
@@ -93,7 +93,7 @@ func (m *Spec) Reset() { *m = Spec{} }
func (m *Spec) String() string { return proto.CompactTextString(m) }
func (*Spec) ProtoMessage() {}
func (*Spec) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{0}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{0}
}
func (m *Spec) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Spec.Unmarshal(m, b)
@@ -489,7 +489,7 @@ func (m *Attr) Reset() { *m = Attr{} }
func (m *Attr) String() string { return proto.CompactTextString(m) }
func (*Attr) ProtoMessage() {}
func (*Attr) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{1}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{1}
}
func (m *Attr) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Attr.Unmarshal(m, b)
@@ -578,7 +578,7 @@ func (m *Block) Reset() { *m = Block{} }
func (m *Block) String() string { return proto.CompactTextString(m) }
func (*Block) ProtoMessage() {}
func (*Block) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{2}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{2}
}
func (m *Block) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Block.Unmarshal(m, b)
@@ -673,7 +673,7 @@ func (m *BlockList) Reset() { *m = BlockList{} }
func (m *BlockList) String() string { return proto.CompactTextString(m) }
func (*BlockList) ProtoMessage() {}
func (*BlockList) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{3}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{3}
}
func (m *BlockList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockList.Unmarshal(m, b)
@@ -756,7 +756,7 @@ func (m *BlockSet) Reset() { *m = BlockSet{} }
func (m *BlockSet) String() string { return proto.CompactTextString(m) }
func (*BlockSet) ProtoMessage() {}
func (*BlockSet) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{4}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{4}
}
func (m *BlockSet) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockSet.Unmarshal(m, b)
@@ -855,7 +855,7 @@ func (m *BlockMap) Reset() { *m = BlockMap{} }
func (m *BlockMap) String() string { return proto.CompactTextString(m) }
func (*BlockMap) ProtoMessage() {}
func (*BlockMap) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{5}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{5}
}
func (m *BlockMap) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BlockMap.Unmarshal(m, b)
@@ -925,7 +925,7 @@ func (m *Literal) Reset() { *m = Literal{} }
func (m *Literal) String() string { return proto.CompactTextString(m) }
func (*Literal) ProtoMessage() {}
func (*Literal) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{6}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{6}
}
func (m *Literal) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Literal.Unmarshal(m, b)
@@ -989,7 +989,7 @@ func (m *Default) Reset() { *m = Default{} }
func (m *Default) String() string { return proto.CompactTextString(m) }
func (*Default) ProtoMessage() {}
func (*Default) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{7}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{7}
}
func (m *Default) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Default.Unmarshal(m, b)
@@ -1063,7 +1063,7 @@ func (m *Object) Reset() { *m = Object{} }
func (m *Object) String() string { return proto.CompactTextString(m) }
func (*Object) ProtoMessage() {}
func (*Object) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{8}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{8}
}
func (m *Object) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Object.Unmarshal(m, b)
@@ -1119,7 +1119,7 @@ func (m *Array) Reset() { *m = Array{} }
func (m *Array) String() string { return proto.CompactTextString(m) }
func (*Array) ProtoMessage() {}
func (*Array) Descriptor() ([]byte, []int) {
return fileDescriptor_hcl_spec_0e32d359acc09833, []int{9}
return fileDescriptor_hcl_spec_2b7d8262531848bd, []int{9}
}
func (m *Array) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Array.Unmarshal(m, b)
@@ -1161,47 +1161,48 @@ func init() {
}
func init() {
proto.RegisterFile("hashicorp/nomad/plugins/shared/hclspec/hcl_spec.proto", fileDescriptor_hcl_spec_0e32d359acc09833)
proto.RegisterFile("github.com/hashicorp/nomad/plugins/shared/hclspec/hcl_spec.proto", fileDescriptor_hcl_spec_2b7d8262531848bd)
}
var fileDescriptor_hcl_spec_0e32d359acc09833 = []byte{
// 602 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x95, 0xcd, 0x6e, 0x13, 0x31,
0x10, 0x80, 0xb3, 0xc9, 0xfe, 0x4e, 0x0f, 0x20, 0x0b, 0xa1, 0x55, 0x39, 0x50, 0xed, 0x01, 0xe5,
0x00, 0x1b, 0x28, 0x42, 0x42, 0x1c, 0x90, 0x1a, 0xb5, 0x68, 0x81, 0x46, 0x45, 0xae, 0xc4, 0x81,
0x03, 0x91, 0x77, 0x63, 0x88, 0xc9, 0xfe, 0xe1, 0x75, 0x50, 0x23, 0xc1, 0x83, 0x70, 0x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7,
0xfd, 0x97, 0x05, 0x7e, 0x36, 0xf5, 0xc9, 0xe6, 0xdd, 0x54, 0xdf, 0x4d, 0x70, 0x73, 0x92, 0xd2,
0x5c, 0x16, 0x37, 0x18, 0x06, 0xd8, 0x44, 0xff, 0x68, 0x03, 0x6f, 0x83, 0x67, 0x5a, 0x15, 0xdd,
0x00, 0x47, 0xdf, 0x3d, 0xfa, 0xdf, 0x75, 0x10, 0x7d, 0xb5, 0xc0, 0x33, 0x27, 0x03, 0x3d, 0x03,
0xaf, 0xe6, 0xac, 0x20, 0x7c, 0x65, 0x6e, 0xde, 0x6e, 0xff, 0xd9, 0xc2, 0xd2, 0xd3, 0x9e, 0xd1,
0xfe, 0x2e, 0x1e, 0x03, 0x47, 0x3f, 0x2d, 0x70, 0xf5, 0x9d, 0x8e, 0xde, 0x02, 0x10, 0x21, 0x38,
0x4b, 0x97, 0x82, 0x36, 0xa1, 0x75, 0x30, 0x18, 0xee, 0x1d, 0x3e, 0xed, 0xf6, 0x2e, 0xa8, 0xfb,
0x58, 0x0b, 0x4e, 0x4a, 0xc1, 0x57, 0xf8, 0x8a, 0x71, 0x7f, 0x01, 0xd7, 0xfe, 0x48, 0xa3, 0xeb,
0x30, 0x58, 0xd0, 0x95, 0x59, 0x2d, 0x39, 0x44, 0xe3, 0x76, 0x05, 0x77, 0xf9, 0x2a, 0x8d, 0x3e,
0xe9, 0x3f, 0xb6, 0xa2, 0x09, 0x38, 0xea, 0x85, 0x91, 0x7b, 0xac, 0x66, 0xdb, 0x2f, 0xea, 0xb8,
0xc7, 0x9a, 0x1d, 0x07, 0x6f, 0x3c, 0x33, 0x9f, 0xba, 0xea, 0xc9, 0x7d, 0xf8, 0x2b, 0x00, 0x00,
0xff, 0xff, 0x35, 0x85, 0xc3, 0x93, 0xab, 0x07, 0x00, 0x00,
var fileDescriptor_hcl_spec_2b7d8262531848bd = []byte{
// 612 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00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x2b, 0xb8, 0xc9, 0x57, 0x69, 0xf4, 0xf1, 0xf8, 0x91, 0x15, 0x1d, 0x83, 0xa3,
0x5e, 0x18, 0xb9, 0xc7, 0x6a, 0xb6, 0xff, 0xa2, 0x81, 0x7b, 0xac, 0xd9, 0x69, 0xf0, 0xc6, 0x33,
0xf3, 0x99, 0xab, 0x9e, 0xdc, 0x87, 0x3f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x4f, 0x2c, 0x98, 0x6b,
0xb6, 0x07, 0x00, 0x00,
}

View File

@@ -1,7 +1,6 @@
syntax = "proto3";
option go_package = "hclspec";
/*option go_package = "github.com/hashicorp/nomad/plugins/shared/hclspec";*/
/* Spec allows exposing the specification for an HCL body, allowing for parsing and
validation.