mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-19 13:41:13 +02:00
This PR brings our protobuf files into conformance with the protobuf style guide, and community conventions. It is purely renames, along with generated docs. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
317 lines
9.7 KiB
Go
317 lines
9.7 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
|
|
_ = fmt.Errorf
|
|
_ = 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
|
|
|
|
type ContainerDriver int32
|
|
|
|
const (
|
|
ContainerDriver_CONTAINERD ContainerDriver = 0
|
|
ContainerDriver_CRI ContainerDriver = 1
|
|
)
|
|
|
|
var ContainerDriver_name = map[int32]string{
|
|
0: "CONTAINERD",
|
|
1: "CRI",
|
|
}
|
|
|
|
var ContainerDriver_value = map[string]int32{
|
|
"CONTAINERD": 0,
|
|
"CRI": 1,
|
|
}
|
|
|
|
func (x ContainerDriver) String() string {
|
|
return proto.EnumName(ContainerDriver_name, int32(x))
|
|
}
|
|
|
|
func (ContainerDriver) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{0}
|
|
}
|
|
|
|
// Common metadata message nested in all reply message types
|
|
type Metadata struct {
|
|
// hostname of the server response comes from (injected by proxy)
|
|
Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
// error is set if request failed to the upstream (rest of response is undefined)
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Metadata) Reset() { *m = Metadata{} }
|
|
func (m *Metadata) String() string { return proto.CompactTextString(m) }
|
|
func (*Metadata) ProtoMessage() {}
|
|
func (*Metadata) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{0}
|
|
}
|
|
|
|
func (m *Metadata) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Metadata.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Metadata.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *Metadata) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Metadata.Merge(m, src)
|
|
}
|
|
|
|
func (m *Metadata) XXX_Size() int {
|
|
return xxx_messageInfo_Metadata.Size(m)
|
|
}
|
|
|
|
func (m *Metadata) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Metadata.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Metadata proto.InternalMessageInfo
|
|
|
|
func (m *Metadata) GetHostname() string {
|
|
if m != nil {
|
|
return m.Hostname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *Metadata) GetError() string {
|
|
if m != nil {
|
|
return m.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Data struct {
|
|
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
Bytes []byte `protobuf:"bytes,2,opt,name=bytes,proto3" json:"bytes,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
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_8f954d82c0b891f6, []int{1}
|
|
}
|
|
|
|
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 (m *Data) XXX_Size() int {
|
|
return xxx_messageInfo_Data.Size(m)
|
|
}
|
|
|
|
func (m *Data) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Data.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Data proto.InternalMessageInfo
|
|
|
|
func (m *Data) GetMetadata() *Metadata {
|
|
if m != nil {
|
|
return m.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Data) GetBytes() []byte {
|
|
if m != nil {
|
|
return m.Bytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DataResponse struct {
|
|
Messages []*Data `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DataResponse) Reset() { *m = DataResponse{} }
|
|
func (m *DataResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DataResponse) ProtoMessage() {}
|
|
func (*DataResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{2}
|
|
}
|
|
|
|
func (m *DataResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DataResponse.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *DataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DataResponse.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *DataResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DataResponse.Merge(m, src)
|
|
}
|
|
|
|
func (m *DataResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DataResponse.Size(m)
|
|
}
|
|
|
|
func (m *DataResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DataResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DataResponse proto.InternalMessageInfo
|
|
|
|
func (m *DataResponse) GetMessages() []*Data {
|
|
if m != nil {
|
|
return m.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Empty struct {
|
|
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Empty) Reset() { *m = Empty{} }
|
|
func (m *Empty) String() string { return proto.CompactTextString(m) }
|
|
func (*Empty) ProtoMessage() {}
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{3}
|
|
}
|
|
|
|
func (m *Empty) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Empty.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Empty.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *Empty) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Empty.Merge(m, src)
|
|
}
|
|
|
|
func (m *Empty) XXX_Size() int {
|
|
return xxx_messageInfo_Empty.Size(m)
|
|
}
|
|
|
|
func (m *Empty) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Empty.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Empty proto.InternalMessageInfo
|
|
|
|
func (m *Empty) GetMetadata() *Metadata {
|
|
if m != nil {
|
|
return m.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EmptyResponse struct {
|
|
Messages []*Empty `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *EmptyResponse) Reset() { *m = EmptyResponse{} }
|
|
func (m *EmptyResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*EmptyResponse) ProtoMessage() {}
|
|
func (*EmptyResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_8f954d82c0b891f6, []int{4}
|
|
}
|
|
|
|
func (m *EmptyResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_EmptyResponse.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_EmptyResponse.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *EmptyResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EmptyResponse.Merge(m, src)
|
|
}
|
|
|
|
func (m *EmptyResponse) XXX_Size() int {
|
|
return xxx_messageInfo_EmptyResponse.Size(m)
|
|
}
|
|
|
|
func (m *EmptyResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EmptyResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EmptyResponse proto.InternalMessageInfo
|
|
|
|
func (m *EmptyResponse) GetMessages() []*Empty {
|
|
if m != nil {
|
|
return m.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterEnum("common.ContainerDriver", ContainerDriver_name, ContainerDriver_value)
|
|
proto.RegisterType((*Metadata)(nil), "common.Metadata")
|
|
proto.RegisterType((*Data)(nil), "common.Data")
|
|
proto.RegisterType((*DataResponse)(nil), "common.DataResponse")
|
|
proto.RegisterType((*Empty)(nil), "common.Empty")
|
|
proto.RegisterType((*EmptyResponse)(nil), "common.EmptyResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("common/common.proto", fileDescriptor_8f954d82c0b891f6) }
|
|
|
|
var fileDescriptor_8f954d82c0b891f6 = []byte{
|
|
// 275 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0x41, 0x4b, 0xc3, 0x40,
|
|
0x10, 0x85, 0x8d, 0xb5, 0x35, 0x4e, 0x53, 0x0d, 0xab, 0x87, 0xe0, 0xa9, 0xe4, 0x94, 0x56, 0x6d,
|
|
0xa0, 0x22, 0x88, 0x78, 0xd1, 0xa4, 0x87, 0x0a, 0x56, 0x58, 0x3c, 0x79, 0xdb, 0xe8, 0xd2, 0x06,
|
|
0xdc, 0x6c, 0xd8, 0x19, 0x85, 0xfc, 0x7b, 0x49, 0x36, 0xc9, 0xc5, 0x53, 0x4f, 0xcb, 0xc7, 0xcc,
|
|
0xfb, 0xde, 0xc2, 0xc0, 0xf9, 0xa7, 0x56, 0x4a, 0x17, 0xb1, 0x7d, 0x16, 0xa5, 0xd1, 0xa4, 0xd9,
|
|
0xc8, 0x52, 0xf8, 0x08, 0xee, 0xab, 0x24, 0xf1, 0x25, 0x48, 0xb0, 0x4b, 0x70, 0x77, 0x1a, 0xa9,
|
|
0x10, 0x4a, 0x06, 0xce, 0xd4, 0x89, 0x4e, 0x78, 0xcf, 0xec, 0x02, 0x86, 0xd2, 0x18, 0x6d, 0x82,
|
|
0xc3, 0x66, 0x60, 0x21, 0x7c, 0x81, 0xa3, 0xb4, 0x4e, 0x5e, 0x83, 0xab, 0x5a, 0x4b, 0x93, 0x1c,
|
|
0x2f, 0xfd, 0x45, 0x5b, 0xd7, 0xd9, 0x79, 0x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