Documentation ¶
Overview ¶
Package metadata provides the "metadata" types needed for package consumers to implement frontend and backend services. These types are generated by protoc-gen-go, and the protobuf definitions are in metadata.proto.
Index ¶
- Variables
- type BackendMetaData
- func (*BackendMetaData) Descriptor() ([]byte, []int)deprecated
- func (x *BackendMetaData) GetTransportInfo() *TransportInfo
- func (x *BackendMetaData) GetUuid() string
- func (*BackendMetaData) ProtoMessage()
- func (x *BackendMetaData) ProtoReflect() protoreflect.Message
- func (x *BackendMetaData) Reset()
- func (x *BackendMetaData) String() string
- type DestinationArgo
- func (*DestinationArgo) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationArgo) GetDomid() string
- func (x *DestinationArgo) GetPort() string
- func (*DestinationArgo) ProtoMessage()
- func (x *DestinationArgo) ProtoReflect() protoreflect.Message
- func (x *DestinationArgo) Reset()
- func (x *DestinationArgo) String() string
- type DestinationIPv4
- func (*DestinationIPv4) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationIPv4) GetAddress() string
- func (x *DestinationIPv4) GetPort() string
- func (*DestinationIPv4) ProtoMessage()
- func (x *DestinationIPv4) ProtoReflect() protoreflect.Message
- func (x *DestinationIPv4) Reset()
- func (x *DestinationIPv4) String() string
- type DestinationIPv6
- func (*DestinationIPv6) Descriptor() ([]byte, []int)deprecated
- func (x *DestinationIPv6) GetAddress() string
- func (x *DestinationIPv6) GetPort() string
- func (*DestinationIPv6) ProtoMessage()
- func (x *DestinationIPv6) ProtoReflect() protoreflect.Message
- func (x *DestinationIPv6) Reset()
- func (x *DestinationIPv6) String() string
- type DestinationSocket
- type FrontendMetaData
- func (*FrontendMetaData) Descriptor() ([]byte, []int)deprecated
- func (x *FrontendMetaData) GetTransportInfo() *TransportInfo
- func (x *FrontendMetaData) GetType() string
- func (x *FrontendMetaData) GetUuid() string
- func (*FrontendMetaData) ProtoMessage()
- func (x *FrontendMetaData) ProtoReflect() protoreflect.Message
- func (x *FrontendMetaData) Reset()
- func (x *FrontendMetaData) String() string
- type TransportInfo
- func (*TransportInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransportInfo) GetArgo() *DestinationArgo
- func (m *TransportInfo) GetDestination() isTransportInfo_Destination
- func (x *TransportInfo) GetIpv4() *DestinationIPv4
- func (x *TransportInfo) GetIpv6() *DestinationIPv6
- func (x *TransportInfo) GetSocket() *DestinationSocket
- func (x *TransportInfo) GetType() TransportInfo_Type
- func (*TransportInfo) ProtoMessage()
- func (x *TransportInfo) ProtoReflect() protoreflect.Message
- func (x *TransportInfo) Reset()
- func (x *TransportInfo) String() string
- type TransportInfo_Argo
- type TransportInfo_Ipv4
- type TransportInfo_Ipv6
- type TransportInfo_Socket
- type TransportInfo_Type
- func (TransportInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x TransportInfo_Type) Enum() *TransportInfo_Type
- func (TransportInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransportInfo_Type) Number() protoreflect.EnumNumber
- func (x TransportInfo_Type) String() string
- func (TransportInfo_Type) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( TransportInfo_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "IPV4", 2: "IPV6", 3: "SOCKET", 4: "ARGO", } TransportInfo_Type_value = map[string]int32{ "UNSPECIFIED": 0, "IPV4": 1, "IPV6": 2, "SOCKET": 3, "ARGO": 4, } )
Enum value maps for TransportInfo_Type.
var File_metadata_metadata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BackendMetaData ¶
type BackendMetaData struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` TransportInfo *TransportInfo `protobuf:"bytes,2,opt,name=transport_info,json=transportInfo,proto3" json:"transport_info,omitempty"` // contains filtered or unexported fields }
func (*BackendMetaData) Descriptor
deprecated
func (*BackendMetaData) Descriptor() ([]byte, []int)
Deprecated: Use BackendMetaData.ProtoReflect.Descriptor instead.
func (*BackendMetaData) GetTransportInfo ¶
func (x *BackendMetaData) GetTransportInfo() *TransportInfo
func (*BackendMetaData) GetUuid ¶
func (x *BackendMetaData) GetUuid() string
func (*BackendMetaData) ProtoMessage ¶
func (*BackendMetaData) ProtoMessage()
func (*BackendMetaData) ProtoReflect ¶
func (x *BackendMetaData) ProtoReflect() protoreflect.Message
func (*BackendMetaData) Reset ¶
func (x *BackendMetaData) Reset()
func (*BackendMetaData) String ¶
func (x *BackendMetaData) String() string
type DestinationArgo ¶
type DestinationArgo struct { Domid string `protobuf:"bytes,1,opt,name=domid,proto3" json:"domid,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*DestinationArgo) Descriptor
deprecated
func (*DestinationArgo) Descriptor() ([]byte, []int)
Deprecated: Use DestinationArgo.ProtoReflect.Descriptor instead.
func (*DestinationArgo) GetDomid ¶
func (x *DestinationArgo) GetDomid() string
func (*DestinationArgo) GetPort ¶
func (x *DestinationArgo) GetPort() string
func (*DestinationArgo) ProtoMessage ¶
func (*DestinationArgo) ProtoMessage()
func (*DestinationArgo) ProtoReflect ¶
func (x *DestinationArgo) ProtoReflect() protoreflect.Message
func (*DestinationArgo) Reset ¶
func (x *DestinationArgo) Reset()
func (*DestinationArgo) String ¶
func (x *DestinationArgo) String() string
type DestinationIPv4 ¶
type DestinationIPv4 struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*DestinationIPv4) Descriptor
deprecated
func (*DestinationIPv4) Descriptor() ([]byte, []int)
Deprecated: Use DestinationIPv4.ProtoReflect.Descriptor instead.
func (*DestinationIPv4) GetAddress ¶
func (x *DestinationIPv4) GetAddress() string
func (*DestinationIPv4) GetPort ¶
func (x *DestinationIPv4) GetPort() string
func (*DestinationIPv4) ProtoMessage ¶
func (*DestinationIPv4) ProtoMessage()
func (*DestinationIPv4) ProtoReflect ¶
func (x *DestinationIPv4) ProtoReflect() protoreflect.Message
func (*DestinationIPv4) Reset ¶
func (x *DestinationIPv4) Reset()
func (*DestinationIPv4) String ¶
func (x *DestinationIPv4) String() string
type DestinationIPv6 ¶
type DestinationIPv6 struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Port string `protobuf:"bytes,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*DestinationIPv6) Descriptor
deprecated
func (*DestinationIPv6) Descriptor() ([]byte, []int)
Deprecated: Use DestinationIPv6.ProtoReflect.Descriptor instead.
func (*DestinationIPv6) GetAddress ¶
func (x *DestinationIPv6) GetAddress() string
func (*DestinationIPv6) GetPort ¶
func (x *DestinationIPv6) GetPort() string
func (*DestinationIPv6) ProtoMessage ¶
func (*DestinationIPv6) ProtoMessage()
func (*DestinationIPv6) ProtoReflect ¶
func (x *DestinationIPv6) ProtoReflect() protoreflect.Message
func (*DestinationIPv6) Reset ¶
func (x *DestinationIPv6) Reset()
func (*DestinationIPv6) String ¶
func (x *DestinationIPv6) String() string
type DestinationSocket ¶
type DestinationSocket struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*DestinationSocket) Descriptor
deprecated
func (*DestinationSocket) Descriptor() ([]byte, []int)
Deprecated: Use DestinationSocket.ProtoReflect.Descriptor instead.
func (*DestinationSocket) GetPath ¶
func (x *DestinationSocket) GetPath() string
func (*DestinationSocket) ProtoMessage ¶
func (*DestinationSocket) ProtoMessage()
func (*DestinationSocket) ProtoReflect ¶
func (x *DestinationSocket) ProtoReflect() protoreflect.Message
func (*DestinationSocket) Reset ¶
func (x *DestinationSocket) Reset()
func (*DestinationSocket) String ¶
func (x *DestinationSocket) String() string
type FrontendMetaData ¶
type FrontendMetaData struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` TransportInfo *TransportInfo `protobuf:"bytes,2,opt,name=transport_info,json=transportInfo,proto3" json:"transport_info,omitempty"` // The type field is used for frontend // implementations to describe their // type, or purpose. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*FrontendMetaData) Descriptor
deprecated
func (*FrontendMetaData) Descriptor() ([]byte, []int)
Deprecated: Use FrontendMetaData.ProtoReflect.Descriptor instead.
func (*FrontendMetaData) GetTransportInfo ¶
func (x *FrontendMetaData) GetTransportInfo() *TransportInfo
func (*FrontendMetaData) GetType ¶
func (x *FrontendMetaData) GetType() string
func (*FrontendMetaData) GetUuid ¶
func (x *FrontendMetaData) GetUuid() string
func (*FrontendMetaData) ProtoMessage ¶
func (*FrontendMetaData) ProtoMessage()
func (*FrontendMetaData) ProtoReflect ¶
func (x *FrontendMetaData) ProtoReflect() protoreflect.Message
func (*FrontendMetaData) Reset ¶
func (x *FrontendMetaData) Reset()
func (*FrontendMetaData) String ¶
func (x *FrontendMetaData) String() string
type TransportInfo ¶
type TransportInfo struct { Type TransportInfo_Type `protobuf:"varint,1,opt,name=type,proto3,enum=metadata.TransportInfo_Type" json:"type,omitempty"` // Types that are assignable to Destination: // *TransportInfo_Ipv4 // *TransportInfo_Ipv6 // *TransportInfo_Socket // *TransportInfo_Argo Destination isTransportInfo_Destination `protobuf_oneof:"Destination"` // contains filtered or unexported fields }
func (*TransportInfo) Descriptor
deprecated
func (*TransportInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransportInfo.ProtoReflect.Descriptor instead.
func (*TransportInfo) GetArgo ¶
func (x *TransportInfo) GetArgo() *DestinationArgo
func (*TransportInfo) GetDestination ¶
func (m *TransportInfo) GetDestination() isTransportInfo_Destination
func (*TransportInfo) GetIpv4 ¶
func (x *TransportInfo) GetIpv4() *DestinationIPv4
func (*TransportInfo) GetIpv6 ¶
func (x *TransportInfo) GetIpv6() *DestinationIPv6
func (*TransportInfo) GetSocket ¶
func (x *TransportInfo) GetSocket() *DestinationSocket
func (*TransportInfo) GetType ¶
func (x *TransportInfo) GetType() TransportInfo_Type
func (*TransportInfo) ProtoMessage ¶
func (*TransportInfo) ProtoMessage()
func (*TransportInfo) ProtoReflect ¶
func (x *TransportInfo) ProtoReflect() protoreflect.Message
func (*TransportInfo) Reset ¶
func (x *TransportInfo) Reset()
func (*TransportInfo) String ¶
func (x *TransportInfo) String() string
type TransportInfo_Argo ¶
type TransportInfo_Argo struct {
Argo *DestinationArgo `protobuf:"bytes,5,opt,name=argo,proto3,oneof"`
}
type TransportInfo_Ipv4 ¶
type TransportInfo_Ipv4 struct {
Ipv4 *DestinationIPv4 `protobuf:"bytes,2,opt,name=ipv4,proto3,oneof"`
}
type TransportInfo_Ipv6 ¶
type TransportInfo_Ipv6 struct {
Ipv6 *DestinationIPv6 `protobuf:"bytes,3,opt,name=ipv6,proto3,oneof"`
}
type TransportInfo_Socket ¶
type TransportInfo_Socket struct {
Socket *DestinationSocket `protobuf:"bytes,4,opt,name=socket,proto3,oneof"`
}
type TransportInfo_Type ¶
type TransportInfo_Type int32
const ( TransportInfo_UNSPECIFIED TransportInfo_Type = 0 TransportInfo_IPV4 TransportInfo_Type = 1 TransportInfo_IPV6 TransportInfo_Type = 2 TransportInfo_SOCKET TransportInfo_Type = 3 TransportInfo_ARGO TransportInfo_Type = 4 )
func (TransportInfo_Type) Descriptor ¶
func (TransportInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (TransportInfo_Type) Enum ¶
func (x TransportInfo_Type) Enum() *TransportInfo_Type
func (TransportInfo_Type) EnumDescriptor
deprecated
func (TransportInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransportInfo_Type.Descriptor instead.
func (TransportInfo_Type) Number ¶
func (x TransportInfo_Type) Number() protoreflect.EnumNumber
func (TransportInfo_Type) String ¶
func (x TransportInfo_Type) String() string
func (TransportInfo_Type) Type ¶
func (TransportInfo_Type) Type() protoreflect.EnumType