2021-01-15 06:23:21 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2021-02-21 08:30:32 +00:00
|
|
|
// protoc-gen-go v1.25.0
|
2021-01-15 06:23:21 +00:00
|
|
|
// protoc v3.14.0
|
2021-01-13 13:46:39 +00:00
|
|
|
// source: pkg/services/control/service.proto
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
package control
|
2021-01-13 12:47:54 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
context "context"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
grpc "google.golang.org/grpc"
|
2021-01-15 06:23:21 +00:00
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2021-05-19 15:39:13 +00:00
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2021-01-13 12:47:54 +00:00
|
|
|
)
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
const (
|
|
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
)
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
2021-01-13 12:47:54 +00:00
|
|
|
|
|
|
|
// Health check request.
|
|
|
|
type HealthCheckRequest struct {
|
2021-01-15 06:23:21 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-01-13 12:47:54 +00:00
|
|
|
// Body of health check request message.
|
|
|
|
Body *HealthCheckRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
2021-01-15 06:23:21 +00:00
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckRequest) Reset() {
|
|
|
|
*x = HealthCheckRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *HealthCheckRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (*HealthCheckRequest) ProtoMessage() {}
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
return mi.MessageOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthCheckRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{0}
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckRequest) GetBody() *HealthCheckRequest_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckRequest) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
return nil
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Health check request.
|
|
|
|
type HealthCheckResponse struct {
|
2021-01-15 06:23:21 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-01-13 12:47:54 +00:00
|
|
|
// Body of health check response message.
|
|
|
|
Body *HealthCheckResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
2021-01-15 06:23:21 +00:00
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckResponse) Reset() {
|
|
|
|
*x = HealthCheckResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *HealthCheckResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*HealthCheckResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthCheckResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckResponse) GetBody() *HealthCheckResponse_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckResponse) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Get netmap snapshot request.
|
|
|
|
type NetmapSnapshotRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of get netmap snapshot request message.
|
|
|
|
Body *NetmapSnapshotRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotRequest) Reset() {
|
|
|
|
*x = NetmapSnapshotRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *NetmapSnapshotRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*NetmapSnapshotRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NetmapSnapshotRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
// Deprecated: Use NetmapSnapshotRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NetmapSnapshotRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{2}
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotRequest) GetBody() *NetmapSnapshotRequest_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotRequest) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
return nil
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-14 16:06:49 +00:00
|
|
|
// Get netmap snapshot request.
|
2021-01-15 06:23:21 +00:00
|
|
|
type NetmapSnapshotResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of get netmap snapshot response message.
|
|
|
|
Body *NetmapSnapshotResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
2021-01-14 16:06:49 +00:00
|
|
|
// Body signature.
|
2021-01-15 06:23:21 +00:00
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotResponse) Reset() {
|
|
|
|
*x = NetmapSnapshotResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *NetmapSnapshotResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*NetmapSnapshotResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NetmapSnapshotResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Deprecated: Use NetmapSnapshotResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NetmapSnapshotResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2021-01-14 16:06:49 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotResponse) GetBody() *NetmapSnapshotResponse_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotResponse) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 11:51:15 +00:00
|
|
|
// Set netmap status request.
|
|
|
|
type SetNetmapStatusRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of set netmap status request message.
|
|
|
|
Body *SetNetmapStatusRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest) Reset() {
|
|
|
|
*x = SetNetmapStatusRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SetNetmapStatusRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SetNetmapStatusRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetNetmapStatusRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest) GetBody() *SetNetmapStatusRequest_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Set netmap status response.
|
|
|
|
type SetNetmapStatusResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of set netmap status response message.
|
|
|
|
Body *SetNetmapStatusResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse) Reset() {
|
|
|
|
*x = SetNetmapStatusResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SetNetmapStatusResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SetNetmapStatusResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetNetmapStatusResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse) GetBody() *SetNetmapStatusResponse_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-02-21 08:30:32 +00:00
|
|
|
// Request to drop the objects.
|
|
|
|
type DropObjectsRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of the request message.
|
|
|
|
Body *DropObjectsRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest) Reset() {
|
|
|
|
*x = DropObjectsRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DropObjectsRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DropObjectsRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DropObjectsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest) GetBody() *DropObjectsRequest_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Response to request to drop the objects.
|
|
|
|
type DropObjectsResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// Body of the response message.
|
|
|
|
Body *DropObjectsResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
|
|
|
|
// Body signature.
|
|
|
|
Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse) Reset() {
|
|
|
|
*x = DropObjectsResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DropObjectsResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DropObjectsResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DropObjectsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse) GetBody() *DropObjectsResponse_Body {
|
|
|
|
if x != nil {
|
|
|
|
return x.Body
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse) GetSignature() *Signature {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Health check request body.
|
|
|
|
type HealthCheckRequest_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckRequest_Body) Reset() {
|
|
|
|
*x = HealthCheckRequest_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[8]
|
2021-01-15 06:23:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *HealthCheckRequest_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*HealthCheckRequest_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HealthCheckRequest_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[8]
|
2021-01-15 06:23:21 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
// Deprecated: Use HealthCheckRequest_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthCheckRequest_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{0, 0}
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Health check response body
|
|
|
|
type HealthCheckResponse_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2021-01-14 16:06:49 +00:00
|
|
|
|
2021-01-15 10:13:41 +00:00
|
|
|
// Status of the storage node in NeoFS network map.
|
2021-01-15 09:42:31 +00:00
|
|
|
NetmapStatus NetmapStatus `protobuf:"varint,1,opt,name=netmap_status,json=netmapStatus,proto3,enum=control.NetmapStatus" json:"netmap_status,omitempty"`
|
2021-01-15 10:18:03 +00:00
|
|
|
// Health status of storage node application.
|
|
|
|
HealthStatus HealthStatus `protobuf:"varint,2,opt,name=health_status,json=healthStatus,proto3,enum=control.HealthStatus" json:"health_status,omitempty"`
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *HealthCheckResponse_Body) Reset() {
|
|
|
|
*x = HealthCheckResponse_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[9]
|
2021-01-15 06:23:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *HealthCheckResponse_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*HealthCheckResponse_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *HealthCheckResponse_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[9]
|
2021-01-15 06:23:21 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
// Deprecated: Use HealthCheckResponse_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*HealthCheckResponse_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{1, 0}
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 09:42:31 +00:00
|
|
|
func (x *HealthCheckResponse_Body) GetNetmapStatus() NetmapStatus {
|
2021-01-15 06:23:21 +00:00
|
|
|
if x != nil {
|
2021-01-15 09:42:31 +00:00
|
|
|
return x.NetmapStatus
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
2021-01-15 09:42:31 +00:00
|
|
|
return NetmapStatus_STATUS_UNDEFINED
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 10:18:03 +00:00
|
|
|
func (x *HealthCheckResponse_Body) GetHealthStatus() HealthStatus {
|
|
|
|
if x != nil {
|
|
|
|
return x.HealthStatus
|
|
|
|
}
|
|
|
|
return HealthStatus_HEALTH_STATUS_UNDEFINED
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Get netmap snapshot request body.
|
|
|
|
type NetmapSnapshotRequest_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
2021-01-14 16:06:49 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotRequest_Body) Reset() {
|
|
|
|
*x = NetmapSnapshotRequest_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[10]
|
2021-01-15 06:23:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotRequest_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NetmapSnapshotRequest_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NetmapSnapshotRequest_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[10]
|
2021-01-15 06:23:21 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use NetmapSnapshotRequest_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NetmapSnapshotRequest_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{2, 0}
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Get netmap snapshot response body
|
|
|
|
type NetmapSnapshotResponse_Body struct {
|
2021-01-15 06:23:21 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-01-14 16:06:49 +00:00
|
|
|
// Structure of the requested network map.
|
2021-01-15 06:23:21 +00:00
|
|
|
Netmap *Netmap `protobuf:"bytes,1,opt,name=netmap,proto3" json:"netmap,omitempty"`
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotResponse_Body) Reset() {
|
|
|
|
*x = NetmapSnapshotResponse_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[11]
|
2021-01-15 06:23:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (x *NetmapSnapshotResponse_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
|
|
|
func (*NetmapSnapshotResponse_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NetmapSnapshotResponse_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[11]
|
2021-01-15 06:23:21 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// Deprecated: Use NetmapSnapshotResponse_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NetmapSnapshotResponse_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{3, 0}
|
|
|
|
}
|
2021-01-14 16:06:49 +00:00
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func (x *NetmapSnapshotResponse_Body) GetNetmap() *Netmap {
|
|
|
|
if x != nil {
|
|
|
|
return x.Netmap
|
2021-01-14 16:06:49 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 11:51:15 +00:00
|
|
|
// Set netmap status request body.
|
|
|
|
type SetNetmapStatusRequest_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// New storage node status in NeoFS network map.
|
|
|
|
Status NetmapStatus `protobuf:"varint,1,opt,name=status,proto3,enum=control.NetmapStatus" json:"status,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest_Body) Reset() {
|
|
|
|
*x = SetNetmapStatusRequest_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[12]
|
2021-01-15 11:51:15 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SetNetmapStatusRequest_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[12]
|
2021-01-15 11:51:15 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SetNetmapStatusRequest_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetNetmapStatusRequest_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{4, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusRequest_Body) GetStatus() NetmapStatus {
|
|
|
|
if x != nil {
|
|
|
|
return x.Status
|
|
|
|
}
|
|
|
|
return NetmapStatus_STATUS_UNDEFINED
|
|
|
|
}
|
|
|
|
|
|
|
|
// Set netmap status response body
|
|
|
|
type SetNetmapStatusResponse_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse_Body) Reset() {
|
|
|
|
*x = SetNetmapStatusResponse_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[13]
|
2021-01-15 11:51:15 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*SetNetmapStatusResponse_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *SetNetmapStatusResponse_Body) ProtoReflect() protoreflect.Message {
|
2021-02-21 08:30:32 +00:00
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[13]
|
2021-01-15 11:51:15 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use SetNetmapStatusResponse_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*SetNetmapStatusResponse_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{5, 0}
|
|
|
|
}
|
|
|
|
|
2021-02-21 08:30:32 +00:00
|
|
|
// Request body structure.
|
|
|
|
type DropObjectsRequest_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
// List of object addresses to be removed.
|
|
|
|
// in NeoFS API binary format.
|
|
|
|
AddressList [][]byte `protobuf:"bytes,1,rep,name=address_list,json=addressList,proto3" json:"address_list,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest_Body) Reset() {
|
|
|
|
*x = DropObjectsRequest_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[14]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DropObjectsRequest_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest_Body) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[14]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DropObjectsRequest_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DropObjectsRequest_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{6, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsRequest_Body) GetAddressList() [][]byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.AddressList
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Response body structure.
|
|
|
|
type DropObjectsResponse_Body struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse_Body) Reset() {
|
|
|
|
*x = DropObjectsResponse_Body{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse_Body) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DropObjectsResponse_Body) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DropObjectsResponse_Body) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_pkg_services_control_service_proto_msgTypes[15]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DropObjectsResponse_Body.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DropObjectsResponse_Body) Descriptor() ([]byte, []int) {
|
|
|
|
return file_pkg_services_control_service_proto_rawDescGZIP(), []int{7, 0}
|
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
var File_pkg_services_control_service_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_pkg_services_control_service_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x22, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63,
|
|
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x1a, 0x20, 0x70,
|
|
|
|
0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63, 0x6f, 0x6e, 0x74,
|
|
|
|
0x72, 0x6f, 0x6c, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
|
|
0x84, 0x01, 0x0a, 0x12, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48,
|
|
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09,
|
|
|
|
0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
|
|
|
0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x06,
|
2021-01-15 10:18:03 +00:00
|
|
|
0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xfe, 0x01, 0x0a, 0x13, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
2021-01-15 06:23:21 +00:00
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35,
|
|
|
|
0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63,
|
|
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65,
|
|
|
|
0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52,
|
|
|
|
0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
|
|
|
|
0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72,
|
|
|
|
0x6f, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69,
|
2021-01-15 10:18:03 +00:00
|
|
|
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x7e, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12,
|
2021-01-15 09:42:31 +00:00
|
|
|
0x3a, 0x0a, 0x0d, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
|
|
|
|
0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x6e,
|
2021-01-15 10:18:03 +00:00
|
|
|
0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x3a, 0x0a, 0x0d, 0x68,
|
|
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
|
|
|
|
0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61,
|
|
|
|
0x6c, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x68, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x15, 0x4e, 0x65, 0x74, 0x6d,
|
|
|
|
0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
|
0x74, 0x12, 0x37, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x23, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70,
|
|
|
|
0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e,
|
|
|
|
0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69,
|
|
|
|
0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
|
|
|
0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x06, 0x0a, 0x04,
|
|
|
|
0x42, 0x6f, 0x64, 0x79, 0x22, 0xb5, 0x01, 0x0a, 0x16, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53,
|
|
|
|
0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
|
0x38, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e,
|
|
|
|
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42,
|
|
|
|
0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67,
|
|
|
|
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63,
|
|
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
|
|
0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x2f, 0x0a, 0x04, 0x42,
|
|
|
|
0x6f, 0x64, 0x79, 0x12, 0x27, 0x0a, 0x06, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65,
|
2021-01-15 11:51:15 +00:00
|
|
|
0x74, 0x6d, 0x61, 0x70, 0x52, 0x06, 0x6e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x22, 0xbb, 0x01, 0x0a,
|
|
|
|
0x16, 0x53, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e,
|
|
|
|
0x53, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64,
|
|
|
|
0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53,
|
|
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
|
|
|
0x75, 0x72, 0x65, 0x1a, 0x35, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x2d, 0x0a, 0x06, 0x73,
|
|
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x63, 0x6f,
|
|
|
|
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74,
|
|
|
|
0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x17, 0x53,
|
|
|
|
0x65, 0x74, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53,
|
|
|
|
0x65, 0x74, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64,
|
|
|
|
0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53,
|
|
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74,
|
2021-02-21 08:30:32 +00:00
|
|
|
0x75, 0x72, 0x65, 0x1a, 0x06, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x22, 0xa7, 0x01, 0x0a, 0x12,
|
|
|
|
0x44, 0x72, 0x6f, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
|
|
0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f,
|
|
|
|
0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x42, 0x6f,
|
|
|
|
0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e,
|
|
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f,
|
|
|
|
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52,
|
|
|
|
0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x29, 0x0a, 0x04, 0x42, 0x6f,
|
|
|
|
0x64, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x69,
|
|
|
|
0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0b, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
|
|
0x73, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x13, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x62,
|
|
|
|
0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a,
|
|
|
|
0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f,
|
|
|
|
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
|
|
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04,
|
|
|
|
0x62, 0x6f, 0x64, 0x79, 0x12, 0x30, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
|
|
|
|
0x6c, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x09, 0x73, 0x69, 0x67,
|
|
|
|
0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x1a, 0x06, 0x0a, 0x04, 0x42, 0x6f, 0x64, 0x79, 0x32, 0xcd,
|
|
|
|
0x02, 0x0a, 0x0e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
|
|
0x65, 0x12, 0x48, 0x0a, 0x0b, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
|
|
0x12, 0x1b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e,
|
2021-01-15 11:51:15 +00:00
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68,
|
2021-02-21 08:30:32 +00:00
|
|
|
0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0e, 0x4e,
|
|
|
|
0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x1e, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e,
|
|
|
|
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e,
|
|
|
|
0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x6e,
|
|
|
|
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54,
|
|
|
|
0x0a, 0x0f, 0x53, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
0x73, 0x12, 0x1f, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74, 0x4e,
|
|
|
|
0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x53, 0x65, 0x74,
|
|
|
|
0x4e, 0x65, 0x74, 0x6d, 0x61, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x44, 0x72, 0x6f, 0x70, 0x4f, 0x62, 0x6a, 0x65,
|
|
|
|
0x63, 0x74, 0x73, 0x12, 0x1b, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x72,
|
|
|
|
0x6f, 0x70, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x1a, 0x1c, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x2e, 0x44, 0x72, 0x6f, 0x70, 0x4f,
|
|
|
|
0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x36,
|
|
|
|
0x5a, 0x34, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6e, 0x73, 0x70,
|
|
|
|
0x63, 0x63, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x2d, 0x6e, 0x6f, 0x64,
|
|
|
|
0x65, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x63,
|
|
|
|
0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_pkg_services_control_service_proto_rawDescOnce sync.Once
|
|
|
|
file_pkg_services_control_service_proto_rawDescData = file_pkg_services_control_service_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_pkg_services_control_service_proto_rawDescGZIP() []byte {
|
|
|
|
file_pkg_services_control_service_proto_rawDescOnce.Do(func() {
|
|
|
|
file_pkg_services_control_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_services_control_service_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_pkg_services_control_service_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2021-02-21 08:30:32 +00:00
|
|
|
var file_pkg_services_control_service_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
|
2021-01-15 06:23:21 +00:00
|
|
|
var file_pkg_services_control_service_proto_goTypes = []interface{}{
|
2021-01-15 11:51:15 +00:00
|
|
|
(*HealthCheckRequest)(nil), // 0: control.HealthCheckRequest
|
|
|
|
(*HealthCheckResponse)(nil), // 1: control.HealthCheckResponse
|
|
|
|
(*NetmapSnapshotRequest)(nil), // 2: control.NetmapSnapshotRequest
|
|
|
|
(*NetmapSnapshotResponse)(nil), // 3: control.NetmapSnapshotResponse
|
|
|
|
(*SetNetmapStatusRequest)(nil), // 4: control.SetNetmapStatusRequest
|
|
|
|
(*SetNetmapStatusResponse)(nil), // 5: control.SetNetmapStatusResponse
|
2021-02-21 08:30:32 +00:00
|
|
|
(*DropObjectsRequest)(nil), // 6: control.DropObjectsRequest
|
|
|
|
(*DropObjectsResponse)(nil), // 7: control.DropObjectsResponse
|
|
|
|
(*HealthCheckRequest_Body)(nil), // 8: control.HealthCheckRequest.Body
|
|
|
|
(*HealthCheckResponse_Body)(nil), // 9: control.HealthCheckResponse.Body
|
|
|
|
(*NetmapSnapshotRequest_Body)(nil), // 10: control.NetmapSnapshotRequest.Body
|
|
|
|
(*NetmapSnapshotResponse_Body)(nil), // 11: control.NetmapSnapshotResponse.Body
|
|
|
|
(*SetNetmapStatusRequest_Body)(nil), // 12: control.SetNetmapStatusRequest.Body
|
|
|
|
(*SetNetmapStatusResponse_Body)(nil), // 13: control.SetNetmapStatusResponse.Body
|
|
|
|
(*DropObjectsRequest_Body)(nil), // 14: control.DropObjectsRequest.Body
|
|
|
|
(*DropObjectsResponse_Body)(nil), // 15: control.DropObjectsResponse.Body
|
|
|
|
(*Signature)(nil), // 16: control.Signature
|
|
|
|
(NetmapStatus)(0), // 17: control.NetmapStatus
|
|
|
|
(HealthStatus)(0), // 18: control.HealthStatus
|
|
|
|
(*Netmap)(nil), // 19: control.Netmap
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
|
|
|
var file_pkg_services_control_service_proto_depIdxs = []int32{
|
2021-02-21 08:30:32 +00:00
|
|
|
8, // 0: control.HealthCheckRequest.body:type_name -> control.HealthCheckRequest.Body
|
|
|
|
16, // 1: control.HealthCheckRequest.signature:type_name -> control.Signature
|
|
|
|
9, // 2: control.HealthCheckResponse.body:type_name -> control.HealthCheckResponse.Body
|
|
|
|
16, // 3: control.HealthCheckResponse.signature:type_name -> control.Signature
|
|
|
|
10, // 4: control.NetmapSnapshotRequest.body:type_name -> control.NetmapSnapshotRequest.Body
|
|
|
|
16, // 5: control.NetmapSnapshotRequest.signature:type_name -> control.Signature
|
|
|
|
11, // 6: control.NetmapSnapshotResponse.body:type_name -> control.NetmapSnapshotResponse.Body
|
|
|
|
16, // 7: control.NetmapSnapshotResponse.signature:type_name -> control.Signature
|
|
|
|
12, // 8: control.SetNetmapStatusRequest.body:type_name -> control.SetNetmapStatusRequest.Body
|
|
|
|
16, // 9: control.SetNetmapStatusRequest.signature:type_name -> control.Signature
|
|
|
|
13, // 10: control.SetNetmapStatusResponse.body:type_name -> control.SetNetmapStatusResponse.Body
|
|
|
|
16, // 11: control.SetNetmapStatusResponse.signature:type_name -> control.Signature
|
|
|
|
14, // 12: control.DropObjectsRequest.body:type_name -> control.DropObjectsRequest.Body
|
|
|
|
16, // 13: control.DropObjectsRequest.signature:type_name -> control.Signature
|
|
|
|
15, // 14: control.DropObjectsResponse.body:type_name -> control.DropObjectsResponse.Body
|
|
|
|
16, // 15: control.DropObjectsResponse.signature:type_name -> control.Signature
|
|
|
|
17, // 16: control.HealthCheckResponse.Body.netmap_status:type_name -> control.NetmapStatus
|
|
|
|
18, // 17: control.HealthCheckResponse.Body.health_status:type_name -> control.HealthStatus
|
|
|
|
19, // 18: control.NetmapSnapshotResponse.Body.netmap:type_name -> control.Netmap
|
|
|
|
17, // 19: control.SetNetmapStatusRequest.Body.status:type_name -> control.NetmapStatus
|
|
|
|
0, // 20: control.ControlService.HealthCheck:input_type -> control.HealthCheckRequest
|
|
|
|
2, // 21: control.ControlService.NetmapSnapshot:input_type -> control.NetmapSnapshotRequest
|
|
|
|
4, // 22: control.ControlService.SetNetmapStatus:input_type -> control.SetNetmapStatusRequest
|
|
|
|
6, // 23: control.ControlService.DropObjects:input_type -> control.DropObjectsRequest
|
|
|
|
1, // 24: control.ControlService.HealthCheck:output_type -> control.HealthCheckResponse
|
|
|
|
3, // 25: control.ControlService.NetmapSnapshot:output_type -> control.NetmapSnapshotResponse
|
|
|
|
5, // 26: control.ControlService.SetNetmapStatus:output_type -> control.SetNetmapStatusResponse
|
|
|
|
7, // 27: control.ControlService.DropObjects:output_type -> control.DropObjectsResponse
|
|
|
|
24, // [24:28] is the sub-list for method output_type
|
|
|
|
20, // [20:24] is the sub-list for method input_type
|
|
|
|
20, // [20:20] is the sub-list for extension type_name
|
|
|
|
20, // [20:20] is the sub-list for extension extendee
|
|
|
|
0, // [0:20] is the sub-list for field type_name
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_pkg_services_control_service_proto_init() }
|
|
|
|
func file_pkg_services_control_service_proto_init() {
|
|
|
|
if File_pkg_services_control_service_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
file_pkg_services_control_types_proto_init()
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HealthCheckRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*HealthCheckResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*NetmapSnapshotRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*NetmapSnapshotResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2021-01-15 11:51:15 +00:00
|
|
|
switch v := v.(*SetNetmapStatusRequest); i {
|
2021-01-15 06:23:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2021-01-15 11:51:15 +00:00
|
|
|
switch v := v.(*SetNetmapStatusResponse); i {
|
2021-01-15 06:23:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*DropObjectsRequest); i {
|
2021-01-15 06:23:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*DropObjectsResponse); i {
|
2021-01-15 11:51:15 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*HealthCheckRequest_Body); i {
|
2021-01-15 11:51:15 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*HealthCheckResponse_Body); i {
|
2021-01-15 06:23:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 11:51:15 +00:00
|
|
|
file_pkg_services_control_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*NetmapSnapshotRequest_Body); i {
|
2021-01-15 11:51:15 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2021-02-21 08:30:32 +00:00
|
|
|
switch v := v.(*NetmapSnapshotResponse_Body); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*SetNetmapStatusRequest_Body); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2021-01-15 11:51:15 +00:00
|
|
|
switch v := v.(*SetNetmapStatusResponse_Body); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-02-21 08:30:32 +00:00
|
|
|
file_pkg_services_control_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DropObjectsRequest_Body); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_pkg_services_control_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DropObjectsResponse_Body); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_pkg_services_control_service_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2021-02-21 08:30:32 +00:00
|
|
|
NumMessages: 16,
|
2021-01-15 06:23:21 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_pkg_services_control_service_proto_goTypes,
|
|
|
|
DependencyIndexes: file_pkg_services_control_service_proto_depIdxs,
|
|
|
|
MessageInfos: file_pkg_services_control_service_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_pkg_services_control_service_proto = out.File
|
|
|
|
file_pkg_services_control_service_proto_rawDesc = nil
|
|
|
|
file_pkg_services_control_service_proto_goTypes = nil
|
|
|
|
file_pkg_services_control_service_proto_depIdxs = nil
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ context.Context
|
2021-01-15 06:23:21 +00:00
|
|
|
var _ grpc.ClientConnInterface
|
2021-01-13 12:47:54 +00:00
|
|
|
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
|
|
// is compatible with the grpc package it is being compiled against.
|
2021-01-15 06:23:21 +00:00
|
|
|
const _ = grpc.SupportPackageIsVersion6
|
2021-01-13 12:47:54 +00:00
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
// ControlServiceClient is the client API for ControlService service.
|
2021-01-13 12:47:54 +00:00
|
|
|
//
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
2021-01-13 13:46:39 +00:00
|
|
|
type ControlServiceClient interface {
|
2021-01-13 12:47:54 +00:00
|
|
|
// Performs health check of the storage node.
|
|
|
|
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
|
2021-01-14 16:06:49 +00:00
|
|
|
// Returns network map snapshot of the current NeoFS epoch.
|
|
|
|
NetmapSnapshot(ctx context.Context, in *NetmapSnapshotRequest, opts ...grpc.CallOption) (*NetmapSnapshotResponse, error)
|
2021-01-15 11:51:15 +00:00
|
|
|
// Sets status of the storage node in NeoFS network map.
|
|
|
|
SetNetmapStatus(ctx context.Context, in *SetNetmapStatusRequest, opts ...grpc.CallOption) (*SetNetmapStatusResponse, error)
|
2021-02-21 08:30:32 +00:00
|
|
|
// Mark objects to be removed from node's local object storage.
|
|
|
|
DropObjects(ctx context.Context, in *DropObjectsRequest, opts ...grpc.CallOption) (*DropObjectsResponse, error)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
type controlServiceClient struct {
|
2021-01-15 06:23:21 +00:00
|
|
|
cc grpc.ClientConnInterface
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient {
|
2021-01-13 13:46:39 +00:00
|
|
|
return &controlServiceClient{cc}
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
func (c *controlServiceClient) HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) {
|
2021-01-13 12:47:54 +00:00
|
|
|
out := new(HealthCheckResponse)
|
2021-01-13 13:46:39 +00:00
|
|
|
err := c.cc.Invoke(ctx, "/control.ControlService/HealthCheck", in, out, opts...)
|
2021-01-13 12:47:54 +00:00
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-14 16:06:49 +00:00
|
|
|
func (c *controlServiceClient) NetmapSnapshot(ctx context.Context, in *NetmapSnapshotRequest, opts ...grpc.CallOption) (*NetmapSnapshotResponse, error) {
|
|
|
|
out := new(NetmapSnapshotResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/control.ControlService/NetmapSnapshot", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-15 11:51:15 +00:00
|
|
|
func (c *controlServiceClient) SetNetmapStatus(ctx context.Context, in *SetNetmapStatusRequest, opts ...grpc.CallOption) (*SetNetmapStatusResponse, error) {
|
|
|
|
out := new(SetNetmapStatusResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/control.ControlService/SetNetmapStatus", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-02-21 08:30:32 +00:00
|
|
|
func (c *controlServiceClient) DropObjects(ctx context.Context, in *DropObjectsRequest, opts ...grpc.CallOption) (*DropObjectsResponse, error) {
|
|
|
|
out := new(DropObjectsResponse)
|
|
|
|
err := c.cc.Invoke(ctx, "/control.ControlService/DropObjects", in, out, opts...)
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
return out, nil
|
|
|
|
}
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
// ControlServiceServer is the server API for ControlService service.
|
|
|
|
type ControlServiceServer interface {
|
2021-01-13 12:47:54 +00:00
|
|
|
// Performs health check of the storage node.
|
|
|
|
HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
|
2021-01-14 16:06:49 +00:00
|
|
|
// Returns network map snapshot of the current NeoFS epoch.
|
|
|
|
NetmapSnapshot(context.Context, *NetmapSnapshotRequest) (*NetmapSnapshotResponse, error)
|
2021-01-15 11:51:15 +00:00
|
|
|
// Sets status of the storage node in NeoFS network map.
|
|
|
|
SetNetmapStatus(context.Context, *SetNetmapStatusRequest) (*SetNetmapStatusResponse, error)
|
2021-02-21 08:30:32 +00:00
|
|
|
// Mark objects to be removed from node's local object storage.
|
|
|
|
DropObjects(context.Context, *DropObjectsRequest) (*DropObjectsResponse, error)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-15 06:23:21 +00:00
|
|
|
// UnimplementedControlServiceServer can be embedded to have forward compatible implementations.
|
|
|
|
type UnimplementedControlServiceServer struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UnimplementedControlServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method HealthCheck not implemented")
|
|
|
|
}
|
|
|
|
func (*UnimplementedControlServiceServer) NetmapSnapshot(context.Context, *NetmapSnapshotRequest) (*NetmapSnapshotResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method NetmapSnapshot not implemented")
|
|
|
|
}
|
2021-01-15 11:51:15 +00:00
|
|
|
func (*UnimplementedControlServiceServer) SetNetmapStatus(context.Context, *SetNetmapStatusRequest) (*SetNetmapStatusResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetNetmapStatus not implemented")
|
|
|
|
}
|
2021-02-21 08:30:32 +00:00
|
|
|
func (*UnimplementedControlServiceServer) DropObjects(context.Context, *DropObjectsRequest) (*DropObjectsResponse, error) {
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method DropObjects not implemented")
|
|
|
|
}
|
2021-01-15 06:23:21 +00:00
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
func RegisterControlServiceServer(s *grpc.Server, srv ControlServiceServer) {
|
|
|
|
s.RegisterService(&_ControlService_serviceDesc, srv)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
func _ControlService_HealthCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
2021-01-13 12:47:54 +00:00
|
|
|
in := new(HealthCheckRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
2021-01-13 13:46:39 +00:00
|
|
|
return srv.(ControlServiceServer).HealthCheck(ctx, in)
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
2021-01-13 13:46:39 +00:00
|
|
|
FullMethod: "/control.ControlService/HealthCheck",
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
2021-01-13 13:46:39 +00:00
|
|
|
return srv.(ControlServiceServer).HealthCheck(ctx, req.(*HealthCheckRequest))
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-14 16:06:49 +00:00
|
|
|
func _ControlService_NetmapSnapshot_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(NetmapSnapshotRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ControlServiceServer).NetmapSnapshot(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/control.ControlService/NetmapSnapshot",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ControlServiceServer).NetmapSnapshot(ctx, req.(*NetmapSnapshotRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-15 11:51:15 +00:00
|
|
|
func _ControlService_SetNetmapStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(SetNetmapStatusRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ControlServiceServer).SetNetmapStatus(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/control.ControlService/SetNetmapStatus",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ControlServiceServer).SetNetmapStatus(ctx, req.(*SetNetmapStatusRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-02-21 08:30:32 +00:00
|
|
|
func _ControlService_DropObjects_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
in := new(DropObjectsRequest)
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
if interceptor == nil {
|
|
|
|
return srv.(ControlServiceServer).DropObjects(ctx, in)
|
|
|
|
}
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
Server: srv,
|
|
|
|
FullMethod: "/control.ControlService/DropObjects",
|
|
|
|
}
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
return srv.(ControlServiceServer).DropObjects(ctx, req.(*DropObjectsRequest))
|
|
|
|
}
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
}
|
|
|
|
|
2021-01-13 13:46:39 +00:00
|
|
|
var _ControlService_serviceDesc = grpc.ServiceDesc{
|
|
|
|
ServiceName: "control.ControlService",
|
|
|
|
HandlerType: (*ControlServiceServer)(nil),
|
2021-01-13 12:47:54 +00:00
|
|
|
Methods: []grpc.MethodDesc{
|
|
|
|
{
|
|
|
|
MethodName: "HealthCheck",
|
2021-01-13 13:46:39 +00:00
|
|
|
Handler: _ControlService_HealthCheck_Handler,
|
2021-01-13 12:47:54 +00:00
|
|
|
},
|
2021-01-14 16:06:49 +00:00
|
|
|
{
|
|
|
|
MethodName: "NetmapSnapshot",
|
|
|
|
Handler: _ControlService_NetmapSnapshot_Handler,
|
|
|
|
},
|
2021-01-15 11:51:15 +00:00
|
|
|
{
|
|
|
|
MethodName: "SetNetmapStatus",
|
|
|
|
Handler: _ControlService_SetNetmapStatus_Handler,
|
|
|
|
},
|
2021-02-21 08:30:32 +00:00
|
|
|
{
|
|
|
|
MethodName: "DropObjects",
|
|
|
|
Handler: _ControlService_DropObjects_Handler,
|
|
|
|
},
|
2021-01-13 12:47:54 +00:00
|
|
|
},
|
|
|
|
Streams: []grpc.StreamDesc{},
|
2021-01-13 13:46:39 +00:00
|
|
|
Metadata: "pkg/services/control/service.proto",
|
2021-01-13 12:47:54 +00:00
|
|
|
}
|