mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-22 21:11:30 +02:00
- Added common.proto to host NodeMetadata - go_package names were fixed up so imports are generated with the proper package names - fixed up build work (dockerfile) to prevent copying the previously generated go proto files. This fixes a bug where we could incorrectly copy the previously generated protobuf instead of a new one generated at an incorrect location/name/etc. Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
85 lines
2.9 KiB
Go
85 lines
2.9 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: common/common.proto
|
|
|
|
package common
|
|
|
|
import (
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
)
|
|
|
|
// 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.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
// Common metadata message nested in all reply message types
|
|
type NodeMetadata struct {
|
|
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *NodeMetadata) Reset() { *m = NodeMetadata{} }
|
|
func (m *NodeMetadata) String() string { return proto.CompactTextString(m) }
|
|
func (*NodeMetadata) ProtoMessage() {}
|
|
func (*NodeMetadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{0}
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_NodeMetadata.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_NodeMetadata.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_NodeMetadata.Merge(m, src)
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_Size() int {
|
|
return xxx_messageInfo_NodeMetadata.Size(m)
|
|
}
|
|
|
|
func (m *NodeMetadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_NodeMetadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_NodeMetadata proto.InternalMessageInfo
|
|
|
|
func (m *NodeMetadata) GetHostname() string {
|
|
if m != nil {
|
|
return m.Hostname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*NodeMetadata)(nil), "common.NodeMetadata")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("common/common.proto", fileDescriptor_8f954d82c0b891f6) }
|
|
|
|
var fileDescriptor_8f954d82c0b891f6 = []byte{
|
|
// 122 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4e, 0xce, 0xcf, 0xcd,
|
|
0xcd, 0xcf, 0xd3, 0x87, 0x50, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0x6c, 0x10, 0x9e, 0x92,
|
|
0x16, 0x17, 0x8f, 0x5f, 0x7e, 0x4a, 0xaa, 0x6f, 0x6a, 0x49, 0x62, 0x4a, 0x62, 0x49, 0xa2, 0x90,
|
|
0x14, 0x17, 0x47, 0x46, 0x7e, 0x71, 0x49, 0x5e, 0x62, 0x6e, 0xaa, 0x04, 0xa3, 0x02, 0xa3, 0x06,
|
|
0x67, 0x10, 0x9c, 0xef, 0xa4, 0x1d, 0xa5, 0x99, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c,
|
|
0x9f, 0xab, 0x5f, 0x92, 0x98, 0x93, 0x5f, 0xac, 0x5b, 0x5c, 0x59, 0x5c, 0x92, 0x9a, 0x5b, 0x0c,
|
|
0xe1, 0xe9, 0x27, 0x16, 0x64, 0x42, 0xad, 0x49, 0x62, 0x03, 0xdb, 0x63, 0x0c, 0x08, 0x00, 0x00,
|
|
0xff, 0xff, 0x2b, 0xbb, 0xa5, 0xd9, 0x7e, 0x00, 0x00, 0x00,
|
|
}
|