Documentation ¶
Index ¶
- Variables
- type VersionInfo
- func (*VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VersionInfo) GetApiVersion() int32
- func (x *VersionInfo) GetVersion() string
- func (*VersionInfo) ProtoMessage()
- func (x *VersionInfo) ProtoReflect() protoreflect.Message
- func (x *VersionInfo) Reset()
- func (x *VersionInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rpc_common_version_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type VersionInfo ¶
type VersionInfo struct { // ApiVersion is probably unescessary, as it only gets bumped for // things that are detectable other ways, but it's here anyway. // // - api_version=1 was edgectl's original JSON-based API that was // served on `/var/run/edgectl.socket`. // // - api_version=2 was edgectl's gRPC-based (`package edgectl`) API // that was served on `/var/run/edgectl-daemon.socket`. // // - api_version=3 is the current Telepresence 2 gRPC-based // (`package telepresence.{sub}`) API: // // + `telepresence.connector` is served on `/tmp/telepresence-connector.socket`. // + `telepresence.daemon` is served on `/var/run/telepresence-daemon.socket`. // + `telepresence.manager` is served on TCP `:8081` (by default) on the traffic-manager Pod. // + `telepresence.systema` is served on TCP+TLS `app.getambassador.io:443` (by default). // // This is largely just a rename and split of api_version=2, // since the product is called "telepresence" now instead of // "edgectl" and the "connector" and the "daemon" are now two // separate things. ApiVersion int32 `protobuf:"varint,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // Version is a "vSEMVER" string of the product version number. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
VersionInfo is the type that both `telepresence daemon` (the super-user daemon) and `telepresence conector` (the normal-user daemon) use when reporting their version to the user-facing CLI.
func (*VersionInfo) Descriptor
deprecated
func (*VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use VersionInfo.ProtoReflect.Descriptor instead.
func (*VersionInfo) GetApiVersion ¶
func (x *VersionInfo) GetApiVersion() int32
func (*VersionInfo) GetVersion ¶
func (x *VersionInfo) GetVersion() string
func (*VersionInfo) ProtoMessage ¶
func (*VersionInfo) ProtoMessage()
func (*VersionInfo) ProtoReflect ¶
func (x *VersionInfo) ProtoReflect() protoreflect.Message
func (*VersionInfo) Reset ¶
func (x *VersionInfo) Reset()
func (*VersionInfo) String ¶
func (x *VersionInfo) String() string
Click to show internal directories.
Click to hide internal directories.