// 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 var _ = fmt.Errorf var _ = 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 response message containing the reboot status. type RebootResponse struct { Metadata *common.NodeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,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{0} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } type RebootReply struct { Response []*RebootResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *RebootReply) Reset() { *m = RebootReply{} } func (m *RebootReply) String() string { return proto.CompactTextString(m) } func (*RebootReply) ProtoMessage() {} func (*RebootReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{1} } func (m *RebootReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_RebootReply.Unmarshal(m, b) } func (m *RebootReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_RebootReply.Marshal(b, m, deterministic) } func (m *RebootReply) XXX_Merge(src proto.Message) { xxx_messageInfo_RebootReply.Merge(m, src) } func (m *RebootReply) XXX_Size() int { return xxx_messageInfo_RebootReply.Size(m) } func (m *RebootReply) XXX_DiscardUnknown() { xxx_messageInfo_RebootReply.DiscardUnknown(m) } var xxx_messageInfo_RebootReply proto.InternalMessageInfo func (m *RebootReply) GetResponse() []*RebootResponse { if m != nil { return m.Response } return nil } // rpc reset // The response message containing the restart status. type ResetResponse struct { Metadata *common.NodeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,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{2} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } type ResetReply struct { Response []*ResetResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ResetReply) Reset() { *m = ResetReply{} } func (m *ResetReply) String() string { return proto.CompactTextString(m) } func (*ResetReply) ProtoMessage() {} func (*ResetReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{3} } func (m *ResetReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ResetReply.Unmarshal(m, b) } func (m *ResetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ResetReply.Marshal(b, m, deterministic) } func (m *ResetReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ResetReply.Merge(m, src) } func (m *ResetReply) XXX_Size() int { return xxx_messageInfo_ResetReply.Size(m) } func (m *ResetReply) XXX_DiscardUnknown() { xxx_messageInfo_ResetReply.DiscardUnknown(m) } var xxx_messageInfo_ResetReply proto.InternalMessageInfo func (m *ResetReply) GetResponse() []*ResetResponse { if m != nil { return m.Response } return nil } // rpc shutdown // The response message containing the shutdown status. type ShutdownResponse struct { Metadata *common.NodeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,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{4} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } type ShutdownReply struct { Response []*ShutdownResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ShutdownReply) Reset() { *m = ShutdownReply{} } func (m *ShutdownReply) String() string { return proto.CompactTextString(m) } func (*ShutdownReply) ProtoMessage() {} func (*ShutdownReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{5} } func (m *ShutdownReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ShutdownReply.Unmarshal(m, b) } func (m *ShutdownReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ShutdownReply.Marshal(b, m, deterministic) } func (m *ShutdownReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ShutdownReply.Merge(m, src) } func (m *ShutdownReply) XXX_Size() int { return xxx_messageInfo_ShutdownReply.Size(m) } func (m *ShutdownReply) XXX_DiscardUnknown() { xxx_messageInfo_ShutdownReply.DiscardUnknown(m) } var xxx_messageInfo_ShutdownReply proto.InternalMessageInfo func (m *ShutdownReply) GetResponse() []*ShutdownResponse { if m != nil { return m.Response } 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 UpgradeResponse struct { Metadata *common.NodeMetadata `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 *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{7} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *UpgradeResponse) GetAck() string { if m != nil { return m.Ack } return "" } type UpgradeReply struct { Response []*UpgradeResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *UpgradeReply) Reset() { *m = UpgradeReply{} } func (m *UpgradeReply) String() string { return proto.CompactTextString(m) } func (*UpgradeReply) ProtoMessage() {} func (*UpgradeReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{8} } func (m *UpgradeReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_UpgradeReply.Unmarshal(m, b) } func (m *UpgradeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_UpgradeReply.Marshal(b, m, deterministic) } func (m *UpgradeReply) XXX_Merge(src proto.Message) { xxx_messageInfo_UpgradeReply.Merge(m, src) } func (m *UpgradeReply) XXX_Size() int { return xxx_messageInfo_UpgradeReply.Size(m) } func (m *UpgradeReply) XXX_DiscardUnknown() { xxx_messageInfo_UpgradeReply.DiscardUnknown(m) } var xxx_messageInfo_UpgradeReply proto.InternalMessageInfo func (m *UpgradeReply) GetResponse() []*UpgradeResponse { if m != nil { return m.Response } return nil } // rpc servicelist type ServiceListResponse struct { Metadata *common.NodeMetadata `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 *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{9} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *ServiceListResponse) GetServices() []*ServiceInfo { if m != nil { return m.Services } return nil } type ServiceListReply struct { Response []*ServiceListResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ServiceListReply) Reset() { *m = ServiceListReply{} } func (m *ServiceListReply) String() string { return proto.CompactTextString(m) } func (*ServiceListReply) ProtoMessage() {} func (*ServiceListReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{10} } func (m *ServiceListReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceListReply.Unmarshal(m, b) } func (m *ServiceListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceListReply.Marshal(b, m, deterministic) } func (m *ServiceListReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ServiceListReply.Merge(m, src) } func (m *ServiceListReply) XXX_Size() int { return xxx_messageInfo_ServiceListReply.Size(m) } func (m *ServiceListReply) XXX_DiscardUnknown() { xxx_messageInfo_ServiceListReply.DiscardUnknown(m) } var xxx_messageInfo_ServiceListReply proto.InternalMessageInfo func (m *ServiceListReply) GetResponse() []*ServiceListResponse { if m != nil { return m.Response } 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 ServiceStartResponse struct { Metadata *common.NodeMetadata `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 *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{16} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *ServiceStartResponse) GetResp() string { if m != nil { return m.Resp } return "" } type ServiceStartReply struct { Response []*ServiceStartResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ServiceStartReply) Reset() { *m = ServiceStartReply{} } func (m *ServiceStartReply) String() string { return proto.CompactTextString(m) } func (*ServiceStartReply) ProtoMessage() {} func (*ServiceStartReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{17} } func (m *ServiceStartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceStartReply.Unmarshal(m, b) } func (m *ServiceStartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceStartReply.Marshal(b, m, deterministic) } func (m *ServiceStartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ServiceStartReply.Merge(m, src) } func (m *ServiceStartReply) XXX_Size() int { return xxx_messageInfo_ServiceStartReply.Size(m) } func (m *ServiceStartReply) XXX_DiscardUnknown() { xxx_messageInfo_ServiceStartReply.DiscardUnknown(m) } var xxx_messageInfo_ServiceStartReply proto.InternalMessageInfo func (m *ServiceStartReply) GetResponse() []*ServiceStartResponse { if m != nil { return m.Response } 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 ServiceStopResponse struct { Metadata *common.NodeMetadata `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 *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{19} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *ServiceStopResponse) GetResp() string { if m != nil { return m.Resp } return "" } type ServiceStopReply struct { Response []*ServiceStopResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ServiceStopReply) Reset() { *m = ServiceStopReply{} } func (m *ServiceStopReply) String() string { return proto.CompactTextString(m) } func (*ServiceStopReply) ProtoMessage() {} func (*ServiceStopReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{20} } func (m *ServiceStopReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceStopReply.Unmarshal(m, b) } func (m *ServiceStopReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceStopReply.Marshal(b, m, deterministic) } func (m *ServiceStopReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ServiceStopReply.Merge(m, src) } func (m *ServiceStopReply) XXX_Size() int { return xxx_messageInfo_ServiceStopReply.Size(m) } func (m *ServiceStopReply) XXX_DiscardUnknown() { xxx_messageInfo_ServiceStopReply.DiscardUnknown(m) } var xxx_messageInfo_ServiceStopReply proto.InternalMessageInfo func (m *ServiceStopReply) GetResponse() []*ServiceStopResponse { if m != nil { return m.Response } 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 ServiceRestartResponse struct { Metadata *common.NodeMetadata `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 *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{22} } 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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *ServiceRestartResponse) GetResp() string { if m != nil { return m.Resp } return "" } type ServiceRestartReply struct { Response []*ServiceRestartResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *ServiceRestartReply) Reset() { *m = ServiceRestartReply{} } func (m *ServiceRestartReply) String() string { return proto.CompactTextString(m) } func (*ServiceRestartReply) ProtoMessage() {} func (*ServiceRestartReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{23} } func (m *ServiceRestartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ServiceRestartReply.Unmarshal(m, b) } func (m *ServiceRestartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_ServiceRestartReply.Marshal(b, m, deterministic) } func (m *ServiceRestartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_ServiceRestartReply.Merge(m, src) } func (m *ServiceRestartReply) XXX_Size() int { return xxx_messageInfo_ServiceRestartReply.Size(m) } func (m *ServiceRestartReply) XXX_DiscardUnknown() { xxx_messageInfo_ServiceRestartReply.DiscardUnknown(m) } var xxx_messageInfo_ServiceRestartReply proto.InternalMessageInfo func (m *ServiceRestartReply) GetResponse() []*ServiceRestartResponse { if m != nil { return m.Response } 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 StartReply 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 *StartReply) Reset() { *m = StartReply{} } func (m *StartReply) String() string { return proto.CompactTextString(m) } func (*StartReply) ProtoMessage() {} func (*StartReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{25} } func (m *StartReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StartReply.Unmarshal(m, b) } func (m *StartReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StartReply.Marshal(b, m, deterministic) } func (m *StartReply) XXX_Merge(src proto.Message) { xxx_messageInfo_StartReply.Merge(m, src) } func (m *StartReply) XXX_Size() int { return xxx_messageInfo_StartReply.Size(m) } func (m *StartReply) XXX_DiscardUnknown() { xxx_messageInfo_StartReply.DiscardUnknown(m) } var xxx_messageInfo_StartReply proto.InternalMessageInfo func (m *StartReply) 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 StopReply 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 *StopReply) Reset() { *m = StopReply{} } func (m *StopReply) String() string { return proto.CompactTextString(m) } func (*StopReply) ProtoMessage() {} func (*StopReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{27} } func (m *StopReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StopReply.Unmarshal(m, b) } func (m *StopReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StopReply.Marshal(b, m, deterministic) } func (m *StopReply) XXX_Merge(src proto.Message) { xxx_messageInfo_StopReply.Merge(m, src) } func (m *StopReply) XXX_Size() int { return xxx_messageInfo_StopReply.Size(m) } func (m *StopReply) XXX_DiscardUnknown() { xxx_messageInfo_StopReply.DiscardUnknown(m) } var xxx_messageInfo_StopReply proto.InternalMessageInfo func (m *StopReply) GetResp() string { if m != nil { return m.Resp } return "" } // StreamingData is used to stream back responses type StreamingData struct { Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors,proto3" json:"errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *StreamingData) Reset() { *m = StreamingData{} } func (m *StreamingData) String() string { return proto.CompactTextString(m) } func (*StreamingData) ProtoMessage() {} func (*StreamingData) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{28} } func (m *StreamingData) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_StreamingData.Unmarshal(m, b) } func (m *StreamingData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_StreamingData.Marshal(b, m, deterministic) } func (m *StreamingData) XXX_Merge(src proto.Message) { xxx_messageInfo_StreamingData.Merge(m, src) } func (m *StreamingData) XXX_Size() int { return xxx_messageInfo_StreamingData.Size(m) } func (m *StreamingData) XXX_DiscardUnknown() { xxx_messageInfo_StreamingData.DiscardUnknown(m) } var xxx_messageInfo_StreamingData proto.InternalMessageInfo func (m *StreamingData) GetBytes() []byte { if m != nil { return m.Bytes } return nil } func (m *StreamingData) GetErrors() string { if m != nil { return m.Errors } return "" } // CopyOutRequest describes a request to copy data out of Talos node // // CopyOut produces .tar.gz archive which is streamed back to the caller type CopyOutRequest 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 *CopyOutRequest) Reset() { *m = CopyOutRequest{} } func (m *CopyOutRequest) String() string { return proto.CompactTextString(m) } func (*CopyOutRequest) ProtoMessage() {} func (*CopyOutRequest) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{29} } func (m *CopyOutRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CopyOutRequest.Unmarshal(m, b) } func (m *CopyOutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_CopyOutRequest.Marshal(b, m, deterministic) } func (m *CopyOutRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_CopyOutRequest.Merge(m, src) } func (m *CopyOutRequest) XXX_Size() int { return xxx_messageInfo_CopyOutRequest.Size(m) } func (m *CopyOutRequest) XXX_DiscardUnknown() { xxx_messageInfo_CopyOutRequest.DiscardUnknown(m) } var xxx_messageInfo_CopyOutRequest proto.InternalMessageInfo func (m *CopyOutRequest) GetRootPath() string { if m != nil { return m.RootPath } return "" } // LSRequest describes a request to list the contents of a directory type LSRequest 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 *LSRequest) Reset() { *m = LSRequest{} } func (m *LSRequest) String() string { return proto.CompactTextString(m) } func (*LSRequest) ProtoMessage() {} func (*LSRequest) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{30} } func (m *LSRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LSRequest.Unmarshal(m, b) } func (m *LSRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LSRequest.Marshal(b, m, deterministic) } func (m *LSRequest) XXX_Merge(src proto.Message) { xxx_messageInfo_LSRequest.Merge(m, src) } func (m *LSRequest) XXX_Size() int { return xxx_messageInfo_LSRequest.Size(m) } func (m *LSRequest) XXX_DiscardUnknown() { xxx_messageInfo_LSRequest.DiscardUnknown(m) } var xxx_messageInfo_LSRequest proto.InternalMessageInfo func (m *LSRequest) GetRoot() string { if m != nil { return m.Root } return "" } func (m *LSRequest) GetRecurse() bool { if m != nil { return m.Recurse } return false } func (m *LSRequest) GetRecursionDepth() int32 { if m != nil { return m.RecursionDepth } return 0 } // FileInfo describes a file or directory's information type FileInfo struct { // Name is the name (including prefixed path) of the file or directory Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Size indicates the number of bytes contained within the file Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // Mode is the bitmap of UNIX mode/permission flags of the file Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // Modified indicates the UNIX timestamp at which the file was last modified Modified int64 `protobuf:"varint,4,opt,name=modified,proto3" json:"modified,omitempty"` // IsDir indicates that the file is a directory IsDir bool `protobuf:"varint,5,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,6,opt,name=error,proto3" json:"error,omitempty"` // Link is filled with symlink target Link string `protobuf:"bytes,7,opt,name=link,proto3" json:"link,omitempty"` // RelativeName is the name of the file or directory relative to the RootPath RelativeName string `protobuf:"bytes,8,opt,name=relative_name,json=relativeName,proto3" json:"relative_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *FileInfo) Reset() { *m = FileInfo{} } func (m *FileInfo) String() string { return proto.CompactTextString(m) } func (*FileInfo) ProtoMessage() {} func (*FileInfo) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{31} } func (m *FileInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_FileInfo.Unmarshal(m, b) } func (m *FileInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_FileInfo.Marshal(b, m, deterministic) } func (m *FileInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_FileInfo.Merge(m, src) } func (m *FileInfo) XXX_Size() int { return xxx_messageInfo_FileInfo.Size(m) } func (m *FileInfo) XXX_DiscardUnknown() { xxx_messageInfo_FileInfo.DiscardUnknown(m) } var xxx_messageInfo_FileInfo proto.InternalMessageInfo func (m *FileInfo) 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 response message containing the requested df stats. type MountsResponse struct { Metadata *common.NodeMetadata `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 *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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *MountsResponse) GetStats() []*MountStat { if m != nil { return m.Stats } return nil } type MountsReply struct { Response []*MountsResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MountsReply) Reset() { *m = MountsReply{} } func (m *MountsReply) String() string { return proto.CompactTextString(m) } func (*MountsReply) ProtoMessage() {} func (*MountsReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{33} } func (m *MountsReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MountsReply.Unmarshal(m, b) } func (m *MountsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MountsReply.Marshal(b, m, deterministic) } func (m *MountsReply) XXX_Merge(src proto.Message) { xxx_messageInfo_MountsReply.Merge(m, src) } func (m *MountsReply) XXX_Size() int { return xxx_messageInfo_MountsReply.Size(m) } func (m *MountsReply) XXX_DiscardUnknown() { xxx_messageInfo_MountsReply.DiscardUnknown(m) } var xxx_messageInfo_MountsReply proto.InternalMessageInfo func (m *MountsReply) GetResponse() []*MountsResponse { if m != nil { return m.Response } return nil } // The response message containing the requested processes. type MountStat struct { Filesystem string `protobuf:"bytes,1,opt,name=filesystem,proto3" json:"filesystem,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Available uint64 `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"` MountedOn string `protobuf:"bytes,4,opt,name=mounted_on,json=mountedOn,proto3" json:"mounted_on,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MountStat) Reset() { *m = MountStat{} } func (m *MountStat) String() string { return proto.CompactTextString(m) } func (*MountStat) ProtoMessage() {} func (*MountStat) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{34} } func (m *MountStat) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MountStat.Unmarshal(m, b) } func (m *MountStat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MountStat.Marshal(b, m, deterministic) } func (m *MountStat) XXX_Merge(src proto.Message) { xxx_messageInfo_MountStat.Merge(m, src) } func (m *MountStat) XXX_Size() int { return xxx_messageInfo_MountStat.Size(m) } func (m *MountStat) XXX_DiscardUnknown() { xxx_messageInfo_MountStat.DiscardUnknown(m) } var xxx_messageInfo_MountStat proto.InternalMessageInfo func (m *MountStat) GetFilesystem() string { if m != nil { return m.Filesystem } return "" } func (m *MountStat) GetSize() uint64 { if m != nil { return m.Size } return 0 } func (m *MountStat) GetAvailable() uint64 { if m != nil { return m.Available } return 0 } func (m *MountStat) GetMountedOn() string { if m != nil { return m.MountedOn } return "" } type VersionResponse struct { Metadata *common.NodeMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Version *VersionInfo `protobuf:"bytes,2,opt,name=version,proto3" json:"version,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) GetMetadata() *common.NodeMetadata { if m != nil { return m.Metadata } return nil } func (m *VersionResponse) GetVersion() *VersionInfo { if m != nil { return m.Version } return nil } type VersionReply struct { Response []*VersionResponse `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *VersionReply) Reset() { *m = VersionReply{} } func (m *VersionReply) String() string { return proto.CompactTextString(m) } func (*VersionReply) ProtoMessage() {} func (*VersionReply) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{36} } func (m *VersionReply) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VersionReply.Unmarshal(m, b) } func (m *VersionReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_VersionReply.Marshal(b, m, deterministic) } func (m *VersionReply) XXX_Merge(src proto.Message) { xxx_messageInfo_VersionReply.Merge(m, src) } func (m *VersionReply) XXX_Size() int { return xxx_messageInfo_VersionReply.Size(m) } func (m *VersionReply) XXX_DiscardUnknown() { xxx_messageInfo_VersionReply.DiscardUnknown(m) } var xxx_messageInfo_VersionReply proto.InternalMessageInfo func (m *VersionReply) GetResponse() []*VersionResponse { if m != nil { return m.Response } return nil } type VersionInfo struct { Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"` Sha string `protobuf:"bytes,2,opt,name=sha,proto3" json:"sha,omitempty"` Built string `protobuf:"bytes,3,opt,name=built,proto3" json:"built,omitempty"` GoVersion string `protobuf:"bytes,4,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` Os string `protobuf:"bytes,5,opt,name=os,proto3" json:"os,omitempty"` Arch string `protobuf:"bytes,6,opt,name=arch,proto3" json:"arch,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *VersionInfo) Reset() { *m = VersionInfo{} } func (m *VersionInfo) String() string { return proto.CompactTextString(m) } func (*VersionInfo) ProtoMessage() {} func (*VersionInfo) Descriptor() ([]byte, []int) { return fileDescriptor_84b4f59d98cc997c, []int{37} } func (m *VersionInfo) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VersionInfo.Unmarshal(m, b) } func (m *VersionInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_VersionInfo.Marshal(b, m, deterministic) } func (m *VersionInfo) XXX_Merge(src proto.Message) { xxx_messageInfo_VersionInfo.Merge(m, src) } func (m *VersionInfo) XXX_Size() int { return xxx_messageInfo_VersionInfo.Size(m) } func (m *VersionInfo) XXX_DiscardUnknown() { xxx_messageInfo_VersionInfo.DiscardUnknown(m) } var xxx_messageInfo_VersionInfo proto.InternalMessageInfo func (m *VersionInfo) GetTag() string { if m != nil { return m.Tag } return "" } func (m *VersionInfo) GetSha() string { if m != nil { return m.Sha } return "" } func (m *VersionInfo) GetBuilt() string { if m != nil { return m.Built } return "" } func (m *VersionInfo) GetGoVersion() string { if m != nil { return m.GoVersion } return "" } func (m *VersionInfo) GetOs() string { if m != nil { return m.Os } return "" } func (m *VersionInfo) GetArch() string { if m != nil { return m.Arch } return "" } func init() { proto.RegisterType((*RebootResponse)(nil), "machine.RebootResponse") proto.RegisterType((*RebootReply)(nil), "machine.RebootReply") proto.RegisterType((*ResetResponse)(nil), "machine.ResetResponse") proto.RegisterType((*ResetReply)(nil), "machine.ResetReply") proto.RegisterType((*ShutdownResponse)(nil), "machine.ShutdownResponse") proto.RegisterType((*ShutdownReply)(nil), "machine.ShutdownReply") proto.RegisterType((*UpgradeRequest)(nil), "machine.UpgradeRequest") proto.RegisterType((*UpgradeResponse)(nil), "machine.UpgradeResponse") proto.RegisterType((*UpgradeReply)(nil), "machine.UpgradeReply") proto.RegisterType((*ServiceListResponse)(nil), "machine.ServiceListResponse") proto.RegisterType((*ServiceListReply)(nil), "machine.ServiceListReply") 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((*ServiceStartResponse)(nil), "machine.ServiceStartResponse") proto.RegisterType((*ServiceStartReply)(nil), "machine.ServiceStartReply") proto.RegisterType((*ServiceStopRequest)(nil), "machine.ServiceStopRequest") proto.RegisterType((*ServiceStopResponse)(nil), "machine.ServiceStopResponse") proto.RegisterType((*ServiceStopReply)(nil), "machine.ServiceStopReply") proto.RegisterType((*ServiceRestartRequest)(nil), "machine.ServiceRestartRequest") proto.RegisterType((*ServiceRestartResponse)(nil), "machine.ServiceRestartResponse") proto.RegisterType((*ServiceRestartReply)(nil), "machine.ServiceRestartReply") proto.RegisterType((*StartRequest)(nil), "machine.StartRequest") proto.RegisterType((*StartReply)(nil), "machine.StartReply") proto.RegisterType((*StopRequest)(nil), "machine.StopRequest") proto.RegisterType((*StopReply)(nil), "machine.StopReply") proto.RegisterType((*StreamingData)(nil), "machine.StreamingData") proto.RegisterType((*CopyOutRequest)(nil), "machine.CopyOutRequest") proto.RegisterType((*LSRequest)(nil), "machine.LSRequest") proto.RegisterType((*FileInfo)(nil), "machine.FileInfo") proto.RegisterType((*MountsResponse)(nil), "machine.MountsResponse") proto.RegisterType((*MountsReply)(nil), "machine.MountsReply") proto.RegisterType((*MountStat)(nil), "machine.MountStat") proto.RegisterType((*VersionResponse)(nil), "machine.VersionResponse") proto.RegisterType((*VersionReply)(nil), "machine.VersionReply") proto.RegisterType((*VersionInfo)(nil), "machine.VersionInfo") } func init() { proto.RegisterFile("machine/machine.proto", fileDescriptor_84b4f59d98cc997c) } var fileDescriptor_84b4f59d98cc997c = []byte{ // 1388 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xe9, 0x6e, 0x1b, 0x37, 0x10, 0x86, 0x24, 0xeb, 0x1a, 0xd9, 0x72, 0x42, 0x1f, 0x55, 0x14, 0xe7, 0xda, 0xa4, 0x4d, 0x10, 0xc0, 0x72, 0xe0, 0x1c, 0xc8, 0xd1, 0x06, 0x89, 0xe3, 0x04, 0x29, 0x62,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, 0xf3, 0x98, 0xbe, 0xcb, 0xfd, 0x74, 0x7b, 0x40, 0xc5, 0x70, 0xd4, 0x95, 0xd5, 0x6e, 0x4b, 0xe0, 0x80, 0xf1, 0x4d, 0x5d, 0x76, 0xb9, 0x9e, 0x6d, 0xe1, 0x98, 0xa6, 0xff, 0x42, 0x74, 0x4b, 0xca, 0xe7, 0xdd, 0xff, 0x03, 0x00, 0x00, 0xff, 0xff, 0x35, 0x80, 0xc3, 0xe3, 0x9f, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ 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 // MachineClient is the client API for Machine service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MachineClient interface { CopyOut(ctx context.Context, in *CopyOutRequest, opts ...grpc.CallOption) (Machine_CopyOutClient, error) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (Machine_KubeconfigClient, error) LS(ctx context.Context, in *LSRequest, opts ...grpc.CallOption) (Machine_LSClient, error) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsReply, error) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootReply, error) Reset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ResetReply, error) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListReply, error) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartReply, error) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartReply, error) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopReply, error) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownReply, error) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeReply, error) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartReply, error) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopReply, error) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionReply, error) } type machineClient struct { cc *grpc.ClientConn } func NewMachineClient(cc *grpc.ClientConn) MachineClient { return &machineClient{cc} } func (c *machineClient) CopyOut(ctx context.Context, in *CopyOutRequest, opts ...grpc.CallOption) (Machine_CopyOutClient, error) { stream, err := c.cc.NewStream(ctx, &_Machine_serviceDesc.Streams[0], "/machine.Machine/CopyOut", opts...) if err != nil { return nil, err } x := &machineCopyOutClient{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 Machine_CopyOutClient interface { Recv() (*StreamingData, error) grpc.ClientStream } type machineCopyOutClient struct { grpc.ClientStream } func (x *machineCopyOutClient) Recv() (*StreamingData, error) { m := new(StreamingData) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineClient) Kubeconfig(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (Machine_KubeconfigClient, error) { stream, err := c.cc.NewStream(ctx, &_Machine_serviceDesc.Streams[1], "/machine.Machine/Kubeconfig", opts...) if err != nil { return nil, err } x := &machineKubeconfigClient{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 Machine_KubeconfigClient interface { Recv() (*StreamingData, error) grpc.ClientStream } type machineKubeconfigClient struct { grpc.ClientStream } func (x *machineKubeconfigClient) Recv() (*StreamingData, error) { m := new(StreamingData) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineClient) LS(ctx context.Context, in *LSRequest, opts ...grpc.CallOption) (Machine_LSClient, error) { stream, err := c.cc.NewStream(ctx, &_Machine_serviceDesc.Streams[2], "/machine.Machine/LS", opts...) if err != nil { return nil, err } x := &machineLSClient{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 Machine_LSClient interface { Recv() (*FileInfo, error) grpc.ClientStream } type machineLSClient struct { grpc.ClientStream } func (x *machineLSClient) Recv() (*FileInfo, error) { m := new(FileInfo) if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } func (c *machineClient) Mounts(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*MountsReply, error) { out := new(MountsReply) err := c.cc.Invoke(ctx, "/machine.Machine/Mounts", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) Reboot(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*RebootReply, error) { out := new(RebootReply) err := c.cc.Invoke(ctx, "/machine.Machine/Reboot", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) Reset(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ResetReply, error) { out := new(ResetReply) err := c.cc.Invoke(ctx, "/machine.Machine/Reset", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) ServiceList(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ServiceListReply, error) { out := new(ServiceListReply) err := c.cc.Invoke(ctx, "/machine.Machine/ServiceList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) ServiceRestart(ctx context.Context, in *ServiceRestartRequest, opts ...grpc.CallOption) (*ServiceRestartReply, error) { out := new(ServiceRestartReply) err := c.cc.Invoke(ctx, "/machine.Machine/ServiceRestart", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) ServiceStart(ctx context.Context, in *ServiceStartRequest, opts ...grpc.CallOption) (*ServiceStartReply, error) { out := new(ServiceStartReply) err := c.cc.Invoke(ctx, "/machine.Machine/ServiceStart", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) ServiceStop(ctx context.Context, in *ServiceStopRequest, opts ...grpc.CallOption) (*ServiceStopReply, error) { out := new(ServiceStopReply) err := c.cc.Invoke(ctx, "/machine.Machine/ServiceStop", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) Shutdown(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*ShutdownReply, error) { out := new(ShutdownReply) err := c.cc.Invoke(ctx, "/machine.Machine/Shutdown", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) Upgrade(ctx context.Context, in *UpgradeRequest, opts ...grpc.CallOption) (*UpgradeReply, error) { out := new(UpgradeReply) err := c.cc.Invoke(ctx, "/machine.Machine/Upgrade", in, out, opts...) if err != nil { return nil, err } return out, nil } // Deprecated: Do not use. func (c *machineClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartReply, error) { out := new(StartReply) err := c.cc.Invoke(ctx, "/machine.Machine/Start", in, out, opts...) if err != nil { return nil, err } return out, nil } // Deprecated: Do not use. func (c *machineClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopReply, error) { out := new(StopReply) err := c.cc.Invoke(ctx, "/machine.Machine/Stop", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *machineClient) Version(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*VersionReply, error) { out := new(VersionReply) err := c.cc.Invoke(ctx, "/machine.Machine/Version", in, out, opts...) if err != nil { return nil, err } return out, nil } // MachineServer is the server API for Machine service. type MachineServer interface { CopyOut(*CopyOutRequest, Machine_CopyOutServer) error Kubeconfig(*empty.Empty, Machine_KubeconfigServer) error LS(*LSRequest, Machine_LSServer) error Mounts(context.Context, *empty.Empty) (*MountsReply, error) Reboot(context.Context, *empty.Empty) (*RebootReply, error) Reset(context.Context, *empty.Empty) (*ResetReply, error) ServiceList(context.Context, *empty.Empty) (*ServiceListReply, error) ServiceRestart(context.Context, *ServiceRestartRequest) (*ServiceRestartReply, error) ServiceStart(context.Context, *ServiceStartRequest) (*ServiceStartReply, error) ServiceStop(context.Context, *ServiceStopRequest) (*ServiceStopReply, error) Shutdown(context.Context, *empty.Empty) (*ShutdownReply, error) Upgrade(context.Context, *UpgradeRequest) (*UpgradeReply, error) Start(context.Context, *StartRequest) (*StartReply, error) Stop(context.Context, *StopRequest) (*StopReply, error) Version(context.Context, *empty.Empty) (*VersionReply, error) } func RegisterMachineServer(s *grpc.Server, srv MachineServer) { s.RegisterService(&_Machine_serviceDesc, srv) } func _Machine_CopyOut_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(CopyOutRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServer).CopyOut(m, &machineCopyOutServer{stream}) } type Machine_CopyOutServer interface { Send(*StreamingData) error grpc.ServerStream } type machineCopyOutServer struct { grpc.ServerStream } func (x *machineCopyOutServer) Send(m *StreamingData) error { return x.ServerStream.SendMsg(m) } func _Machine_Kubeconfig_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(empty.Empty) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServer).Kubeconfig(m, &machineKubeconfigServer{stream}) } type Machine_KubeconfigServer interface { Send(*StreamingData) error grpc.ServerStream } type machineKubeconfigServer struct { grpc.ServerStream } func (x *machineKubeconfigServer) Send(m *StreamingData) error { return x.ServerStream.SendMsg(m) } func _Machine_LS_Handler(srv interface{}, stream grpc.ServerStream) error { m := new(LSRequest) if err := stream.RecvMsg(m); err != nil { return err } return srv.(MachineServer).LS(m, &machineLSServer{stream}) } type Machine_LSServer interface { Send(*FileInfo) error grpc.ServerStream } type machineLSServer struct { grpc.ServerStream } func (x *machineLSServer) Send(m *FileInfo) error { return x.ServerStream.SendMsg(m) } func _Machine_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.(MachineServer).Mounts(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Mounts", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Mounts(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Reboot(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Reboot", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Reboot(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Reset(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Reset", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Reset(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).ServiceList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/ServiceList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).ServiceList(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).ServiceRestart(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/ServiceRestart", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).ServiceRestart(ctx, req.(*ServiceRestartRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).ServiceStart(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/ServiceStart", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).ServiceStart(ctx, req.(*ServiceStartRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).ServiceStop(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/ServiceStop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).ServiceStop(ctx, req.(*ServiceStopRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Shutdown(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Shutdown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Shutdown(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Upgrade(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Upgrade", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Upgrade(ctx, req.(*UpgradeRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Start(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Start", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Start(ctx, req.(*StartRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Stop(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Stop", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Stop(ctx, req.(*StopRequest)) } return interceptor(ctx, in, info, handler) } func _Machine_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.(MachineServer).Version(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/machine.Machine/Version", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(MachineServer).Version(ctx, req.(*empty.Empty)) } return interceptor(ctx, in, info, handler) } var _Machine_serviceDesc = grpc.ServiceDesc{ ServiceName: "machine.Machine", HandlerType: (*MachineServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Mounts", Handler: _Machine_Mounts_Handler, }, { MethodName: "Reboot", Handler: _Machine_Reboot_Handler, }, { MethodName: "Reset", Handler: _Machine_Reset_Handler, }, { MethodName: "ServiceList", Handler: _Machine_ServiceList_Handler, }, { MethodName: "ServiceRestart", Handler: _Machine_ServiceRestart_Handler, }, { MethodName: "ServiceStart", Handler: _Machine_ServiceStart_Handler, }, { MethodName: "ServiceStop", Handler: _Machine_ServiceStop_Handler, }, { MethodName: "Shutdown", Handler: _Machine_Shutdown_Handler, }, { MethodName: "Upgrade", Handler: _Machine_Upgrade_Handler, }, { MethodName: "Start", Handler: _Machine_Start_Handler, }, { MethodName: "Stop", Handler: _Machine_Stop_Handler, }, { MethodName: "Version", Handler: _Machine_Version_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "CopyOut", Handler: _Machine_CopyOut_Handler, ServerStreams: true, }, { StreamName: "Kubeconfig", Handler: _Machine_Kubeconfig_Handler, ServerStreams: true, }, { StreamName: "LS", Handler: _Machine_LS_Handler, ServerStreams: true, }, }, Metadata: "machine/machine.proto", }