mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-19 05:31:14 +02:00
Streaming APIs are not supposed to wrap response into `repeated` container, as streaming allows to send as many responses back as required. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
3743 lines
118 KiB
Go
3743 lines
118 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"
|
|
any "github.com/golang/protobuf/ptypes/any"
|
|
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
|
|
|
|
type SequenceEvent_Action int32
|
|
|
|
const (
|
|
SequenceEvent_NOOP SequenceEvent_Action = 0
|
|
SequenceEvent_START SequenceEvent_Action = 1
|
|
SequenceEvent_STOP SequenceEvent_Action = 2
|
|
)
|
|
|
|
var SequenceEvent_Action_name = map[int32]string{
|
|
0: "NOOP",
|
|
1: "START",
|
|
2: "STOP",
|
|
}
|
|
|
|
var SequenceEvent_Action_value = map[string]int32{
|
|
"NOOP": 0,
|
|
"START": 1,
|
|
"STOP": 2,
|
|
}
|
|
|
|
func (x SequenceEvent_Action) String() string {
|
|
return proto.EnumName(SequenceEvent_Action_name, int32(x))
|
|
}
|
|
|
|
func (SequenceEvent_Action) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{5, 0}
|
|
}
|
|
|
|
type PhaseEvent_Action int32
|
|
|
|
const (
|
|
PhaseEvent_START PhaseEvent_Action = 0
|
|
PhaseEvent_STOP PhaseEvent_Action = 1
|
|
)
|
|
|
|
var PhaseEvent_Action_name = map[int32]string{
|
|
0: "START",
|
|
1: "STOP",
|
|
}
|
|
|
|
var PhaseEvent_Action_value = map[string]int32{
|
|
"START": 0,
|
|
"STOP": 1,
|
|
}
|
|
|
|
func (x PhaseEvent_Action) String() string {
|
|
return proto.EnumName(PhaseEvent_Action_name, int32(x))
|
|
}
|
|
|
|
func (PhaseEvent_Action) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{6, 0}
|
|
}
|
|
|
|
type TaskEvent_Action int32
|
|
|
|
const (
|
|
TaskEvent_START TaskEvent_Action = 0
|
|
TaskEvent_STOP TaskEvent_Action = 1
|
|
)
|
|
|
|
var TaskEvent_Action_name = map[int32]string{
|
|
0: "START",
|
|
1: "STOP",
|
|
}
|
|
|
|
var TaskEvent_Action_value = map[string]int32{
|
|
"START": 0,
|
|
"STOP": 1,
|
|
}
|
|
|
|
func (x TaskEvent_Action) String() string {
|
|
return proto.EnumName(TaskEvent_Action_name, int32(x))
|
|
}
|
|
|
|
func (TaskEvent_Action) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{7, 0}
|
|
}
|
|
|
|
type RecoverRequest_Source int32
|
|
|
|
const (
|
|
RecoverRequest_ETCD RecoverRequest_Source = 0
|
|
RecoverRequest_APISERVER RecoverRequest_Source = 1
|
|
)
|
|
|
|
var RecoverRequest_Source_name = map[int32]string{
|
|
0: "ETCD",
|
|
1: "APISERVER",
|
|
}
|
|
|
|
var RecoverRequest_Source_value = map[string]int32{
|
|
"ETCD": 0,
|
|
"APISERVER": 1,
|
|
}
|
|
|
|
func (x RecoverRequest_Source) String() string {
|
|
return proto.EnumName(RecoverRequest_Source_name, int32(x))
|
|
}
|
|
|
|
func (RecoverRequest_Source) EnumDescriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{13, 0}
|
|
}
|
|
|
|
// 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 bootstrap
|
|
type BootstrapRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BootstrapRequest) Reset() { *m = BootstrapRequest{} }
|
|
func (m *BootstrapRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*BootstrapRequest) ProtoMessage() {}
|
|
func (*BootstrapRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{2}
|
|
}
|
|
|
|
func (m *BootstrapRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BootstrapRequest.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *BootstrapRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BootstrapRequest.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *BootstrapRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BootstrapRequest.Merge(m, src)
|
|
}
|
|
|
|
func (m *BootstrapRequest) XXX_Size() int {
|
|
return xxx_messageInfo_BootstrapRequest.Size(m)
|
|
}
|
|
|
|
func (m *BootstrapRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BootstrapRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BootstrapRequest proto.InternalMessageInfo
|
|
|
|
// The bootstrap message containing the bootstrap status.
|
|
type Bootstrap 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 *Bootstrap) Reset() { *m = Bootstrap{} }
|
|
func (m *Bootstrap) String() string { return proto.CompactTextString(m) }
|
|
func (*Bootstrap) ProtoMessage() {}
|
|
func (*Bootstrap) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{3}
|
|
}
|
|
|
|
func (m *Bootstrap) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Bootstrap.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *Bootstrap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Bootstrap.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *Bootstrap) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Bootstrap.Merge(m, src)
|
|
}
|
|
|
|
func (m *Bootstrap) XXX_Size() int {
|
|
return xxx_messageInfo_Bootstrap.Size(m)
|
|
}
|
|
|
|
func (m *Bootstrap) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Bootstrap.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Bootstrap proto.InternalMessageInfo
|
|
|
|
func (m *Bootstrap) GetMetadata() *common.Metadata {
|
|
if m != nil {
|
|
return m.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BootstrapResponse struct {
|
|
Messages []*Bootstrap `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *BootstrapResponse) Reset() { *m = BootstrapResponse{} }
|
|
func (m *BootstrapResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*BootstrapResponse) ProtoMessage() {}
|
|
func (*BootstrapResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{4}
|
|
}
|
|
|
|
func (m *BootstrapResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_BootstrapResponse.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *BootstrapResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_BootstrapResponse.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *BootstrapResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_BootstrapResponse.Merge(m, src)
|
|
}
|
|
|
|
func (m *BootstrapResponse) XXX_Size() int {
|
|
return xxx_messageInfo_BootstrapResponse.Size(m)
|
|
}
|
|
|
|
func (m *BootstrapResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_BootstrapResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_BootstrapResponse proto.InternalMessageInfo
|
|
|
|
func (m *BootstrapResponse) GetMessages() []*Bootstrap {
|
|
if m != nil {
|
|
return m.Messages
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// rpc events
|
|
type SequenceEvent struct {
|
|
Sequence string `protobuf:"bytes,1,opt,name=sequence,proto3" json:"sequence,omitempty"`
|
|
Action SequenceEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.SequenceEvent_Action" json:"action,omitempty"`
|
|
Error *common.Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SequenceEvent) Reset() { *m = SequenceEvent{} }
|
|
func (m *SequenceEvent) String() string { return proto.CompactTextString(m) }
|
|
func (*SequenceEvent) ProtoMessage() {}
|
|
func (*SequenceEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{5}
|
|
}
|
|
|
|
func (m *SequenceEvent) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SequenceEvent.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *SequenceEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SequenceEvent.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *SequenceEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SequenceEvent.Merge(m, src)
|
|
}
|
|
|
|
func (m *SequenceEvent) XXX_Size() int {
|
|
return xxx_messageInfo_SequenceEvent.Size(m)
|
|
}
|
|
|
|
func (m *SequenceEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SequenceEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SequenceEvent proto.InternalMessageInfo
|
|
|
|
func (m *SequenceEvent) GetSequence() string {
|
|
if m != nil {
|
|
return m.Sequence
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SequenceEvent) GetAction() SequenceEvent_Action {
|
|
if m != nil {
|
|
return m.Action
|
|
}
|
|
return SequenceEvent_NOOP
|
|
}
|
|
|
|
func (m *SequenceEvent) GetError() *common.Error {
|
|
if m != nil {
|
|
return m.Error
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PhaseEvent struct {
|
|
Phase string `protobuf:"bytes,1,opt,name=phase,proto3" json:"phase,omitempty"`
|
|
Action PhaseEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.PhaseEvent_Action" json:"action,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PhaseEvent) Reset() { *m = PhaseEvent{} }
|
|
func (m *PhaseEvent) String() string { return proto.CompactTextString(m) }
|
|
func (*PhaseEvent) ProtoMessage() {}
|
|
func (*PhaseEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{6}
|
|
}
|
|
|
|
func (m *PhaseEvent) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PhaseEvent.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *PhaseEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PhaseEvent.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *PhaseEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PhaseEvent.Merge(m, src)
|
|
}
|
|
|
|
func (m *PhaseEvent) XXX_Size() int {
|
|
return xxx_messageInfo_PhaseEvent.Size(m)
|
|
}
|
|
|
|
func (m *PhaseEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PhaseEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PhaseEvent proto.InternalMessageInfo
|
|
|
|
func (m *PhaseEvent) GetPhase() string {
|
|
if m != nil {
|
|
return m.Phase
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *PhaseEvent) GetAction() PhaseEvent_Action {
|
|
if m != nil {
|
|
return m.Action
|
|
}
|
|
return PhaseEvent_START
|
|
}
|
|
|
|
type TaskEvent struct {
|
|
Task string `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"`
|
|
Action TaskEvent_Action `protobuf:"varint,2,opt,name=action,proto3,enum=machine.TaskEvent_Action" json:"action,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *TaskEvent) Reset() { *m = TaskEvent{} }
|
|
func (m *TaskEvent) String() string { return proto.CompactTextString(m) }
|
|
func (*TaskEvent) ProtoMessage() {}
|
|
func (*TaskEvent) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{7}
|
|
}
|
|
|
|
func (m *TaskEvent) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_TaskEvent.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *TaskEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_TaskEvent.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *TaskEvent) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_TaskEvent.Merge(m, src)
|
|
}
|
|
|
|
func (m *TaskEvent) XXX_Size() int {
|
|
return xxx_messageInfo_TaskEvent.Size(m)
|
|
}
|
|
|
|
func (m *TaskEvent) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_TaskEvent.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_TaskEvent proto.InternalMessageInfo
|
|
|
|
func (m *TaskEvent) GetTask() string {
|
|
if m != nil {
|
|
return m.Task
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *TaskEvent) GetAction() TaskEvent_Action {
|
|
if m != nil {
|
|
return m.Action
|
|
}
|
|
return TaskEvent_START
|
|
}
|
|
|
|
type EventsRequest struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *EventsRequest) Reset() { *m = EventsRequest{} }
|
|
func (m *EventsRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*EventsRequest) ProtoMessage() {}
|
|
func (*EventsRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{8}
|
|
}
|
|
|
|
func (m *EventsRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_EventsRequest.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *EventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_EventsRequest.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *EventsRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_EventsRequest.Merge(m, src)
|
|
}
|
|
|
|
func (m *EventsRequest) XXX_Size() int {
|
|
return xxx_messageInfo_EventsRequest.Size(m)
|
|
}
|
|
|
|
func (m *EventsRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_EventsRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_EventsRequest proto.InternalMessageInfo
|
|
|
|
type Event struct {
|
|
Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
Data *any.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *Event) Reset() { *m = Event{} }
|
|
func (m *Event) String() string { return proto.CompactTextString(m) }
|
|
func (*Event) ProtoMessage() {}
|
|
func (*Event) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{9}
|
|
}
|
|
|
|
func (m *Event) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Event.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Event.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *Event) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Event.Merge(m, src)
|
|
}
|
|
|
|
func (m *Event) XXX_Size() int {
|
|
return xxx_messageInfo_Event.Size(m)
|
|
}
|
|
|
|
func (m *Event) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Event.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Event proto.InternalMessageInfo
|
|
|
|
func (m *Event) GetMetadata() *common.Metadata {
|
|
if m != nil {
|
|
return m.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *Event) GetData() *any.Any {
|
|
if m != nil {
|
|
return m.Data
|
|
}
|
|
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{10}
|
|
}
|
|
|
|
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{11}
|
|
}
|
|
|
|
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{12}
|
|
}
|
|
|
|
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
|
|
}
|
|
|
|
type RecoverRequest struct {
|
|
Source RecoverRequest_Source `protobuf:"varint,1,opt,name=source,proto3,enum=machine.RecoverRequest_Source" json:"source,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RecoverRequest) Reset() { *m = RecoverRequest{} }
|
|
func (m *RecoverRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RecoverRequest) ProtoMessage() {}
|
|
func (*RecoverRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{13}
|
|
}
|
|
|
|
func (m *RecoverRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RecoverRequest.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *RecoverRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RecoverRequest.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *RecoverRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecoverRequest.Merge(m, src)
|
|
}
|
|
|
|
func (m *RecoverRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RecoverRequest.Size(m)
|
|
}
|
|
|
|
func (m *RecoverRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecoverRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecoverRequest proto.InternalMessageInfo
|
|
|
|
func (m *RecoverRequest) GetSource() RecoverRequest_Source {
|
|
if m != nil {
|
|
return m.Source
|
|
}
|
|
return RecoverRequest_ETCD
|
|
}
|
|
|
|
// The recover message containing the recover status.
|
|
type Recover 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 *Recover) Reset() { *m = Recover{} }
|
|
func (m *Recover) String() string { return proto.CompactTextString(m) }
|
|
func (*Recover) ProtoMessage() {}
|
|
func (*Recover) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{14}
|
|
}
|
|
|
|
func (m *Recover) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_Recover.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *Recover) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_Recover.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *Recover) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_Recover.Merge(m, src)
|
|
}
|
|
|
|
func (m *Recover) XXX_Size() int {
|
|
return xxx_messageInfo_Recover.Size(m)
|
|
}
|
|
|
|
func (m *Recover) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_Recover.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_Recover proto.InternalMessageInfo
|
|
|
|
func (m *Recover) GetMetadata() *common.Metadata {
|
|
if m != nil {
|
|
return m.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RecoverResponse struct {
|
|
Messages []*Recover `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RecoverResponse) Reset() { *m = RecoverResponse{} }
|
|
func (m *RecoverResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RecoverResponse) ProtoMessage() {}
|
|
func (*RecoverResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_84b4f59d98cc997c, []int{15}
|
|
}
|
|
|
|
func (m *RecoverResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RecoverResponse.Unmarshal(m, b)
|
|
}
|
|
|
|
func (m *RecoverResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RecoverResponse.Marshal(b, m, deterministic)
|
|
}
|
|
|
|
func (m *RecoverResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RecoverResponse.Merge(m, src)
|
|
}
|
|
|
|
func (m *RecoverResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RecoverResponse.Size(m)
|
|
}
|
|
|
|
func (m *RecoverResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RecoverResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RecoverResponse proto.InternalMessageInfo
|
|
|
|
func (m *RecoverResponse) GetMessages() []*Recover {
|
|
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{16}
|
|
}
|
|
|
|
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{17}
|
|
}
|
|
|
|
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{18}
|
|
}
|
|
|
|
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{19}
|
|
}
|
|
|
|
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{20}
|
|
}
|
|
|
|
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{21}
|
|
}
|
|
|
|
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{22}
|
|
}
|
|
|
|
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{23}
|
|
}
|
|
|
|
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{24}
|
|
}
|
|
|
|
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{25}
|
|
}
|
|
|
|
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{26}
|
|
}
|
|
|
|
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{27}
|
|
}
|
|
|
|
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{28}
|
|
}
|
|
|
|
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{29}
|
|
}
|
|
|
|
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{30}
|
|
}
|
|
|
|
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{31}
|
|
}
|
|
|
|
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{32}
|
|
}
|
|
|
|
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{33}
|
|
}
|
|
|
|
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{34}
|
|
}
|
|
|
|
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{35}
|
|
}
|
|
|
|
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{36}
|
|
}
|
|
|
|
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{37}
|
|
}
|
|
|
|
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{38}
|
|
}
|
|
|
|
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{39}
|
|
}
|
|
|
|
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{40}
|
|
}
|
|
|
|
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{41}
|
|
}
|
|
|
|
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{42}
|
|
}
|
|
|
|
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{43}
|
|
}
|
|
|
|
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{44}
|
|
}
|
|
|
|
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{45}
|
|
}
|
|
|
|
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{46}
|
|
}
|
|
|
|
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{47}
|
|
}
|
|
|
|
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{48}
|
|
}
|
|
|
|
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{49}
|
|
}
|
|
|
|
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{50}
|
|
}
|
|
|
|
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{51}
|
|
}
|
|
|
|
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.RegisterEnum("machine.SequenceEvent_Action", SequenceEvent_Action_name, SequenceEvent_Action_value)
|
|
proto.RegisterEnum("machine.PhaseEvent_Action", PhaseEvent_Action_name, PhaseEvent_Action_value)
|
|
proto.RegisterEnum("machine.TaskEvent_Action", TaskEvent_Action_name, TaskEvent_Action_value)
|
|
proto.RegisterEnum("machine.RecoverRequest_Source", RecoverRequest_Source_name, RecoverRequest_Source_value)
|
|
proto.RegisterType((*Reboot)(nil), "machine.Reboot")
|
|
proto.RegisterType((*RebootResponse)(nil), "machine.RebootResponse")
|
|
proto.RegisterType((*BootstrapRequest)(nil), "machine.BootstrapRequest")
|
|
proto.RegisterType((*Bootstrap)(nil), "machine.Bootstrap")
|
|
proto.RegisterType((*BootstrapResponse)(nil), "machine.BootstrapResponse")
|
|
proto.RegisterType((*SequenceEvent)(nil), "machine.SequenceEvent")
|
|
proto.RegisterType((*PhaseEvent)(nil), "machine.PhaseEvent")
|
|
proto.RegisterType((*TaskEvent)(nil), "machine.TaskEvent")
|
|
proto.RegisterType((*EventsRequest)(nil), "machine.EventsRequest")
|
|
proto.RegisterType((*Event)(nil), "machine.Event")
|
|
proto.RegisterType((*ResetRequest)(nil), "machine.ResetRequest")
|
|
proto.RegisterType((*Reset)(nil), "machine.Reset")
|
|
proto.RegisterType((*ResetResponse)(nil), "machine.ResetResponse")
|
|
proto.RegisterType((*RecoverRequest)(nil), "machine.RecoverRequest")
|
|
proto.RegisterType((*Recover)(nil), "machine.Recover")
|
|
proto.RegisterType((*RecoverResponse)(nil), "machine.RecoverResponse")
|
|
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{
|
|
// 1833 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xdd, 0x72, 0x1b, 0xb7,
|
|
0x15, 0xf6, 0xd2, 0x24, 0x45, 0x1e, 0x4a, 0x14, 0xb3, 0xd1, 0x0f, 0x4d, 0xff, 0xc4, 0xde, 0xb4,
|
|
0xb5, 0xc7, 0xb5, 0x29, 0x59, 0x69, 0xdc, 0xa6, 0x6e, 0xda, 0xd1, 0x5f, 0x13, 0x8d, 0xad, 0x48,
|
|
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xb7, 0x97, 0x55, 0x25, 0xf6, 0x8b, 0xff, 0x07, 0x00, 0x00, 0xff,
|
|
0xff, 0x14, 0xd8, 0xcd, 0xf8, 0xd2, 0x15, 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)
|
|
Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (MachineService_EventsClient, 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)
|
|
Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error)
|
|
Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetResponse, error)
|
|
Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, 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)
|
|
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) Events(ctx context.Context, in *EventsRequest, opts ...grpc.CallOption) (MachineService_EventsClient, error) {
|
|
stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[1], "/machine.MachineService/Events", opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
x := &machineServiceEventsClient{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_EventsClient interface {
|
|
Recv() (*Event, error)
|
|
grpc.ClientStream
|
|
}
|
|
|
|
type machineServiceEventsClient struct {
|
|
grpc.ClientStream
|
|
}
|
|
|
|
func (x *machineServiceEventsClient) Recv() (*Event, error) {
|
|
m := new(Event)
|
|
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[2], "/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[3], "/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[4], "/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[5], "/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) Bootstrap(ctx context.Context, in *BootstrapRequest, opts ...grpc.CallOption) (*BootstrapResponse, error) {
|
|
out := new(BootstrapResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Bootstrap", 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) Recover(ctx context.Context, in *RecoverRequest, opts ...grpc.CallOption) (*RecoverResponse, error) {
|
|
out := new(RecoverResponse)
|
|
err := c.cc.Invoke(ctx, "/machine.MachineService/Recover", 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
|
|
}
|
|
|
|
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
|
|
Events(*EventsRequest, MachineService_EventsServer) 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)
|
|
Bootstrap(context.Context, *BootstrapRequest) (*BootstrapResponse, error)
|
|
Reset(context.Context, *ResetRequest) (*ResetResponse, error)
|
|
Recover(context.Context, *RecoverRequest) (*RecoverResponse, 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)
|
|
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_Events_Handler(srv interface{}, stream grpc.ServerStream) error {
|
|
m := new(EventsRequest)
|
|
if err := stream.RecvMsg(m); err != nil {
|
|
return err
|
|
}
|
|
return srv.(MachineServiceServer).Events(m, &machineServiceEventsServer{stream})
|
|
}
|
|
|
|
type MachineService_EventsServer interface {
|
|
Send(*Event) error
|
|
grpc.ServerStream
|
|
}
|
|
|
|
type machineServiceEventsServer struct {
|
|
grpc.ServerStream
|
|
}
|
|
|
|
func (x *machineServiceEventsServer) Send(m *Event) 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_Bootstrap_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(BootstrapRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Bootstrap(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Bootstrap",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Bootstrap(ctx, req.(*BootstrapRequest))
|
|
}
|
|
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_Recover_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RecoverRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(MachineServiceServer).Recover(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/machine.MachineService/Recover",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(MachineServiceServer).Recover(ctx, req.(*RecoverRequest))
|
|
}
|
|
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_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: "Bootstrap",
|
|
Handler: _MachineService_Bootstrap_Handler,
|
|
},
|
|
{
|
|
MethodName: "Reset",
|
|
Handler: _MachineService_Reset_Handler,
|
|
},
|
|
{
|
|
MethodName: "Recover",
|
|
Handler: _MachineService_Recover_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: "Version",
|
|
Handler: _MachineService_Version_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{
|
|
{
|
|
StreamName: "Copy",
|
|
Handler: _MachineService_Copy_Handler,
|
|
ServerStreams: true,
|
|
},
|
|
{
|
|
StreamName: "Events",
|
|
Handler: _MachineService_Events_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",
|
|
}
|