talos/api/machine/machine.pb.go
Andrew Rynhard 69fa63a7b2 refactor: perform upgrade upon reboot
This PR introduces a new strategy for upgrades. Instead of attempting to
zap the partition table, create a new one, and then format the
partitions, this change will only update the `vmlinuz`, and
`initramfs.xz` being used to boot. It introduces an A/B style upgrade
process, which will allow for easy rollbacks. One deviation from our
original intention with upgrades is that this change does not completely
reset a node. It falls just short of that and does not reset the
partition table. This forces us to keep the current partition scheme in
mind as we make changes in the future, because an upgrade assumes a
specific partition scheme. We can improve upgrades further in the
future, but this will at least make them more dependable. Finally, one
more feature in this PR is the ability to keep state. This enables
single node clusters to upgrade since we keep the etcd data around.

Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
2020-03-20 17:32:18 -07:00

3045 lines
97 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: machine/machine.proto
package machine
import (
context "context"
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
empty "github.com/golang/protobuf/ptypes/empty"
timestamp "github.com/golang/protobuf/ptypes/timestamp"
grpc "google.golang.org/grpc"
common "github.com/talos-systems/talos/api/common"
)
// 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
// rpc reboot
// The reboot message containing the reboot status.
type Reboot struct {
Metadata *common.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 *Reboot) Reset() { *m = Reboot{} }
func (m *Reboot) String() string { return proto.CompactTextString(m) }
func (*Reboot) ProtoMessage() {}
func (*Reboot) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{0}
}
func (m *Reboot) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Reboot.Unmarshal(m, b)
}
func (m *Reboot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Reboot.Marshal(b, m, deterministic)
}
func (m *Reboot) XXX_Merge(src proto.Message) {
xxx_messageInfo_Reboot.Merge(m, src)
}
func (m *Reboot) XXX_Size() int {
return xxx_messageInfo_Reboot.Size(m)
}
func (m *Reboot) XXX_DiscardUnknown() {
xxx_messageInfo_Reboot.DiscardUnknown(m)
}
var xxx_messageInfo_Reboot proto.InternalMessageInfo
func (m *Reboot) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
type RebootResponse struct {
Messages []*Reboot `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RebootResponse) Reset() { *m = RebootResponse{} }
func (m *RebootResponse) String() string { return proto.CompactTextString(m) }
func (*RebootResponse) ProtoMessage() {}
func (*RebootResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{1}
}
func (m *RebootResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RebootResponse.Unmarshal(m, b)
}
func (m *RebootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RebootResponse.Marshal(b, m, deterministic)
}
func (m *RebootResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RebootResponse.Merge(m, src)
}
func (m *RebootResponse) XXX_Size() int {
return xxx_messageInfo_RebootResponse.Size(m)
}
func (m *RebootResponse) XXX_DiscardUnknown() {
xxx_messageInfo_RebootResponse.DiscardUnknown(m)
}
var xxx_messageInfo_RebootResponse proto.InternalMessageInfo
func (m *RebootResponse) GetMessages() []*Reboot {
if m != nil {
return m.Messages
}
return nil
}
// rpc reset
type ResetRequest struct {
Graceful bool `protobuf:"varint,1,opt,name=graceful,proto3" json:"graceful,omitempty"`
Reboot bool `protobuf:"varint,2,opt,name=reboot,proto3" json:"reboot,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResetRequest) Reset() { *m = ResetRequest{} }
func (m *ResetRequest) String() string { return proto.CompactTextString(m) }
func (*ResetRequest) ProtoMessage() {}
func (*ResetRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{2}
}
func (m *ResetRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResetRequest.Unmarshal(m, b)
}
func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResetRequest.Marshal(b, m, deterministic)
}
func (m *ResetRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResetRequest.Merge(m, src)
}
func (m *ResetRequest) XXX_Size() int {
return xxx_messageInfo_ResetRequest.Size(m)
}
func (m *ResetRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ResetRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ResetRequest proto.InternalMessageInfo
func (m *ResetRequest) GetGraceful() bool {
if m != nil {
return m.Graceful
}
return false
}
func (m *ResetRequest) GetReboot() bool {
if m != nil {
return m.Reboot
}
return false
}
// The reset message containing the restart status.
type Reset struct {
Metadata *common.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 *Reset) Reset() { *m = Reset{} }
func (m *Reset) String() string { return proto.CompactTextString(m) }
func (*Reset) ProtoMessage() {}
func (*Reset) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{3}
}
func (m *Reset) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Reset.Unmarshal(m, b)
}
func (m *Reset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Reset.Marshal(b, m, deterministic)
}
func (m *Reset) XXX_Merge(src proto.Message) {
xxx_messageInfo_Reset.Merge(m, src)
}
func (m *Reset) XXX_Size() int {
return xxx_messageInfo_Reset.Size(m)
}
func (m *Reset) XXX_DiscardUnknown() {
xxx_messageInfo_Reset.DiscardUnknown(m)
}
var xxx_messageInfo_Reset proto.InternalMessageInfo
func (m *Reset) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
type ResetResponse struct {
Messages []*Reset `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResetResponse) Reset() { *m = ResetResponse{} }
func (m *ResetResponse) String() string { return proto.CompactTextString(m) }
func (*ResetResponse) ProtoMessage() {}
func (*ResetResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{4}
}
func (m *ResetResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResetResponse.Unmarshal(m, b)
}
func (m *ResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResetResponse.Marshal(b, m, deterministic)
}
func (m *ResetResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResetResponse.Merge(m, src)
}
func (m *ResetResponse) XXX_Size() int {
return xxx_messageInfo_ResetResponse.Size(m)
}
func (m *ResetResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ResetResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ResetResponse proto.InternalMessageInfo
func (m *ResetResponse) GetMessages() []*Reset {
if m != nil {
return m.Messages
}
return nil
}
// rpc shutdown
// The messages message containing the shutdown status.
type Shutdown struct {
Metadata *common.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 *Shutdown) Reset() { *m = Shutdown{} }
func (m *Shutdown) String() string { return proto.CompactTextString(m) }
func (*Shutdown) ProtoMessage() {}
func (*Shutdown) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{5}
}
func (m *Shutdown) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Shutdown.Unmarshal(m, b)
}
func (m *Shutdown) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Shutdown.Marshal(b, m, deterministic)
}
func (m *Shutdown) XXX_Merge(src proto.Message) {
xxx_messageInfo_Shutdown.Merge(m, src)
}
func (m *Shutdown) XXX_Size() int {
return xxx_messageInfo_Shutdown.Size(m)
}
func (m *Shutdown) XXX_DiscardUnknown() {
xxx_messageInfo_Shutdown.DiscardUnknown(m)
}
var xxx_messageInfo_Shutdown proto.InternalMessageInfo
func (m *Shutdown) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
type ShutdownResponse struct {
Messages []*Shutdown `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShutdownResponse) Reset() { *m = ShutdownResponse{} }
func (m *ShutdownResponse) String() string { return proto.CompactTextString(m) }
func (*ShutdownResponse) ProtoMessage() {}
func (*ShutdownResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{6}
}
func (m *ShutdownResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ShutdownResponse.Unmarshal(m, b)
}
func (m *ShutdownResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ShutdownResponse.Marshal(b, m, deterministic)
}
func (m *ShutdownResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ShutdownResponse.Merge(m, src)
}
func (m *ShutdownResponse) XXX_Size() int {
return xxx_messageInfo_ShutdownResponse.Size(m)
}
func (m *ShutdownResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ShutdownResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ShutdownResponse proto.InternalMessageInfo
func (m *ShutdownResponse) GetMessages() []*Shutdown {
if m != nil {
return m.Messages
}
return nil
}
// rpc upgrade
type UpgradeRequest struct {
Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
Preserve bool `protobuf:"varint,2,opt,name=preserve,proto3" json:"preserve,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpgradeRequest) Reset() { *m = UpgradeRequest{} }
func (m *UpgradeRequest) String() string { return proto.CompactTextString(m) }
func (*UpgradeRequest) ProtoMessage() {}
func (*UpgradeRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{7}
}
func (m *UpgradeRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpgradeRequest.Unmarshal(m, b)
}
func (m *UpgradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpgradeRequest.Marshal(b, m, deterministic)
}
func (m *UpgradeRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpgradeRequest.Merge(m, src)
}
func (m *UpgradeRequest) XXX_Size() int {
return xxx_messageInfo_UpgradeRequest.Size(m)
}
func (m *UpgradeRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpgradeRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpgradeRequest proto.InternalMessageInfo
func (m *UpgradeRequest) GetImage() string {
if m != nil {
return m.Image
}
return ""
}
func (m *UpgradeRequest) GetPreserve() bool {
if m != nil {
return m.Preserve
}
return false
}
type Upgrade struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Ack string `protobuf:"bytes,2,opt,name=ack,proto3" json:"ack,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Upgrade) Reset() { *m = Upgrade{} }
func (m *Upgrade) String() string { return proto.CompactTextString(m) }
func (*Upgrade) ProtoMessage() {}
func (*Upgrade) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{8}
}
func (m *Upgrade) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Upgrade.Unmarshal(m, b)
}
func (m *Upgrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Upgrade.Marshal(b, m, deterministic)
}
func (m *Upgrade) XXX_Merge(src proto.Message) {
xxx_messageInfo_Upgrade.Merge(m, src)
}
func (m *Upgrade) XXX_Size() int {
return xxx_messageInfo_Upgrade.Size(m)
}
func (m *Upgrade) XXX_DiscardUnknown() {
xxx_messageInfo_Upgrade.DiscardUnknown(m)
}
var xxx_messageInfo_Upgrade proto.InternalMessageInfo
func (m *Upgrade) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Upgrade) GetAck() string {
if m != nil {
return m.Ack
}
return ""
}
type UpgradeResponse struct {
Messages []*Upgrade `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpgradeResponse) Reset() { *m = UpgradeResponse{} }
func (m *UpgradeResponse) String() string { return proto.CompactTextString(m) }
func (*UpgradeResponse) ProtoMessage() {}
func (*UpgradeResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{9}
}
func (m *UpgradeResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpgradeResponse.Unmarshal(m, b)
}
func (m *UpgradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpgradeResponse.Marshal(b, m, deterministic)
}
func (m *UpgradeResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpgradeResponse.Merge(m, src)
}
func (m *UpgradeResponse) XXX_Size() int {
return xxx_messageInfo_UpgradeResponse.Size(m)
}
func (m *UpgradeResponse) XXX_DiscardUnknown() {
xxx_messageInfo_UpgradeResponse.DiscardUnknown(m)
}
var xxx_messageInfo_UpgradeResponse proto.InternalMessageInfo
func (m *UpgradeResponse) GetMessages() []*Upgrade {
if m != nil {
return m.Messages
}
return nil
}
// rpc servicelist
type ServiceList struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Services []*ServiceInfo `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceList) Reset() { *m = ServiceList{} }
func (m *ServiceList) String() string { return proto.CompactTextString(m) }
func (*ServiceList) ProtoMessage() {}
func (*ServiceList) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{10}
}
func (m *ServiceList) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceList.Unmarshal(m, b)
}
func (m *ServiceList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceList.Marshal(b, m, deterministic)
}
func (m *ServiceList) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceList.Merge(m, src)
}
func (m *ServiceList) XXX_Size() int {
return xxx_messageInfo_ServiceList.Size(m)
}
func (m *ServiceList) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceList.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceList proto.InternalMessageInfo
func (m *ServiceList) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *ServiceList) GetServices() []*ServiceInfo {
if m != nil {
return m.Services
}
return nil
}
type ServiceListResponse struct {
Messages []*ServiceList `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceListResponse) Reset() { *m = ServiceListResponse{} }
func (m *ServiceListResponse) String() string { return proto.CompactTextString(m) }
func (*ServiceListResponse) ProtoMessage() {}
func (*ServiceListResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{11}
}
func (m *ServiceListResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceListResponse.Unmarshal(m, b)
}
func (m *ServiceListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceListResponse.Marshal(b, m, deterministic)
}
func (m *ServiceListResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceListResponse.Merge(m, src)
}
func (m *ServiceListResponse) XXX_Size() int {
return xxx_messageInfo_ServiceListResponse.Size(m)
}
func (m *ServiceListResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceListResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceListResponse proto.InternalMessageInfo
func (m *ServiceListResponse) GetMessages() []*ServiceList {
if m != nil {
return m.Messages
}
return nil
}
type ServiceInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
Events *ServiceEvents `protobuf:"bytes,3,opt,name=events,proto3" json:"events,omitempty"`
Health *ServiceHealth `protobuf:"bytes,4,opt,name=health,proto3" json:"health,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceInfo) Reset() { *m = ServiceInfo{} }
func (m *ServiceInfo) String() string { return proto.CompactTextString(m) }
func (*ServiceInfo) ProtoMessage() {}
func (*ServiceInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{12}
}
func (m *ServiceInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceInfo.Unmarshal(m, b)
}
func (m *ServiceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceInfo.Marshal(b, m, deterministic)
}
func (m *ServiceInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceInfo.Merge(m, src)
}
func (m *ServiceInfo) XXX_Size() int {
return xxx_messageInfo_ServiceInfo.Size(m)
}
func (m *ServiceInfo) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceInfo.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceInfo proto.InternalMessageInfo
func (m *ServiceInfo) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ServiceInfo) GetState() string {
if m != nil {
return m.State
}
return ""
}
func (m *ServiceInfo) GetEvents() *ServiceEvents {
if m != nil {
return m.Events
}
return nil
}
func (m *ServiceInfo) GetHealth() *ServiceHealth {
if m != nil {
return m.Health
}
return nil
}
type ServiceEvents struct {
Events []*ServiceEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceEvents) Reset() { *m = ServiceEvents{} }
func (m *ServiceEvents) String() string { return proto.CompactTextString(m) }
func (*ServiceEvents) ProtoMessage() {}
func (*ServiceEvents) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{13}
}
func (m *ServiceEvents) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceEvents.Unmarshal(m, b)
}
func (m *ServiceEvents) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceEvents.Marshal(b, m, deterministic)
}
func (m *ServiceEvents) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceEvents.Merge(m, src)
}
func (m *ServiceEvents) XXX_Size() int {
return xxx_messageInfo_ServiceEvents.Size(m)
}
func (m *ServiceEvents) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceEvents.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceEvents proto.InternalMessageInfo
func (m *ServiceEvents) GetEvents() []*ServiceEvent {
if m != nil {
return m.Events
}
return nil
}
type ServiceEvent struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
Ts *timestamp.Timestamp `protobuf:"bytes,3,opt,name=ts,proto3" json:"ts,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceEvent) Reset() { *m = ServiceEvent{} }
func (m *ServiceEvent) String() string { return proto.CompactTextString(m) }
func (*ServiceEvent) ProtoMessage() {}
func (*ServiceEvent) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{14}
}
func (m *ServiceEvent) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceEvent.Unmarshal(m, b)
}
func (m *ServiceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceEvent.Marshal(b, m, deterministic)
}
func (m *ServiceEvent) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceEvent.Merge(m, src)
}
func (m *ServiceEvent) XXX_Size() int {
return xxx_messageInfo_ServiceEvent.Size(m)
}
func (m *ServiceEvent) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceEvent.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceEvent proto.InternalMessageInfo
func (m *ServiceEvent) GetMsg() string {
if m != nil {
return m.Msg
}
return ""
}
func (m *ServiceEvent) GetState() string {
if m != nil {
return m.State
}
return ""
}
func (m *ServiceEvent) GetTs() *timestamp.Timestamp {
if m != nil {
return m.Ts
}
return nil
}
type ServiceHealth struct {
Unknown bool `protobuf:"varint,1,opt,name=unknown,proto3" json:"unknown,omitempty"`
Healthy bool `protobuf:"varint,2,opt,name=healthy,proto3" json:"healthy,omitempty"`
LastMessage string `protobuf:"bytes,3,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
LastChange *timestamp.Timestamp `protobuf:"bytes,4,opt,name=last_change,json=lastChange,proto3" json:"last_change,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceHealth) Reset() { *m = ServiceHealth{} }
func (m *ServiceHealth) String() string { return proto.CompactTextString(m) }
func (*ServiceHealth) ProtoMessage() {}
func (*ServiceHealth) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{15}
}
func (m *ServiceHealth) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceHealth.Unmarshal(m, b)
}
func (m *ServiceHealth) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceHealth.Marshal(b, m, deterministic)
}
func (m *ServiceHealth) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceHealth.Merge(m, src)
}
func (m *ServiceHealth) XXX_Size() int {
return xxx_messageInfo_ServiceHealth.Size(m)
}
func (m *ServiceHealth) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceHealth.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceHealth proto.InternalMessageInfo
func (m *ServiceHealth) GetUnknown() bool {
if m != nil {
return m.Unknown
}
return false
}
func (m *ServiceHealth) GetHealthy() bool {
if m != nil {
return m.Healthy
}
return false
}
func (m *ServiceHealth) GetLastMessage() string {
if m != nil {
return m.LastMessage
}
return ""
}
func (m *ServiceHealth) GetLastChange() *timestamp.Timestamp {
if m != nil {
return m.LastChange
}
return nil
}
// rpc servicestart
type ServiceStartRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStartRequest) Reset() { *m = ServiceStartRequest{} }
func (m *ServiceStartRequest) String() string { return proto.CompactTextString(m) }
func (*ServiceStartRequest) ProtoMessage() {}
func (*ServiceStartRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{16}
}
func (m *ServiceStartRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStartRequest.Unmarshal(m, b)
}
func (m *ServiceStartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStartRequest.Marshal(b, m, deterministic)
}
func (m *ServiceStartRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStartRequest.Merge(m, src)
}
func (m *ServiceStartRequest) XXX_Size() int {
return xxx_messageInfo_ServiceStartRequest.Size(m)
}
func (m *ServiceStartRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStartRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStartRequest proto.InternalMessageInfo
func (m *ServiceStartRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ServiceStart struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStart) Reset() { *m = ServiceStart{} }
func (m *ServiceStart) String() string { return proto.CompactTextString(m) }
func (*ServiceStart) ProtoMessage() {}
func (*ServiceStart) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{17}
}
func (m *ServiceStart) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStart.Unmarshal(m, b)
}
func (m *ServiceStart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStart.Marshal(b, m, deterministic)
}
func (m *ServiceStart) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStart.Merge(m, src)
}
func (m *ServiceStart) XXX_Size() int {
return xxx_messageInfo_ServiceStart.Size(m)
}
func (m *ServiceStart) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStart.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStart proto.InternalMessageInfo
func (m *ServiceStart) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *ServiceStart) GetResp() string {
if m != nil {
return m.Resp
}
return ""
}
type ServiceStartResponse struct {
Messages []*ServiceStart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStartResponse) Reset() { *m = ServiceStartResponse{} }
func (m *ServiceStartResponse) String() string { return proto.CompactTextString(m) }
func (*ServiceStartResponse) ProtoMessage() {}
func (*ServiceStartResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{18}
}
func (m *ServiceStartResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStartResponse.Unmarshal(m, b)
}
func (m *ServiceStartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStartResponse.Marshal(b, m, deterministic)
}
func (m *ServiceStartResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStartResponse.Merge(m, src)
}
func (m *ServiceStartResponse) XXX_Size() int {
return xxx_messageInfo_ServiceStartResponse.Size(m)
}
func (m *ServiceStartResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStartResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStartResponse proto.InternalMessageInfo
func (m *ServiceStartResponse) GetMessages() []*ServiceStart {
if m != nil {
return m.Messages
}
return nil
}
type ServiceStopRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStopRequest) Reset() { *m = ServiceStopRequest{} }
func (m *ServiceStopRequest) String() string { return proto.CompactTextString(m) }
func (*ServiceStopRequest) ProtoMessage() {}
func (*ServiceStopRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{19}
}
func (m *ServiceStopRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStopRequest.Unmarshal(m, b)
}
func (m *ServiceStopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStopRequest.Marshal(b, m, deterministic)
}
func (m *ServiceStopRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStopRequest.Merge(m, src)
}
func (m *ServiceStopRequest) XXX_Size() int {
return xxx_messageInfo_ServiceStopRequest.Size(m)
}
func (m *ServiceStopRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStopRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStopRequest proto.InternalMessageInfo
func (m *ServiceStopRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ServiceStop struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStop) Reset() { *m = ServiceStop{} }
func (m *ServiceStop) String() string { return proto.CompactTextString(m) }
func (*ServiceStop) ProtoMessage() {}
func (*ServiceStop) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{20}
}
func (m *ServiceStop) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStop.Unmarshal(m, b)
}
func (m *ServiceStop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStop.Marshal(b, m, deterministic)
}
func (m *ServiceStop) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStop.Merge(m, src)
}
func (m *ServiceStop) XXX_Size() int {
return xxx_messageInfo_ServiceStop.Size(m)
}
func (m *ServiceStop) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStop.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStop proto.InternalMessageInfo
func (m *ServiceStop) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *ServiceStop) GetResp() string {
if m != nil {
return m.Resp
}
return ""
}
type ServiceStopResponse struct {
Messages []*ServiceStop `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceStopResponse) Reset() { *m = ServiceStopResponse{} }
func (m *ServiceStopResponse) String() string { return proto.CompactTextString(m) }
func (*ServiceStopResponse) ProtoMessage() {}
func (*ServiceStopResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{21}
}
func (m *ServiceStopResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceStopResponse.Unmarshal(m, b)
}
func (m *ServiceStopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceStopResponse.Marshal(b, m, deterministic)
}
func (m *ServiceStopResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceStopResponse.Merge(m, src)
}
func (m *ServiceStopResponse) XXX_Size() int {
return xxx_messageInfo_ServiceStopResponse.Size(m)
}
func (m *ServiceStopResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceStopResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceStopResponse proto.InternalMessageInfo
func (m *ServiceStopResponse) GetMessages() []*ServiceStop {
if m != nil {
return m.Messages
}
return nil
}
type ServiceRestartRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceRestartRequest) Reset() { *m = ServiceRestartRequest{} }
func (m *ServiceRestartRequest) String() string { return proto.CompactTextString(m) }
func (*ServiceRestartRequest) ProtoMessage() {}
func (*ServiceRestartRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{22}
}
func (m *ServiceRestartRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceRestartRequest.Unmarshal(m, b)
}
func (m *ServiceRestartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceRestartRequest.Marshal(b, m, deterministic)
}
func (m *ServiceRestartRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceRestartRequest.Merge(m, src)
}
func (m *ServiceRestartRequest) XXX_Size() int {
return xxx_messageInfo_ServiceRestartRequest.Size(m)
}
func (m *ServiceRestartRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceRestartRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceRestartRequest proto.InternalMessageInfo
func (m *ServiceRestartRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ServiceRestart struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Resp string `protobuf:"bytes,2,opt,name=resp,proto3" json:"resp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceRestart) Reset() { *m = ServiceRestart{} }
func (m *ServiceRestart) String() string { return proto.CompactTextString(m) }
func (*ServiceRestart) ProtoMessage() {}
func (*ServiceRestart) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{23}
}
func (m *ServiceRestart) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceRestart.Unmarshal(m, b)
}
func (m *ServiceRestart) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceRestart.Marshal(b, m, deterministic)
}
func (m *ServiceRestart) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceRestart.Merge(m, src)
}
func (m *ServiceRestart) XXX_Size() int {
return xxx_messageInfo_ServiceRestart.Size(m)
}
func (m *ServiceRestart) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceRestart.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceRestart proto.InternalMessageInfo
func (m *ServiceRestart) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *ServiceRestart) GetResp() string {
if m != nil {
return m.Resp
}
return ""
}
type ServiceRestartResponse struct {
Messages []*ServiceRestart `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceRestartResponse) Reset() { *m = ServiceRestartResponse{} }
func (m *ServiceRestartResponse) String() string { return proto.CompactTextString(m) }
func (*ServiceRestartResponse) ProtoMessage() {}
func (*ServiceRestartResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{24}
}
func (m *ServiceRestartResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceRestartResponse.Unmarshal(m, b)
}
func (m *ServiceRestartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceRestartResponse.Marshal(b, m, deterministic)
}
func (m *ServiceRestartResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceRestartResponse.Merge(m, src)
}
func (m *ServiceRestartResponse) XXX_Size() int {
return xxx_messageInfo_ServiceRestartResponse.Size(m)
}
func (m *ServiceRestartResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceRestartResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceRestartResponse proto.InternalMessageInfo
func (m *ServiceRestartResponse) GetMessages() []*ServiceRestart {
if m != nil {
return m.Messages
}
return nil
}
// Deprecated: Do not use.
type StartRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StartRequest) Reset() { *m = StartRequest{} }
func (m *StartRequest) String() string { return proto.CompactTextString(m) }
func (*StartRequest) ProtoMessage() {}
func (*StartRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{25}
}
func (m *StartRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartRequest.Unmarshal(m, b)
}
func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StartRequest.Marshal(b, m, deterministic)
}
func (m *StartRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartRequest.Merge(m, src)
}
func (m *StartRequest) XXX_Size() int {
return xxx_messageInfo_StartRequest.Size(m)
}
func (m *StartRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StartRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StartRequest proto.InternalMessageInfo
func (m *StartRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
// Deprecated: Do not use.
type StartResponse struct {
Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StartResponse) Reset() { *m = StartResponse{} }
func (m *StartResponse) String() string { return proto.CompactTextString(m) }
func (*StartResponse) ProtoMessage() {}
func (*StartResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{26}
}
func (m *StartResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StartResponse.Unmarshal(m, b)
}
func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StartResponse.Marshal(b, m, deterministic)
}
func (m *StartResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StartResponse.Merge(m, src)
}
func (m *StartResponse) XXX_Size() int {
return xxx_messageInfo_StartResponse.Size(m)
}
func (m *StartResponse) XXX_DiscardUnknown() {
xxx_messageInfo_StartResponse.DiscardUnknown(m)
}
var xxx_messageInfo_StartResponse proto.InternalMessageInfo
func (m *StartResponse) GetResp() string {
if m != nil {
return m.Resp
}
return ""
}
// Deprecated: Do not use.
type StopRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StopRequest) Reset() { *m = StopRequest{} }
func (m *StopRequest) String() string { return proto.CompactTextString(m) }
func (*StopRequest) ProtoMessage() {}
func (*StopRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{27}
}
func (m *StopRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopRequest.Unmarshal(m, b)
}
func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StopRequest.Marshal(b, m, deterministic)
}
func (m *StopRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_StopRequest.Merge(m, src)
}
func (m *StopRequest) XXX_Size() int {
return xxx_messageInfo_StopRequest.Size(m)
}
func (m *StopRequest) XXX_DiscardUnknown() {
xxx_messageInfo_StopRequest.DiscardUnknown(m)
}
var xxx_messageInfo_StopRequest proto.InternalMessageInfo
func (m *StopRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
// Deprecated: Do not use.
type StopResponse struct {
Resp string `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *StopResponse) Reset() { *m = StopResponse{} }
func (m *StopResponse) String() string { return proto.CompactTextString(m) }
func (*StopResponse) ProtoMessage() {}
func (*StopResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{28}
}
func (m *StopResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_StopResponse.Unmarshal(m, b)
}
func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_StopResponse.Marshal(b, m, deterministic)
}
func (m *StopResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_StopResponse.Merge(m, src)
}
func (m *StopResponse) XXX_Size() int {
return xxx_messageInfo_StopResponse.Size(m)
}
func (m *StopResponse) XXX_DiscardUnknown() {
xxx_messageInfo_StopResponse.DiscardUnknown(m)
}
var xxx_messageInfo_StopResponse proto.InternalMessageInfo
func (m *StopResponse) GetResp() string {
if m != nil {
return m.Resp
}
return ""
}
// CopyRequest describes a request to copy data out of Talos node
//
// Copy produces .tar.gz archive which is streamed back to the caller
type CopyRequest struct {
// Root path to start copying data out, it might be either a file or directory
RootPath string `protobuf:"bytes,1,opt,name=root_path,json=rootPath,proto3" json:"root_path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CopyRequest) Reset() { *m = CopyRequest{} }
func (m *CopyRequest) String() string { return proto.CompactTextString(m) }
func (*CopyRequest) ProtoMessage() {}
func (*CopyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{29}
}
func (m *CopyRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CopyRequest.Unmarshal(m, b)
}
func (m *CopyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CopyRequest.Marshal(b, m, deterministic)
}
func (m *CopyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CopyRequest.Merge(m, src)
}
func (m *CopyRequest) XXX_Size() int {
return xxx_messageInfo_CopyRequest.Size(m)
}
func (m *CopyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CopyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CopyRequest proto.InternalMessageInfo
func (m *CopyRequest) GetRootPath() string {
if m != nil {
return m.RootPath
}
return ""
}
// ListRequest describes a request to list the contents of a directory
type ListRequest struct {
// Root indicates the root directory for the list. If not indicated, '/' is
// presumed.
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
// Recurse indicates that subdirectories should be recursed.
Recurse bool `protobuf:"varint,2,opt,name=recurse,proto3" json:"recurse,omitempty"`
// RecursionDepth indicates how many levels of subdirectories should be
// recursed. The default (0) indicates that no limit should be enforced.
RecursionDepth int32 `protobuf:"varint,3,opt,name=recursion_depth,json=recursionDepth,proto3" json:"recursion_depth,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListRequest) Reset() { *m = ListRequest{} }
func (m *ListRequest) String() string { return proto.CompactTextString(m) }
func (*ListRequest) ProtoMessage() {}
func (*ListRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{30}
}
func (m *ListRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListRequest.Unmarshal(m, b)
}
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListRequest.Marshal(b, m, deterministic)
}
func (m *ListRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListRequest.Merge(m, src)
}
func (m *ListRequest) XXX_Size() int {
return xxx_messageInfo_ListRequest.Size(m)
}
func (m *ListRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListRequest proto.InternalMessageInfo
func (m *ListRequest) GetRoot() string {
if m != nil {
return m.Root
}
return ""
}
func (m *ListRequest) GetRecurse() bool {
if m != nil {
return m.Recurse
}
return false
}
func (m *ListRequest) GetRecursionDepth() int32 {
if m != nil {
return m.RecursionDepth
}
return 0
}
// FileInfo describes a file or directory's information
type FileInfo struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Name is the name (including prefixed path) of the file or directory
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Size indicates the number of bytes contained within the file
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// Mode is the bitmap of UNIX mode/permission flags of the file
Mode uint32 `protobuf:"varint,4,opt,name=mode,proto3" json:"mode,omitempty"`
// Modified indicates the UNIX timestamp at which the file was last modified
Modified int64 `protobuf:"varint,5,opt,name=modified,proto3" json:"modified,omitempty"`
// IsDir indicates that the file is a directory
IsDir bool `protobuf:"varint,6,opt,name=is_dir,json=isDir,proto3" json:"is_dir,omitempty"`
// Error describes any error encountered while trying to read the file
// information.
Error string `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
// Link is filled with symlink target
Link string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"`
// RelativeName is the name of the file or directory relative to the RootPath
RelativeName string `protobuf:"bytes,9,opt,name=relative_name,json=relativeName,proto3" json:"relative_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FileInfo) Reset() { *m = FileInfo{} }
func (m *FileInfo) String() string { return proto.CompactTextString(m) }
func (*FileInfo) ProtoMessage() {}
func (*FileInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{31}
}
func (m *FileInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_FileInfo.Unmarshal(m, b)
}
func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic)
}
func (m *FileInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_FileInfo.Merge(m, src)
}
func (m *FileInfo) XXX_Size() int {
return xxx_messageInfo_FileInfo.Size(m)
}
func (m *FileInfo) XXX_DiscardUnknown() {
xxx_messageInfo_FileInfo.DiscardUnknown(m)
}
var xxx_messageInfo_FileInfo proto.InternalMessageInfo
func (m *FileInfo) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *FileInfo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *FileInfo) GetSize() int64 {
if m != nil {
return m.Size
}
return 0
}
func (m *FileInfo) GetMode() uint32 {
if m != nil {
return m.Mode
}
return 0
}
func (m *FileInfo) GetModified() int64 {
if m != nil {
return m.Modified
}
return 0
}
func (m *FileInfo) GetIsDir() bool {
if m != nil {
return m.IsDir
}
return false
}
func (m *FileInfo) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *FileInfo) GetLink() string {
if m != nil {
return m.Link
}
return ""
}
func (m *FileInfo) GetRelativeName() string {
if m != nil {
return m.RelativeName
}
return ""
}
// The messages message containing the requested df stats.
type Mounts struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Stats []*MountStat `protobuf:"bytes,2,rep,name=stats,proto3" json:"stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Mounts) Reset() { *m = Mounts{} }
func (m *Mounts) String() string { return proto.CompactTextString(m) }
func (*Mounts) ProtoMessage() {}
func (*Mounts) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{32}
}
func (m *Mounts) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Mounts.Unmarshal(m, b)
}
func (m *Mounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Mounts.Marshal(b, m, deterministic)
}
func (m *Mounts) XXX_Merge(src proto.Message) {
xxx_messageInfo_Mounts.Merge(m, src)
}
func (m *Mounts) XXX_Size() int {
return xxx_messageInfo_Mounts.Size(m)
}
func (m *Mounts) XXX_DiscardUnknown() {
xxx_messageInfo_Mounts.DiscardUnknown(m)
}
var xxx_messageInfo_Mounts proto.InternalMessageInfo
func (m *Mounts) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Mounts) GetStats() []*MountStat {
if m != nil {
return m.Stats
}
return nil
}
type MountsResponse struct {
Messages []*Mounts `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MountsResponse) Reset() { *m = MountsResponse{} }
func (m *MountsResponse) String() string { return proto.CompactTextString(m) }
func (*MountsResponse) ProtoMessage() {}
func (*MountsResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{33}
}
func (m *MountsResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MountsResponse.Unmarshal(m, b)
}
func (m *MountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MountsResponse.Marshal(b, m, deterministic)
}
func (m *MountsResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_MountsResponse.Merge(m, src)
}
func (m *MountsResponse) XXX_Size() int {
return xxx_messageInfo_MountsResponse.Size(m)
}
func (m *MountsResponse) XXX_DiscardUnknown() {
xxx_messageInfo_MountsResponse.DiscardUnknown(m)
}
var xxx_messageInfo_MountsResponse proto.InternalMessageInfo
func (m *MountsResponse) GetMessages() []*Mounts {
if m != nil {
return m.Messages
}
return nil
}
// The messages message containing the requested processes.
type MountStat struct {
Filesystem string `protobuf:"bytes,1,opt,name=filesystem,proto3" json:"filesystem,omitempty"`
Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"`
MountedOn string `protobuf:"bytes,4,opt,name=mounted_on,json=mountedOn,proto3" json:"mounted_on,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MountStat) Reset() { *m = MountStat{} }
func (m *MountStat) String() string { return proto.CompactTextString(m) }
func (*MountStat) ProtoMessage() {}
func (*MountStat) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{34}
}
func (m *MountStat) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MountStat.Unmarshal(m, b)
}
func (m *MountStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MountStat.Marshal(b, m, deterministic)
}
func (m *MountStat) XXX_Merge(src proto.Message) {
xxx_messageInfo_MountStat.Merge(m, src)
}
func (m *MountStat) XXX_Size() int {
return xxx_messageInfo_MountStat.Size(m)
}
func (m *MountStat) XXX_DiscardUnknown() {
xxx_messageInfo_MountStat.DiscardUnknown(m)
}
var xxx_messageInfo_MountStat proto.InternalMessageInfo
func (m *MountStat) GetFilesystem() string {
if m != nil {
return m.Filesystem
}
return ""
}
func (m *MountStat) GetSize() uint64 {
if m != nil {
return m.Size
}
return 0
}
func (m *MountStat) GetAvailable() uint64 {
if m != nil {
return m.Available
}
return 0
}
func (m *MountStat) GetMountedOn() string {
if m != nil {
return m.MountedOn
}
return ""
}
type Version struct {
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Version *VersionInfo `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Platform *PlatformInfo `protobuf:"bytes,3,opt,name=platform,proto3" json:"platform,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Version) Reset() { *m = Version{} }
func (m *Version) String() string { return proto.CompactTextString(m) }
func (*Version) ProtoMessage() {}
func (*Version) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{35}
}
func (m *Version) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Version.Unmarshal(m, b)
}
func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Version.Marshal(b, m, deterministic)
}
func (m *Version) XXX_Merge(src proto.Message) {
xxx_messageInfo_Version.Merge(m, src)
}
func (m *Version) XXX_Size() int {
return xxx_messageInfo_Version.Size(m)
}
func (m *Version) XXX_DiscardUnknown() {
xxx_messageInfo_Version.DiscardUnknown(m)
}
var xxx_messageInfo_Version proto.InternalMessageInfo
func (m *Version) GetMetadata() *common.Metadata {
if m != nil {
return m.Metadata
}
return nil
}
func (m *Version) GetVersion() *VersionInfo {
if m != nil {
return m.Version
}
return nil
}
func (m *Version) GetPlatform() *PlatformInfo {
if m != nil {
return m.Platform
}
return nil
}
type VersionResponse struct {
Messages []*Version `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VersionResponse) Reset() { *m = VersionResponse{} }
func (m *VersionResponse) String() string { return proto.CompactTextString(m) }
func (*VersionResponse) ProtoMessage() {}
func (*VersionResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{36}
}
func (m *VersionResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VersionResponse.Unmarshal(m, b)
}
func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic)
}
func (m *VersionResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_VersionResponse.Merge(m, src)
}
func (m *VersionResponse) XXX_Size() int {
return xxx_messageInfo_VersionResponse.Size(m)
}
func (m *VersionResponse) XXX_DiscardUnknown() {
xxx_messageInfo_VersionResponse.DiscardUnknown(m)
}
var xxx_messageInfo_VersionResponse proto.InternalMessageInfo
func (m *VersionResponse) GetMessages() []*Version {
if m != nil {
return m.Messages
}
return nil
}
type VersionInfo struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"`
Built string `protobuf:"bytes,3,opt,name=built,proto3" json:"built,omitempty"`
GoVersion string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"`
Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"`
Arch string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *VersionInfo) Reset() { *m = VersionInfo{} }
func (m *VersionInfo) String() string { return proto.CompactTextString(m) }
func (*VersionInfo) ProtoMessage() {}
func (*VersionInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{37}
}
func (m *VersionInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_VersionInfo.Unmarshal(m, b)
}
func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_VersionInfo.Marshal(b, m, deterministic)
}
func (m *VersionInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_VersionInfo.Merge(m, src)
}
func (m *VersionInfo) XXX_Size() int {
return xxx_messageInfo_VersionInfo.Size(m)
}
func (m *VersionInfo) XXX_DiscardUnknown() {
xxx_messageInfo_VersionInfo.DiscardUnknown(m)
}
var xxx_messageInfo_VersionInfo proto.InternalMessageInfo
func (m *VersionInfo) GetTag() string {
if m != nil {
return m.Tag
}
return ""
}
func (m *VersionInfo) GetSha() string {
if m != nil {
return m.Sha
}
return ""
}
func (m *VersionInfo) GetBuilt() string {
if m != nil {
return m.Built
}
return ""
}
func (m *VersionInfo) GetGoVersion() string {
if m != nil {
return m.GoVersion
}
return ""
}
func (m *VersionInfo) GetOs() string {
if m != nil {
return m.Os
}
return ""
}
func (m *VersionInfo) GetArch() string {
if m != nil {
return m.Arch
}
return ""
}
type PlatformInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PlatformInfo) Reset() { *m = PlatformInfo{} }
func (m *PlatformInfo) String() string { return proto.CompactTextString(m) }
func (*PlatformInfo) ProtoMessage() {}
func (*PlatformInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{38}
}
func (m *PlatformInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PlatformInfo.Unmarshal(m, b)
}
func (m *PlatformInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_PlatformInfo.Marshal(b, m, deterministic)
}
func (m *PlatformInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_PlatformInfo.Merge(m, src)
}
func (m *PlatformInfo) XXX_Size() int {
return xxx_messageInfo_PlatformInfo.Size(m)
}
func (m *PlatformInfo) XXX_DiscardUnknown() {
xxx_messageInfo_PlatformInfo.DiscardUnknown(m)
}
var xxx_messageInfo_PlatformInfo proto.InternalMessageInfo
func (m *PlatformInfo) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *PlatformInfo) GetMode() string {
if m != nil {
return m.Mode
}
return ""
}
// rpc logs
// The request message containing the process name.
type LogsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
// driver might be default "containerd" or "cri"
Driver common.ContainerDriver `protobuf:"varint,3,opt,name=driver,proto3,enum=common.ContainerDriver" json:"driver,omitempty"`
Follow bool `protobuf:"varint,4,opt,name=follow,proto3" json:"follow,omitempty"`
TailLines int32 `protobuf:"varint,5,opt,name=tail_lines,json=tailLines,proto3" json:"tail_lines,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LogsRequest) Reset() { *m = LogsRequest{} }
func (m *LogsRequest) String() string { return proto.CompactTextString(m) }
func (*LogsRequest) ProtoMessage() {}
func (*LogsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{39}
}
func (m *LogsRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogsRequest.Unmarshal(m, b)
}
func (m *LogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_LogsRequest.Marshal(b, m, deterministic)
}
func (m *LogsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_LogsRequest.Merge(m, src)
}
func (m *LogsRequest) XXX_Size() int {
return xxx_messageInfo_LogsRequest.Size(m)
}
func (m *LogsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_LogsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_LogsRequest proto.InternalMessageInfo
func (m *LogsRequest) GetNamespace() string {
if m != nil {
return m.Namespace
}
return ""
}
func (m *LogsRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *LogsRequest) GetDriver() common.ContainerDriver {
if m != nil {
return m.Driver
}
return common.ContainerDriver_CONTAINERD
}
func (m *LogsRequest) GetFollow() bool {
if m != nil {
return m.Follow
}
return false
}
func (m *LogsRequest) GetTailLines() int32 {
if m != nil {
return m.TailLines
}
return 0
}
type ReadRequest struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReadRequest) Reset() { *m = ReadRequest{} }
func (m *ReadRequest) String() string { return proto.CompactTextString(m) }
func (*ReadRequest) ProtoMessage() {}
func (*ReadRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_84b4f59d98cc997c, []int{40}
}
func (m *ReadRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReadRequest.Unmarshal(m, b)
}
func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic)
}
func (m *ReadRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReadRequest.Merge(m, src)
}
func (m *ReadRequest) XXX_Size() int {
return xxx_messageInfo_ReadRequest.Size(m)
}
func (m *ReadRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ReadRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ReadRequest proto.InternalMessageInfo
func (m *ReadRequest) GetPath() string {
if m != nil {
return m.Path
}
return ""
}
func init() {
proto.RegisterType((*Reboot)(nil), "machine.Reboot")
proto.RegisterType((*RebootResponse)(nil), "machine.RebootResponse")
proto.RegisterType((*ResetRequest)(nil), "machine.ResetRequest")
proto.RegisterType((*Reset)(nil), "machine.Reset")
proto.RegisterType((*ResetResponse)(nil), "machine.ResetResponse")
proto.RegisterType((*Shutdown)(nil), "machine.Shutdown")
proto.RegisterType((*ShutdownResponse)(nil), "machine.ShutdownResponse")
proto.RegisterType((*UpgradeRequest)(nil), "machine.UpgradeRequest")
proto.RegisterType((*Upgrade)(nil), "machine.Upgrade")
proto.RegisterType((*UpgradeResponse)(nil), "machine.UpgradeResponse")
proto.RegisterType((*ServiceList)(nil), "machine.ServiceList")
proto.RegisterType((*ServiceListResponse)(nil), "machine.ServiceListResponse")
proto.RegisterType((*ServiceInfo)(nil), "machine.ServiceInfo")
proto.RegisterType((*ServiceEvents)(nil), "machine.ServiceEvents")
proto.RegisterType((*ServiceEvent)(nil), "machine.ServiceEvent")
proto.RegisterType((*ServiceHealth)(nil), "machine.ServiceHealth")
proto.RegisterType((*ServiceStartRequest)(nil), "machine.ServiceStartRequest")
proto.RegisterType((*ServiceStart)(nil), "machine.ServiceStart")
proto.RegisterType((*ServiceStartResponse)(nil), "machine.ServiceStartResponse")
proto.RegisterType((*ServiceStopRequest)(nil), "machine.ServiceStopRequest")
proto.RegisterType((*ServiceStop)(nil), "machine.ServiceStop")
proto.RegisterType((*ServiceStopResponse)(nil), "machine.ServiceStopResponse")
proto.RegisterType((*ServiceRestartRequest)(nil), "machine.ServiceRestartRequest")
proto.RegisterType((*ServiceRestart)(nil), "machine.ServiceRestart")
proto.RegisterType((*ServiceRestartResponse)(nil), "machine.ServiceRestartResponse")
proto.RegisterType((*StartRequest)(nil), "machine.StartRequest")
proto.RegisterType((*StartResponse)(nil), "machine.StartResponse")
proto.RegisterType((*StopRequest)(nil), "machine.StopRequest")
proto.RegisterType((*StopResponse)(nil), "machine.StopResponse")
proto.RegisterType((*CopyRequest)(nil), "machine.CopyRequest")
proto.RegisterType((*ListRequest)(nil), "machine.ListRequest")
proto.RegisterType((*FileInfo)(nil), "machine.FileInfo")
proto.RegisterType((*Mounts)(nil), "machine.Mounts")
proto.RegisterType((*MountsResponse)(nil), "machine.MountsResponse")
proto.RegisterType((*MountStat)(nil), "machine.MountStat")
proto.RegisterType((*Version)(nil), "machine.Version")
proto.RegisterType((*VersionResponse)(nil), "machine.VersionResponse")
proto.RegisterType((*VersionInfo)(nil), "machine.VersionInfo")
proto.RegisterType((*PlatformInfo)(nil), "machine.PlatformInfo")
proto.RegisterType((*LogsRequest)(nil), "machine.LogsRequest")
proto.RegisterType((*ReadRequest)(nil), "machine.ReadRequest")
}
func init() { proto.RegisterFile("machine/machine.proto", fileDescriptor_84b4f59d98cc997c) }
var fileDescriptor_84b4f59d98cc997c = []byte{
// 1520 bytes of a gzipped FileDescriptorPro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3, 0x5b, 0x0d, 0x6c, 0x1a,
0x5a, 0xd4, 0xf0, 0x6f, 0xd0, 0xb2, 0x22, 0xdd, 0x2b, 0x00, 0x43, 0x12, 0x63, 0x76, 0xca, 0x38,
0x4e, 0x74, 0x0d, 0x94, 0x28, 0x36, 0xee, 0x22, 0x17, 0x75, 0x1d, 0xf7, 0x4d, 0x68, 0xa1, 0x13,
0x44, 0x62, 0xd4, 0x8f, 0x55, 0x42, 0xea, 0x41, 0x41, 0x70, 0x2f, 0x03, 0x24, 0x42, 0x3c, 0x0e,
0x7b, 0x34, 0x95, 0xb9, 0x69, 0x05, 0x2d, 0x4d, 0x79, 0x99, 0xfa, 0x7f, 0x3b, 0xb0, 0xf0, 0x23,
0x96, 0x85, 0x32, 0x63, 0x80, 0xba, 0xb0, 0x70, 0xa2, 0x18, 0xa5, 0x35, 0xe5, 0xc6, 0xa3, 0x05,
0xca, 0x29, 0xc1, 0x80, 0x44, 0xab, 0xcd, 0x62, 0xc4, 0x87, 0x34, 0x4f, 0xf4, 0x9d, 0x56, 0xb4,
0xda, 0x23, 0x7d, 0xa0, 0xe6, 0x0a, 0x03, 0x13, 0x73, 0x90, 0x16, 0xf5, 0x56, 0x73, 0x90, 0xc1,
0x16, 0xb1, 0xfd, 0xc3, 0x81, 0x76, 0xc9, 0x18, 0x71, 0xf3, 0x72, 0x64, 0x6f, 0x5e, 0x8e, 0x22,
0x41, 0x61, 0x23, 0x64, 0x86, 0x2f, 0x36, 0x42, 0xa2, 0xfe, 0xfa, 0x63, 0x12, 0x73, 0x7d, 0xf9,
0xa9, 0x8d, 0x08, 0x63, 0x44, 0x7b, 0xc6, 0x61, 0x1d, 0xc6, 0x88, 0x9a, 0xd0, 0x75, 0xa0, 0x46,
0x99, 0xac, 0xf0, 0x56, 0x50, 0xa3, 0x4c, 0xe4, 0x09, 0xe5, 0x83, 0x91, 0xac, 0xec, 0x56, 0x20,
0xd7, 0xfe, 0x3d, 0x58, 0x2c, 0xfb, 0x69, 0x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, 0x08, 0x1f, 0x8d, 0xfb, 0xe2, 0x4b, 0xd8, 0xe6, 0x28,
0xa6, 0xec, 0xb6, 0xba, 0x0a, 0x99, 0xda, 0x6d, 0xa3, 0x8c, 0x98, 0x3f, 0x75, 0xfa, 0x0d, 0xa9,
0xf6, 0xee, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xc2, 0xaf, 0xdf, 0x04, 0xee, 0x11, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var (
_ context.Context
_ grpc.ClientConn
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// MachineServiceClient is the client API for MachineService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MachineServiceClient interface {
Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error)
Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error)
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error)
Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error)
Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error)
Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error)
Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error)
Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error)
ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error)
ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error)
ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error)
Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error)
Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error)
Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error)
Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error)
}
type machineServiceClient struct {
cc *grpc.ClientConn
}
func NewMachineServiceClient(cc *grpc.ClientConn) MachineServiceClient {
return &machineServiceClient{cc}
}
func (c *machineServiceClient) Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error) {
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[0], "/machine.MachineService/Copy", opts...)
if err != nil {
return nil, err
}
x := &machineServiceCopyClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type MachineService_CopyClient interface {
Recv() (*common.Data, error)
grpc.ClientStream
}
type machineServiceCopyClient struct {
grpc.ClientStream
}
func (x *machineServiceCopyClient) Recv() (*common.Data, error) {
m := new(common.Data)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *machineServiceClient) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error) {
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[1], "/machine.MachineService/Kubeconfig", opts...)
if err != nil {
return nil, err
}
x := &machineServiceKubeconfigClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type MachineService_KubeconfigClient interface {
Recv() (*common.Data, error)
grpc.ClientStream
}
type machineServiceKubeconfigClient struct {
grpc.ClientStream
}
func (x *machineServiceKubeconfigClient) Recv() (*common.Data, error) {
m := new(common.Data)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *machineServiceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error) {
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[2], "/machine.MachineService/List", opts...)
if err != nil {
return nil, err
}
x := &machineServiceListClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type MachineService_ListClient interface {
Recv() (*FileInfo, error)
grpc.ClientStream
}
type machineServiceListClient struct {
grpc.ClientStream
}
func (x *machineServiceListClient) Recv() (*FileInfo, error) {
m := new(FileInfo)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *machineServiceClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error) {
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[3], "/machine.MachineService/Logs", opts...)
if err != nil {
return nil, err
}
x := &machineServiceLogsClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type MachineService_LogsClient interface {
Recv() (*common.Data, error)
grpc.ClientStream
}
type machineServiceLogsClient struct {
grpc.ClientStream
}
func (x *machineServiceLogsClient) Recv() (*common.Data, error) {
m := new(common.Data)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *machineServiceClient) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error) {
out := new(MountsResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Mounts", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error) {
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[4], "/machine.MachineService/Read", opts...)
if err != nil {
return nil, err
}
x := &machineServiceReadClient{stream}
if err := x.ClientStream.SendMsg(in); err != nil {
return nil, err
}
if err := x.ClientStream.CloseSend(); err != nil {
return nil, err
}
return x, nil
}
type MachineService_ReadClient interface {
Recv() (*common.Data, error)
grpc.ClientStream
}
type machineServiceReadClient struct {
grpc.ClientStream
}
func (x *machineServiceReadClient) Recv() (*common.Data, error) {
m := new(common.Data)
if err := x.ClientStream.RecvMsg(m); err != nil {
return nil, err
}
return m, nil
}
func (c *machineServiceClient) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error) {
out := new(RebootResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Reboot", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error) {
out := new(ResetResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Reset", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error) {
out := new(ServiceListResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceList", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error) {
out := new(ServiceRestartResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceRestart", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error) {
out := new(ServiceStartResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStart", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error) {
out := new(ServiceStopResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStop", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error) {
out := new(ShutdownResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Shutdown", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error) {
out := new(UpgradeResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Upgrade", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Deprecated: Do not use.
func (c *machineServiceClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
out := new(StartResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Start", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// Deprecated: Do not use.
func (c *machineServiceClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) {
out := new(StopResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Stop", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *machineServiceClient) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) {
out := new(VersionResponse)
err := c.cc.Invoke(ctx, "/machine.MachineService/Version", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MachineServiceServer is the server API for MachineService service.
type MachineServiceServer interface {
Copy(*CopyRequest, MachineService_CopyServer) error
Kubeconfig(*empty.Empty, MachineService_KubeconfigServer) error
List(*ListRequest, MachineService_ListServer) error
Logs(*LogsRequest, MachineService_LogsServer) error
Mounts(context.Context, *empty.Empty) (*MountsResponse, error)
Read(*ReadRequest, MachineService_ReadServer) error
Reboot(context.Context, *empty.Empty) (*RebootResponse, error)
Reset(context.Context, *ResetRequest) (*ResetResponse, error)
ServiceList(context.Context, *empty.Empty) (*ServiceListResponse, error)
ServiceRestart(context.Context, *ServiceRestartRequest) (*ServiceRestartResponse, error)
ServiceStart(context.Context, *ServiceStartRequest) (*ServiceStartResponse, error)
ServiceStop(context.Context, *ServiceStopRequest) (*ServiceStopResponse, error)
Shutdown(context.Context, *empty.Empty) (*ShutdownResponse, error)
Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error)
Start(context.Context, *StartRequest) (*StartResponse, error)
Stop(context.Context, *StopRequest) (*StopResponse, error)
Version(context.Context, *empty.Empty) (*VersionResponse, error)
}
func RegisterMachineServiceServer(s *grpc.Server, srv MachineServiceServer) {
s.RegisterService(&_MachineService_serviceDesc, srv)
}
func _MachineService_Copy_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(CopyRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(MachineServiceServer).Copy(m, &machineServiceCopyServer{stream})
}
type MachineService_CopyServer interface {
Send(*common.Data) error
grpc.ServerStream
}
type machineServiceCopyServer struct {
grpc.ServerStream
}
func (x *machineServiceCopyServer) Send(m *common.Data) error {
return x.ServerStream.SendMsg(m)
}
func _MachineService_Kubeconfig_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(empty.Empty)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(MachineServiceServer).Kubeconfig(m, &machineServiceKubeconfigServer{stream})
}
type MachineService_KubeconfigServer interface {
Send(*common.Data) error
grpc.ServerStream
}
type machineServiceKubeconfigServer struct {
grpc.ServerStream
}
func (x *machineServiceKubeconfigServer) Send(m *common.Data) error {
return x.ServerStream.SendMsg(m)
}
func _MachineService_List_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ListRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(MachineServiceServer).List(m, &machineServiceListServer{stream})
}
type MachineService_ListServer interface {
Send(*FileInfo) error
grpc.ServerStream
}
type machineServiceListServer struct {
grpc.ServerStream
}
func (x *machineServiceListServer) Send(m *FileInfo) error {
return x.ServerStream.SendMsg(m)
}
func _MachineService_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(LogsRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(MachineServiceServer).Logs(m, &machineServiceLogsServer{stream})
}
type MachineService_LogsServer interface {
Send(*common.Data) error
grpc.ServerStream
}
type machineServiceLogsServer struct {
grpc.ServerStream
}
func (x *machineServiceLogsServer) Send(m *common.Data) error {
return x.ServerStream.SendMsg(m)
}
func _MachineService_Mounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(empty.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Mounts(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Mounts",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Mounts(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Read_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(ReadRequest)
if err := stream.RecvMsg(m); err != nil {
return err
}
return srv.(MachineServiceServer).Read(m, &machineServiceReadServer{stream})
}
type MachineService_ReadServer interface {
Send(*common.Data) error
grpc.ServerStream
}
type machineServiceReadServer struct {
grpc.ServerStream
}
func (x *machineServiceReadServer) Send(m *common.Data) error {
return x.ServerStream.SendMsg(m)
}
func _MachineService_Reboot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(empty.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Reboot(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Reboot",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Reboot(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Reset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ResetRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Reset(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Reset",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Reset(ctx, req.(*ResetRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_ServiceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(empty.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).ServiceList(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/ServiceList",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).ServiceList(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_ServiceRestart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ServiceRestartRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).ServiceRestart(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/ServiceRestart",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).ServiceRestart(ctx, req.(*ServiceRestartRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_ServiceStart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ServiceStartRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).ServiceStart(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/ServiceStart",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).ServiceStart(ctx, req.(*ServiceStartRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_ServiceStop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ServiceStopRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).ServiceStop(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/ServiceStop",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).ServiceStop(ctx, req.(*ServiceStopRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(empty.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Shutdown(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Shutdown",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Shutdown(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Upgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpgradeRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Upgrade(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Upgrade",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Upgrade(ctx, req.(*UpgradeRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StartRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Start(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Start",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Start(ctx, req.(*StartRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(StopRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Stop(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Stop",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Stop(ctx, req.(*StopRequest))
}
return interceptor(ctx, in, info, handler)
}
func _MachineService_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(empty.Empty)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MachineServiceServer).Version(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/machine.MachineService/Version",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MachineServiceServer).Version(ctx, req.(*empty.Empty))
}
return interceptor(ctx, in, info, handler)
}
var _MachineService_serviceDesc = grpc.ServiceDesc{
ServiceName: "machine.MachineService",
HandlerType: (*MachineServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Mounts",
Handler: _MachineService_Mounts_Handler,
},
{
MethodName: "Reboot",
Handler: _MachineService_Reboot_Handler,
},
{
MethodName: "Reset",
Handler: _MachineService_Reset_Handler,
},
{
MethodName: "ServiceList",
Handler: _MachineService_ServiceList_Handler,
},
{
MethodName: "ServiceRestart",
Handler: _MachineService_ServiceRestart_Handler,
},
{
MethodName: "ServiceStart",
Handler: _MachineService_ServiceStart_Handler,
},
{
MethodName: "ServiceStop",
Handler: _MachineService_ServiceStop_Handler,
},
{
MethodName: "Shutdown",
Handler: _MachineService_Shutdown_Handler,
},
{
MethodName: "Upgrade",
Handler: _MachineService_Upgrade_Handler,
},
{
MethodName: "Start",
Handler: _MachineService_Start_Handler,
},
{
MethodName: "Stop",
Handler: _MachineService_Stop_Handler,
},
{
MethodName: "Version",
Handler: _MachineService_Version_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "Copy",
Handler: _MachineService_Copy_Handler,
ServerStreams: true,
},
{
StreamName: "Kubeconfig",
Handler: _MachineService_Kubeconfig_Handler,
ServerStreams: true,
},
{
StreamName: "List",
Handler: _MachineService_List_Handler,
ServerStreams: true,
},
{
StreamName: "Logs",
Handler: _MachineService_Logs_Handler,
ServerStreams: true,
},
{
StreamName: "Read",
Handler: _MachineService_Read_Handler,
ServerStreams: true,
},
},
Metadata: "machine/machine.proto",
}