// Code generated by protoc-gen-go. DO NOT EDIT. // source: machine/machine.proto package machine import ( context "context" fmt "fmt" math "math" proto "github.com/golang/protobuf/proto" empty "github.com/golang/protobuf/ptypes/empty" timestamp "github.com/golang/protobuf/ptypes/timestamp" grpc "google.golang.org/grpc" common "github.com/talos-systems/talos/api/common" ) // Reference imports to suppress errors if they are not otherwise used. var ( _ = proto.Marshal _ = fmt.Errorf _ = math.Inf ) // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // rpc reboot // The reboot message containing the reboot status. type Reboot struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Reboot) Reset() { *m = Reboot{} } func (m *Reboot) String() string { return proto.CompactTextString(m) } func (*Reboot) ProtoMessage() {} func (*Reboot) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{0} } func (m *Reboot) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Reboot.Unmarshal(m, b) } func (m *Reboot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Reboot.Marshal(b, m, deterministic) } func (m *Reboot) XXX_Merge(src proto.Message) { xxx_messageInfo_Reboot.Merge(m, src) } func (m *Reboot) XXX_Size() int { return xxx_messageInfo_Reboot.Size(m) } func (m *Reboot) XXX_DiscardUnknown() { xxx_messageInfo_Reboot.DiscardUnknown(m) } var xxx_messageInfo_Reboot proto.InternalMessageInfo func (m *Reboot) GetMetadata() *common.Metadata { if m != nil { return m.Metadata } return nil } type RebootResponse struct { Messages []*Reboot `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RebootResponse) Reset() { *m = RebootResponse{} } func (m *RebootResponse) String() string { return proto.CompactTextString(m) } func (*RebootResponse) ProtoMessage() {} func (*RebootResponse) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{1} } func (m *RebootResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RebootResponse.Unmarshal(m, b) } func (m *RebootResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RebootResponse.Marshal(b, m, deterministic) } func (m *RebootResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_RebootResponse.Merge(m, src) } func (m *RebootResponse) XXX_Size() int { return xxx_messageInfo_RebootResponse.Size(m) } func (m *RebootResponse) XXX_DiscardUnknown() { xxx_messageInfo_RebootResponse.DiscardUnknown(m) } var xxx_messageInfo_RebootResponse proto.InternalMessageInfo func (m *RebootResponse) GetMessages() []*Reboot { if m != nil { return m.Messages } return nil } // rpc reset // 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{2} } 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{3} } func (m *ResetResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResetResponse.Unmarshal(m, b) } func (m *ResetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResetResponse.Marshal(b, m, deterministic) } func (m *ResetResponse) XXX_Merge(src proto.Message) { xxx_messageInfo_ResetResponse.Merge(m, src) } func (m *ResetResponse) XXX_Size() int { return xxx_messageInfo_ResetResponse.Size(m) } func (m *ResetResponse) XXX_DiscardUnknown() { xxx_messageInfo_ResetResponse.DiscardUnknown(m) } var xxx_messageInfo_ResetResponse proto.InternalMessageInfo func (m *ResetResponse) GetMessages() []*Reset { if m != nil { return m.Messages } return nil } // rpc shutdown // The messages message containing the shutdown status. type Shutdown struct { Metadata *common.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Shutdown) Reset() { *m = Shutdown{} } func (m *Shutdown) String() string { return proto.CompactTextString(m) } func (*Shutdown) ProtoMessage() {} func (*Shutdown) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{4} } 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{5} } 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"` 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{6} } 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 "" } 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{7} } 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{8} } 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{9} } 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{10} } 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{11} } 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{12} } 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{13} } 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{14} } 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{15} } 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{16} } 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{17} } 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{18} } 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{19} } 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{20} } 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{21} } 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{22} } 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{23} } 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{24} } 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{25} } 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{26} } 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{27} } 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{28} } 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{29} } 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{30} } 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{31} } 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{32} } 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{33} } 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{34} } 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{35} } 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{36} } 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{37} } 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{38} } 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{39} } func (m *ReadRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ReadRequest.Unmarshal(m, b) } func (m *ReadRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ReadRequest.Marshal(b, m, deterministic) } func (m *ReadRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_ReadRequest.Merge(m, src) } func (m *ReadRequest) XXX_Size() int { return xxx_messageInfo_ReadRequest.Size(m) } func (m *ReadRequest) XXX_DiscardUnknown() { xxx_messageInfo_ReadRequest.DiscardUnknown(m) } var xxx_messageInfo_ReadRequest proto.InternalMessageInfo func (m *ReadRequest) GetPath() string { if m != nil { return m.Path } return "" } func init() { proto.RegisterType((*Reboot)(nil), "machine.Reboot") proto.RegisterType((*RebootResponse)(nil), "machine.RebootResponse") proto.RegisterType((*Reset)(nil), "machine.Reset") proto.RegisterType((*ResetResponse)(nil), "machine.ResetResponse") proto.RegisterType((*Shutdown)(nil), "machine.Shutdown") proto.RegisterType((*ShutdownResponse)(nil), "machine.ShutdownResponse") proto.RegisterType((*UpgradeRequest)(nil), "machine.UpgradeRequest") proto.RegisterType((*Upgrade)(nil), "machine.Upgrade") proto.RegisterType((*UpgradeResponse)(nil), "machine.UpgradeResponse") proto.RegisterType((*ServiceList)(nil), "machine.ServiceList") proto.RegisterType((*ServiceListResponse)(nil), "machine.ServiceListResponse") proto.RegisterType((*ServiceInfo)(nil), "machine.ServiceInfo") proto.RegisterType((*ServiceEvents)(nil), "machine.ServiceEvents") proto.RegisterType((*ServiceEvent)(nil), "machine.ServiceEvent") proto.RegisterType((*ServiceHealth)(nil), "machine.ServiceHealth") proto.RegisterType((*ServiceStartRequest)(nil), "machine.ServiceStartRequest") proto.RegisterType((*ServiceStart)(nil), "machine.ServiceStart") proto.RegisterType((*ServiceStartResponse)(nil), "machine.ServiceStartResponse") proto.RegisterType((*ServiceStopRequest)(nil), "machine.ServiceStopRequest") proto.RegisterType((*ServiceStop)(nil), "machine.ServiceStop") proto.RegisterType((*ServiceStopResponse)(nil), "machine.ServiceStopResponse") proto.RegisterType((*ServiceRestartRequest)(nil), "machine.ServiceRestartRequest") proto.RegisterType((*ServiceRestart)(nil), "machine.ServiceRestart") proto.RegisterType((*ServiceRestartResponse)(nil), "machine.ServiceRestartResponse") proto.RegisterType((*StartRequest)(nil), "machine.StartRequest") proto.RegisterType((*StartResponse)(nil), "machine.StartResponse") proto.RegisterType((*StopRequest)(nil), "machine.StopRequest") proto.RegisterType((*StopResponse)(nil), "machine.StopResponse") proto.RegisterType((*CopyRequest)(nil), "machine.CopyRequest") proto.RegisterType((*ListRequest)(nil), "machine.ListRequest") proto.RegisterType((*FileInfo)(nil), "machine.FileInfo") proto.RegisterType((*Mounts)(nil), "machine.Mounts") proto.RegisterType((*MountsResponse)(nil), "machine.MountsResponse") proto.RegisterType((*MountStat)(nil), "machine.MountStat") proto.RegisterType((*Version)(nil), "machine.Version") proto.RegisterType((*VersionResponse)(nil), "machine.VersionResponse") proto.RegisterType((*VersionInfo)(nil), "machine.VersionInfo") proto.RegisterType((*PlatformInfo)(nil), "machine.PlatformInfo") proto.RegisterType((*LogsRequest)(nil), "machine.LogsRequest") proto.RegisterType((*ReadRequest)(nil), "machine.ReadRequest") } func init() { proto.RegisterFile("machine/machine.proto", fileDescriptor_84b4f59d98cc997c) } var fileDescriptor_84b4f59d98cc997c = []byte{ // 1484 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0x4f, 0x73, 0x1b, 0xc5, 0x12, 0xaf, 0x95, 0x65, 0x59, 0x6a, 0xd9, 0xb2, 0xdf, 0x26, 0xb6, 0xf7, 0x39, 0xce, 0xbf, 0x7d, 0x8f, 0x24, 0x65, 0x12, 0xd9, 0x71, 0x20, 0x04, 0x4c, 0xa0, 0x12, 0x3b, 0x24, 0xa9, 0xc4, 0xc4, 0xac, 0x81, 0x03, 0x17, 0x31, 0xd2, 0x8e, 0xa4, 0xa9, 0xec, 0xee, 0x2c, 0x3b, 0x23, 0xa7, 0x4c, 0xf1, 0x01, 0x28, 0x8e, 0x70, 0xe3, 0xca, 0x77, 0xe4, 0x4c, 0xcd, 0xdf, 0x5d, 0x69, 0xa5, 0x10, 0x55, 0xe5, 0xa4, 0x99, 0x9e, 0x5f, 0xf7, 0xaf, 0xbb, 0x67, 0xb6, 0xa7, 0x47, 0xb0, 0x1e, 0xa3, 0xde, 0x90, 0x24, 0x78, 0x57, 0xff, 0xb6, 0xd3, 0x8c, 0x72, 0xea, 0x2e, 0xe9, 0xe9, 0xd6, 0xa5, 0x01, 0xa5, 0x83, 0x08, 0xef, 0x4a, 0x71, 0x77, 0xd4, 0xdf, 0xc5, 0x71, 0xca, 0xcf, 0x15, 0x6a, 0xeb, 0xea, 0xe4, 0x22, 0x27, 0x31, 0x66, 0x1c, 0xc5, 0xa9, 0x06, 0x5c, 0xe8, 0xd1, 0x38, 0xa6, 0xc9, 0xae, 0xfa, 0x51, 0x42, 0xff, 0x3e, 0xd4, 0x02, 0xdc, 0xa5, 0x94, 0xbb, 0xb7, 0xa1, 0x1e, 0x63, 0x8e, 0x42, 0xc4, 0x91, 0xe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, 0x76, 0x51, 0x4a, 0xcc, 0xbf, 0x2e, 0xdd, 0x9a, 0xa4, 0xbd, 0xf7, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xca, 0x8f, 0x34, 0x84, 0x8f, 0x11, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var ( _ context.Context _ grpc.ClientConn ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 // MachineServiceClient is the client API for MachineService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MachineServiceClient interface { Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error) Reset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ResetResponse, error) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) } type machineServiceClient struct { cc *grpc.ClientConn } func NewMachineServiceClient(cc *grpc.ClientConn) MachineServiceClient { return &machineServiceClient{cc} } func (c *machineServiceClient) Copy(ctx context.Context, in *CopyRequest, opts ...grpc.CallOption) (MachineService_CopyClient, error) { stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[0], "/machine.MachineService/Copy", opts...) if err != nil { return nil, err } x := &machineServiceCopyClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } if err := x.ClientStream.CloseSend(); err != nil { return nil, err } return x, nil } type MachineService_CopyClient interface { Recv() (*common.Data, error) grpc.ClientStream } type machineServiceCopyClient struct { grpc.ClientStream } func (x *machineServiceCopyClient) Recv() (*common.Data, error) { m := new(common.Data) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineServiceClient) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (MachineService_KubeconfigClient, error) { stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[1], "/machine.MachineService/Kubeconfig", opts...) if err != nil { return nil, err } x := &machineServiceKubeconfigClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } if err := x.ClientStream.CloseSend(); err != nil { return nil, err } return x, nil } type MachineService_KubeconfigClient interface { Recv() (*common.Data, error) grpc.ClientStream } type machineServiceKubeconfigClient struct { grpc.ClientStream } func (x *machineServiceKubeconfigClient) Recv() (*common.Data, error) { m := new(common.Data) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineServiceClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (MachineService_ListClient, error) { stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[2], "/machine.MachineService/List", opts...) if err != nil { return nil, err } x := &machineServiceListClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } if err := x.ClientStream.CloseSend(); err != nil { return nil, err } return x, nil } type MachineService_ListClient interface { Recv() (*FileInfo, error) grpc.ClientStream } type machineServiceListClient struct { grpc.ClientStream } func (x *machineServiceListClient) Recv() (*FileInfo, error) { m := new(FileInfo) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineServiceClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (MachineService_LogsClient, error) { stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[3], "/machine.MachineService/Logs", opts...) if err != nil { return nil, err } x := &machineServiceLogsClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } if err := x.ClientStream.CloseSend(); err != nil { return nil, err } return x, nil } type MachineService_LogsClient interface { Recv() (*common.Data, error) grpc.ClientStream } type machineServiceLogsClient struct { grpc.ClientStream } func (x *machineServiceLogsClient) Recv() (*common.Data, error) { m := new(common.Data) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineServiceClient) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsResponse, error) { out := new(MountsResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Mounts", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (MachineService_ReadClient, error) { stream, err := c.cc.NewStream(ctx, &_MachineService_serviceDesc.Streams[4], "/machine.MachineService/Read", opts...) if err != nil { return nil, err } x := &machineServiceReadClient{stream} if err := x.ClientStream.SendMsg(in); err != nil { return nil, err } if err := x.ClientStream.CloseSend(); err != nil { return nil, err } return x, nil } type MachineService_ReadClient interface { Recv() (*common.Data, error) grpc.ClientStream } type machineServiceReadClient struct { grpc.ClientStream } func (x *machineServiceReadClient) Recv() (*common.Data, error) { m := new(common.Data) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineServiceClient) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootResponse, error) { out := new(RebootResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Reboot", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) Reset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ResetResponse, error) { out := new(ResetResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Reset", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListResponse, error) { out := new(ServiceListResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartResponse, error) { out := new(ServiceRestartResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceRestart", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartResponse, error) { out := new(ServiceStartResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStart", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopResponse, error) { out := new(ServiceStopResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/ServiceStop", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownResponse, error) { out := new(ShutdownResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Shutdown", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeResponse, error) { out := new(UpgradeResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Upgrade", in, out, opts...) if err != nil { return nil, err } return out, nil } // Deprecated: Do not use. func (c *machineServiceClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) { out := new(StartResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Start", in, out, opts...) if err != nil { return nil, err } return out, nil } // Deprecated: Do not use. func (c *machineServiceClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) { out := new(StopResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Stop", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineServiceClient) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionResponse, error) { out := new(VersionResponse) err := c.cc.Invoke(ctx, "/machine.MachineService/Version", in, out, opts...) if err != nil { return nil, err } return out, nil } // MachineServiceServer is the server API for MachineService service. type MachineServiceServer interface { Copy(*CopyRequest, MachineService_CopyServer) error Kubeconfig(*empty.Empty, MachineService_KubeconfigServer) error List(*ListRequest, MachineService_ListServer) error Logs(*LogsRequest, MachineService_LogsServer) error Mounts(context.Context, *empty.Empty) (*MountsResponse, error) Read(*ReadRequest, MachineService_ReadServer) error Reboot(context.Context, *empty.Empty) (*RebootResponse, error) Reset(context.Context, *empty.Empty) (*ResetResponse, error) ServiceList(context.Context, *empty.Empty) (*ServiceListResponse, error) ServiceRestart(context.Context, *ServiceRestartRequest) (*ServiceRestartResponse, error) ServiceStart(context.Context, *ServiceStartRequest) (*ServiceStartResponse, error) ServiceStop(context.Context, *ServiceStopRequest) (*ServiceStopResponse, error) Shutdown(context.Context, *empty.Empty) (*ShutdownResponse, error) Upgrade(context.Context, *UpgradeRequest) (*UpgradeResponse, error) Start(context.Context, *StartRequest) (*StartResponse, error) Stop(context.Context, *StopRequest) (*StopResponse, error) Version(context.Context, *empty.Empty) (*VersionResponse, error) } func RegisterMachineServiceServer(s *grpc.Server, srv MachineServiceServer) { s.RegisterService(&_MachineService_serviceDesc, srv) } func _MachineService_Copy_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(CopyRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServiceServer).Copy(m, &machineServiceCopyServer{stream}) } type MachineService_CopyServer interface { Send(*common.Data) error grpc.ServerStream } type machineServiceCopyServer struct { grpc.ServerStream } func (x *machineServiceCopyServer) Send(m *common.Data) error { return x.ServerStream.SendMsg(m) } func _MachineService_Kubeconfig_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServiceServer).Kubeconfig(m, &machineServiceKubeconfigServer{stream}) } type MachineService_KubeconfigServer interface { Send(*common.Data) error grpc.ServerStream } type machineServiceKubeconfigServer struct { grpc.ServerStream } func (x *machineServiceKubeconfigServer) Send(m *common.Data) error { return x.ServerStream.SendMsg(m) } func _MachineService_List_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(ListRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServiceServer).List(m, &machineServiceListServer{stream}) } type MachineService_ListServer interface { Send(*FileInfo) error grpc.ServerStream } type machineServiceListServer struct { grpc.ServerStream } func (x *machineServiceListServer) Send(m *FileInfo) error { return x.ServerStream.SendMsg(m) } func _MachineService_Logs_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(LogsRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServiceServer).Logs(m, &machineServiceLogsServer{stream}) } type MachineService_LogsServer interface { Send(*common.Data) error grpc.ServerStream } type machineServiceLogsServer struct { grpc.ServerStream } func (x *machineServiceLogsServer) Send(m *common.Data) error { return x.ServerStream.SendMsg(m) } func _MachineService_Mounts_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Mounts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Mounts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Mounts(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _MachineService_Read_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(ReadRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServiceServer).Read(m, &machineServiceReadServer{stream}) } type MachineService_ReadServer interface { Send(*common.Data) error grpc.ServerStream } type machineServiceReadServer struct { grpc.ServerStream } func (x *machineServiceReadServer) Send(m *common.Data) error { return x.ServerStream.SendMsg(m) } func _MachineService_Reboot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Reboot(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Reboot", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Reboot(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _MachineService_Reset_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) 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.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _MachineService_ServiceList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).ServiceList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/ServiceList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).ServiceList(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _MachineService_ServiceRestart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ServiceRestartRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).ServiceRestart(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/ServiceRestart", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).ServiceRestart(ctx, req.(*ServiceRestartRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_ServiceStart_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ServiceStartRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).ServiceStart(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/ServiceStart", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).ServiceStart(ctx, req.(*ServiceStartRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_ServiceStop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ServiceStopRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).ServiceStop(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/ServiceStop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).ServiceStop(ctx, req.(*ServiceStopRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_Shutdown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Shutdown(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Shutdown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Shutdown(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _MachineService_Upgrade_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpgradeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Upgrade(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Upgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Upgrade(ctx, req.(*UpgradeRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(StartRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Start(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Start(ctx, req.(*StartRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(StopRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Stop(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Stop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Stop(ctx, req.(*StopRequest)) } return interceptor(ctx, in, info, handler) } func _MachineService_Version_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(empty.Empty) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(MachineServiceServer).Version(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.MachineService/Version", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServiceServer).Version(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } var _MachineService_serviceDesc = grpc.ServiceDesc{ ServiceName: "machine.MachineService", HandlerType: (*MachineServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Mounts", Handler: _MachineService_Mounts_Handler, }, { MethodName: "Reboot", Handler: _MachineService_Reboot_Handler, }, { MethodName: "Reset", Handler: _MachineService_Reset_Handler, }, { MethodName: "ServiceList", Handler: _MachineService_ServiceList_Handler, }, { MethodName: "ServiceRestart", Handler: _MachineService_ServiceRestart_Handler, }, { MethodName: "ServiceStart", Handler: _MachineService_ServiceStart_Handler, }, { MethodName: "ServiceStop", Handler: _MachineService_ServiceStop_Handler, }, { MethodName: "Shutdown", Handler: _MachineService_Shutdown_Handler, }, { MethodName: "Upgrade", Handler: _MachineService_Upgrade_Handler, }, { MethodName: "Start", Handler: _MachineService_Start_Handler, }, { MethodName: "Stop", Handler: _MachineService_Stop_Handler, }, { MethodName: "Version", Handler: _MachineService_Version_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Copy", Handler: _MachineService_Copy_Handler, ServerStreams: true, }, { StreamName: "Kubeconfig", Handler: _MachineService_Kubeconfig_Handler, ServerStreams: true, }, { StreamName: "List", Handler: _MachineService_List_Handler, ServerStreams: true, }, { StreamName: "Logs", Handler: _MachineService_Logs_Handler, ServerStreams: true, }, { StreamName: "Read", Handler: _MachineService_Read_Handler, ServerStreams: true, }, }, Metadata: "machine/machine.proto", }