Documentation ¶
Index ¶
- Variables
- func RegisterRegClientServer(s grpc.ServiceRegistrar, srv RegClientServer)
- type AddDependentRequest
- func (*AddDependentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependentRequest) GetBaseId() string
- func (x *AddDependentRequest) GetId() uint64
- func (x *AddDependentRequest) GetKey() string
- func (x *AddDependentRequest) GetName() string
- func (x *AddDependentRequest) GetPort() uint32
- func (x *AddDependentRequest) GetSingleRun() bool
- func (x *AddDependentRequest) GetType() string
- func (x *AddDependentRequest) GetUrl() string
- func (*AddDependentRequest) ProtoMessage()
- func (x *AddDependentRequest) ProtoReflect() protoreflect.Message
- func (x *AddDependentRequest) Reset()
- func (x *AddDependentRequest) String() string
- type AddDependentResponse
- func (*AddDependentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddDependentResponse) GetErrorMessage() string
- func (x *AddDependentResponse) GetSuccess() bool
- func (*AddDependentResponse) ProtoMessage()
- func (x *AddDependentResponse) ProtoReflect() protoreflect.Message
- func (x *AddDependentResponse) Reset()
- func (x *AddDependentResponse) String() string
- type DependentDownRequest
- func (*DependentDownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DependentDownRequest) GetBaseId() string
- func (*DependentDownRequest) ProtoMessage()
- func (x *DependentDownRequest) ProtoReflect() protoreflect.Message
- func (x *DependentDownRequest) Reset()
- func (x *DependentDownRequest) String() string
- type DependentDownResponse
- func (*DependentDownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DependentDownResponse) GetErrorMessage() string
- func (x *DependentDownResponse) GetSuccess() bool
- func (*DependentDownResponse) ProtoMessage()
- func (x *DependentDownResponse) ProtoReflect() protoreflect.Message
- func (x *DependentDownResponse) Reset()
- func (x *DependentDownResponse) String() string
- type DependentUpRequest
- func (*DependentUpRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DependentUpRequest) GetBaseId() string
- func (*DependentUpRequest) ProtoMessage()
- func (x *DependentUpRequest) ProtoReflect() protoreflect.Message
- func (x *DependentUpRequest) Reset()
- func (x *DependentUpRequest) String() string
- type DependentUpResponse
- func (*DependentUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DependentUpResponse) GetErrorMessage() string
- func (x *DependentUpResponse) GetSuccess() bool
- func (*DependentUpResponse) ProtoMessage()
- func (x *DependentUpResponse) ProtoReflect() protoreflect.Message
- func (x *DependentUpResponse) Reset()
- func (x *DependentUpResponse) String() string
- type HealthCheckRequest
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetErrorMessage() string
- func (x *HealthCheckResponse) GetHealthy() bool
- func (x *HealthCheckResponse) GetIssues() []string
- func (x *HealthCheckResponse) GetSuccess() bool
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) String() string
- type MasterBackUpRequest
- type MasterBackUpResponse
- func (*MasterBackUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MasterBackUpResponse) GetActive() bool
- func (x *MasterBackUpResponse) GetErrorMessage() string
- func (x *MasterBackUpResponse) GetRegData() *registration.RegisterRequest
- func (x *MasterBackUpResponse) GetSuccess() bool
- func (*MasterBackUpResponse) ProtoMessage()
- func (x *MasterBackUpResponse) ProtoReflect() protoreflect.Message
- func (x *MasterBackUpResponse) Reset()
- func (x *MasterBackUpResponse) String() string
- type MasterGoingDownReason
- func (MasterGoingDownReason) Descriptor() protoreflect.EnumDescriptor
- func (x MasterGoingDownReason) Enum() *MasterGoingDownReason
- func (MasterGoingDownReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x MasterGoingDownReason) Number() protoreflect.EnumNumber
- func (x MasterGoingDownReason) String() string
- func (MasterGoingDownReason) Type() protoreflect.EnumType
- type MasterGoingDownRequest
- func (*MasterGoingDownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MasterGoingDownRequest) GetReason() MasterGoingDownReason
- func (*MasterGoingDownRequest) ProtoMessage()
- func (x *MasterGoingDownRequest) ProtoReflect() protoreflect.Message
- func (x *MasterGoingDownRequest) Reset()
- func (x *MasterGoingDownRequest) String() string
- type MasterGoingDownResponse
- func (*MasterGoingDownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MasterGoingDownResponse) GetErrorMessage() string
- func (x *MasterGoingDownResponse) GetSuccess() bool
- func (*MasterGoingDownResponse) ProtoMessage()
- func (x *MasterGoingDownResponse) ProtoReflect() protoreflect.Message
- func (x *MasterGoingDownResponse) Reset()
- func (x *MasterGoingDownResponse) String() string
- type RegClientClient
- type RegClientServer
- type RemoveDependentRequest
- func (*RemoveDependentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependentRequest) GetBaseId() string
- func (*RemoveDependentRequest) ProtoMessage()
- func (x *RemoveDependentRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveDependentRequest) Reset()
- func (x *RemoveDependentRequest) String() string
- type RemoveDependentResponse
- func (*RemoveDependentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveDependentResponse) GetErrorMessage() string
- func (x *RemoveDependentResponse) GetSuccess() bool
- func (*RemoveDependentResponse) ProtoMessage()
- func (x *RemoveDependentResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveDependentResponse) Reset()
- func (x *RemoveDependentResponse) String() string
- type RemoveRequiredRequest
- func (*RemoveRequiredRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequiredRequest) GetBaseId() string
- func (*RemoveRequiredRequest) ProtoMessage()
- func (x *RemoveRequiredRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveRequiredRequest) Reset()
- func (x *RemoveRequiredRequest) String() string
- type RemoveRequiredResponse
- func (*RemoveRequiredResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRequiredResponse) GetErrorMessage() string
- func (x *RemoveRequiredResponse) GetSuccess() bool
- func (*RemoveRequiredResponse) ProtoMessage()
- func (x *RemoveRequiredResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveRequiredResponse) Reset()
- func (x *RemoveRequiredResponse) String() string
- type RequiredDownRequest
- func (*RequiredDownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredDownRequest) GetBaseId() string
- func (*RequiredDownRequest) ProtoMessage()
- func (x *RequiredDownRequest) ProtoReflect() protoreflect.Message
- func (x *RequiredDownRequest) Reset()
- func (x *RequiredDownRequest) String() string
- type RequiredDownResponse
- func (*RequiredDownResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredDownResponse) GetErrorMessage() string
- func (x *RequiredDownResponse) GetSuccess() bool
- func (*RequiredDownResponse) ProtoMessage()
- func (x *RequiredDownResponse) ProtoReflect() protoreflect.Message
- func (x *RequiredDownResponse) Reset()
- func (x *RequiredDownResponse) String() string
- type RequiredUpRequest
- type RequiredUpResponse
- func (*RequiredUpResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequiredUpResponse) GetErrorMessage() string
- func (x *RequiredUpResponse) GetSuccess() bool
- func (*RequiredUpResponse) ProtoMessage()
- func (x *RequiredUpResponse) ProtoReflect() protoreflect.Message
- func (x *RequiredUpResponse) Reset()
- func (x *RequiredUpResponse) String() string
- type ShutdownServiceRequest
- type ShutdownServiceResponse
- func (*ShutdownServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ShutdownServiceResponse) GetErrorMessage() string
- func (x *ShutdownServiceResponse) GetSuccess() bool
- func (*ShutdownServiceResponse) ProtoMessage()
- func (x *ShutdownServiceResponse) ProtoReflect() protoreflect.Message
- func (x *ShutdownServiceResponse) Reset()
- func (x *ShutdownServiceResponse) String() string
- type UnimplementedRegClientServer
- func (UnimplementedRegClientServer) AddDependent(context.Context, *AddDependentRequest) (*AddDependentResponse, error)
- func (UnimplementedRegClientServer) DependentDown(context.Context, *DependentDownRequest) (*DependentDownResponse, error)
- func (UnimplementedRegClientServer) DependentUp(context.Context, *DependentUpRequest) (*DependentUpResponse, error)
- func (UnimplementedRegClientServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedRegClientServer) MasterBackUp(context.Context, *MasterBackUpRequest) (*MasterBackUpResponse, error)
- func (UnimplementedRegClientServer) MasterGoingDown(context.Context, *MasterGoingDownRequest) (*MasterGoingDownResponse, error)
- func (UnimplementedRegClientServer) RemoveDependent(context.Context, *RemoveDependentRequest) (*RemoveDependentResponse, error)
- func (UnimplementedRegClientServer) RemoveRequired(context.Context, *RemoveRequiredRequest) (*RemoveRequiredResponse, error)
- func (UnimplementedRegClientServer) RequiredDown(context.Context, *RequiredDownRequest) (*RequiredDownResponse, error)
- func (UnimplementedRegClientServer) RequiredUp(context.Context, *RequiredUpRequest) (*RequiredUpResponse, error)
- func (UnimplementedRegClientServer) ShutdownService(context.Context, *ShutdownServiceRequest) (*ShutdownServiceResponse, error)
- type UnsafeRegClientServer
Constants ¶
This section is empty.
Variables ¶
var ( MasterGoingDownReason_name = map[int32]string{ 0: "Shutdown", 1: "Reboot", 2: "FullShutdown", 3: "Update", } MasterGoingDownReason_value = map[string]int32{ "Shutdown": 0, "Reboot": 1, "FullShutdown": 2, "Update": 3, } )
Enum value maps for MasterGoingDownReason.
var File_regclient_proto protoreflect.FileDescriptor
var RegClient_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regClient.RegClient", HandlerType: (*RegClientServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HealthCheck", Handler: _RegClient_HealthCheck_Handler, }, { MethodName: "AddDependent", Handler: _RegClient_AddDependent_Handler, }, { MethodName: "RemoveDependent", Handler: _RegClient_RemoveDependent_Handler, }, { MethodName: "RemoveRequired", Handler: _RegClient_RemoveRequired_Handler, }, { MethodName: "MasterGoingDown", Handler: _RegClient_MasterGoingDown_Handler, }, { MethodName: "MasterBackUp", Handler: _RegClient_MasterBackUp_Handler, }, { MethodName: "ShutdownService", Handler: _RegClient_ShutdownService_Handler, }, { MethodName: "DependentUp", Handler: _RegClient_DependentUp_Handler, }, { MethodName: "DependentDown", Handler: _RegClient_DependentDown_Handler, }, { MethodName: "RequiredUp", Handler: _RegClient_RequiredUp_Handler, }, { MethodName: "RequiredDown", Handler: _RegClient_RequiredDown_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regclient.proto", }
RegClient_ServiceDesc is the grpc.ServiceDesc for RegClient service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRegClientServer ¶
func RegisterRegClientServer(s grpc.ServiceRegistrar, srv RegClientServer)
Types ¶
type AddDependentRequest ¶
type AddDependentRequest struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Id uint64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` BaseId string `protobuf:"bytes,4,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` Key string `protobuf:"bytes,5,opt,name=key,proto3" json:"key,omitempty"` Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` Port uint32 `protobuf:"varint,7,opt,name=port,proto3" json:"port,omitempty"` SingleRun bool `protobuf:"varint,8,opt,name=single_run,json=singleRun,proto3" json:"single_run,omitempty"` // contains filtered or unexported fields }
func (*AddDependentRequest) Descriptor
deprecated
func (*AddDependentRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddDependentRequest.ProtoReflect.Descriptor instead.
func (*AddDependentRequest) GetBaseId ¶
func (x *AddDependentRequest) GetBaseId() string
func (*AddDependentRequest) GetId ¶
func (x *AddDependentRequest) GetId() uint64
func (*AddDependentRequest) GetKey ¶
func (x *AddDependentRequest) GetKey() string
func (*AddDependentRequest) GetName ¶
func (x *AddDependentRequest) GetName() string
func (*AddDependentRequest) GetPort ¶
func (x *AddDependentRequest) GetPort() uint32
func (*AddDependentRequest) GetSingleRun ¶
func (x *AddDependentRequest) GetSingleRun() bool
func (*AddDependentRequest) GetType ¶
func (x *AddDependentRequest) GetType() string
func (*AddDependentRequest) GetUrl ¶
func (x *AddDependentRequest) GetUrl() string
func (*AddDependentRequest) ProtoMessage ¶
func (*AddDependentRequest) ProtoMessage()
func (*AddDependentRequest) ProtoReflect ¶
func (x *AddDependentRequest) ProtoReflect() protoreflect.Message
func (*AddDependentRequest) Reset ¶
func (x *AddDependentRequest) Reset()
func (*AddDependentRequest) String ¶
func (x *AddDependentRequest) String() string
type AddDependentResponse ¶
type AddDependentResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*AddDependentResponse) Descriptor
deprecated
func (*AddDependentResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddDependentResponse.ProtoReflect.Descriptor instead.
func (*AddDependentResponse) GetErrorMessage ¶
func (x *AddDependentResponse) GetErrorMessage() string
func (*AddDependentResponse) GetSuccess ¶
func (x *AddDependentResponse) GetSuccess() bool
func (*AddDependentResponse) ProtoMessage ¶
func (*AddDependentResponse) ProtoMessage()
func (*AddDependentResponse) ProtoReflect ¶
func (x *AddDependentResponse) ProtoReflect() protoreflect.Message
func (*AddDependentResponse) Reset ¶
func (x *AddDependentResponse) Reset()
func (*AddDependentResponse) String ¶
func (x *AddDependentResponse) String() string
type DependentDownRequest ¶
type DependentDownRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*DependentDownRequest) Descriptor
deprecated
func (*DependentDownRequest) Descriptor() ([]byte, []int)
Deprecated: Use DependentDownRequest.ProtoReflect.Descriptor instead.
func (*DependentDownRequest) GetBaseId ¶
func (x *DependentDownRequest) GetBaseId() string
func (*DependentDownRequest) ProtoMessage ¶
func (*DependentDownRequest) ProtoMessage()
func (*DependentDownRequest) ProtoReflect ¶
func (x *DependentDownRequest) ProtoReflect() protoreflect.Message
func (*DependentDownRequest) Reset ¶
func (x *DependentDownRequest) Reset()
func (*DependentDownRequest) String ¶
func (x *DependentDownRequest) String() string
type DependentDownResponse ¶
type DependentDownResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*DependentDownResponse) Descriptor
deprecated
func (*DependentDownResponse) Descriptor() ([]byte, []int)
Deprecated: Use DependentDownResponse.ProtoReflect.Descriptor instead.
func (*DependentDownResponse) GetErrorMessage ¶
func (x *DependentDownResponse) GetErrorMessage() string
func (*DependentDownResponse) GetSuccess ¶
func (x *DependentDownResponse) GetSuccess() bool
func (*DependentDownResponse) ProtoMessage ¶
func (*DependentDownResponse) ProtoMessage()
func (*DependentDownResponse) ProtoReflect ¶
func (x *DependentDownResponse) ProtoReflect() protoreflect.Message
func (*DependentDownResponse) Reset ¶
func (x *DependentDownResponse) Reset()
func (*DependentDownResponse) String ¶
func (x *DependentDownResponse) String() string
type DependentUpRequest ¶
type DependentUpRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*DependentUpRequest) Descriptor
deprecated
func (*DependentUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use DependentUpRequest.ProtoReflect.Descriptor instead.
func (*DependentUpRequest) GetBaseId ¶
func (x *DependentUpRequest) GetBaseId() string
func (*DependentUpRequest) ProtoMessage ¶
func (*DependentUpRequest) ProtoMessage()
func (*DependentUpRequest) ProtoReflect ¶
func (x *DependentUpRequest) ProtoReflect() protoreflect.Message
func (*DependentUpRequest) Reset ¶
func (x *DependentUpRequest) Reset()
func (*DependentUpRequest) String ¶
func (x *DependentUpRequest) String() string
type DependentUpResponse ¶
type DependentUpResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*DependentUpResponse) Descriptor
deprecated
func (*DependentUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use DependentUpResponse.ProtoReflect.Descriptor instead.
func (*DependentUpResponse) GetErrorMessage ¶
func (x *DependentUpResponse) GetErrorMessage() string
func (*DependentUpResponse) GetSuccess ¶
func (x *DependentUpResponse) GetSuccess() bool
func (*DependentUpResponse) ProtoMessage ¶
func (*DependentUpResponse) ProtoMessage()
func (*DependentUpResponse) ProtoReflect ¶
func (x *DependentUpResponse) ProtoReflect() protoreflect.Message
func (*DependentUpResponse) Reset ¶
func (x *DependentUpResponse) Reset()
func (*DependentUpResponse) String ¶
func (x *DependentUpResponse) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Healthy bool `protobuf:"varint,3,opt,name=healthy,proto3" json:"healthy,omitempty"` Issues []string `protobuf:"bytes,4,rep,name=issues,proto3" json:"issues,omitempty"` // contains filtered or unexported fields }
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetErrorMessage ¶
func (x *HealthCheckResponse) GetErrorMessage() string
func (*HealthCheckResponse) GetHealthy ¶
func (x *HealthCheckResponse) GetHealthy() bool
func (*HealthCheckResponse) GetIssues ¶
func (x *HealthCheckResponse) GetIssues() []string
func (*HealthCheckResponse) GetSuccess ¶
func (x *HealthCheckResponse) GetSuccess() bool
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type MasterBackUpRequest ¶
type MasterBackUpRequest struct {
// contains filtered or unexported fields
}
func (*MasterBackUpRequest) Descriptor
deprecated
func (*MasterBackUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use MasterBackUpRequest.ProtoReflect.Descriptor instead.
func (*MasterBackUpRequest) ProtoMessage ¶
func (*MasterBackUpRequest) ProtoMessage()
func (*MasterBackUpRequest) ProtoReflect ¶
func (x *MasterBackUpRequest) ProtoReflect() protoreflect.Message
func (*MasterBackUpRequest) Reset ¶
func (x *MasterBackUpRequest) Reset()
func (*MasterBackUpRequest) String ¶
func (x *MasterBackUpRequest) String() string
type MasterBackUpResponse ¶
type MasterBackUpResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` Active bool `protobuf:"varint,3,opt,name=active,proto3" json:"active,omitempty"` RegData *registration.RegisterRequest `protobuf:"bytes,4,opt,name=reg_data,json=regData,proto3" json:"reg_data,omitempty"` // contains filtered or unexported fields }
func (*MasterBackUpResponse) Descriptor
deprecated
func (*MasterBackUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use MasterBackUpResponse.ProtoReflect.Descriptor instead.
func (*MasterBackUpResponse) GetActive ¶
func (x *MasterBackUpResponse) GetActive() bool
func (*MasterBackUpResponse) GetErrorMessage ¶
func (x *MasterBackUpResponse) GetErrorMessage() string
func (*MasterBackUpResponse) GetRegData ¶
func (x *MasterBackUpResponse) GetRegData() *registration.RegisterRequest
func (*MasterBackUpResponse) GetSuccess ¶
func (x *MasterBackUpResponse) GetSuccess() bool
func (*MasterBackUpResponse) ProtoMessage ¶
func (*MasterBackUpResponse) ProtoMessage()
func (*MasterBackUpResponse) ProtoReflect ¶
func (x *MasterBackUpResponse) ProtoReflect() protoreflect.Message
func (*MasterBackUpResponse) Reset ¶
func (x *MasterBackUpResponse) Reset()
func (*MasterBackUpResponse) String ¶
func (x *MasterBackUpResponse) String() string
type MasterGoingDownReason ¶
type MasterGoingDownReason int32
const ( MasterGoingDownReason_Shutdown MasterGoingDownReason = 0 MasterGoingDownReason_Reboot MasterGoingDownReason = 1 MasterGoingDownReason_FullShutdown MasterGoingDownReason = 2 MasterGoingDownReason_Update MasterGoingDownReason = 3 )
func (MasterGoingDownReason) Descriptor ¶
func (MasterGoingDownReason) Descriptor() protoreflect.EnumDescriptor
func (MasterGoingDownReason) Enum ¶
func (x MasterGoingDownReason) Enum() *MasterGoingDownReason
func (MasterGoingDownReason) EnumDescriptor
deprecated
func (MasterGoingDownReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use MasterGoingDownReason.Descriptor instead.
func (MasterGoingDownReason) Number ¶
func (x MasterGoingDownReason) Number() protoreflect.EnumNumber
func (MasterGoingDownReason) String ¶
func (x MasterGoingDownReason) String() string
func (MasterGoingDownReason) Type ¶
func (MasterGoingDownReason) Type() protoreflect.EnumType
type MasterGoingDownRequest ¶
type MasterGoingDownRequest struct { Reason MasterGoingDownReason `protobuf:"varint,1,opt,name=reason,proto3,enum=regClient.MasterGoingDownReason" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*MasterGoingDownRequest) Descriptor
deprecated
func (*MasterGoingDownRequest) Descriptor() ([]byte, []int)
Deprecated: Use MasterGoingDownRequest.ProtoReflect.Descriptor instead.
func (*MasterGoingDownRequest) GetReason ¶
func (x *MasterGoingDownRequest) GetReason() MasterGoingDownReason
func (*MasterGoingDownRequest) ProtoMessage ¶
func (*MasterGoingDownRequest) ProtoMessage()
func (*MasterGoingDownRequest) ProtoReflect ¶
func (x *MasterGoingDownRequest) ProtoReflect() protoreflect.Message
func (*MasterGoingDownRequest) Reset ¶
func (x *MasterGoingDownRequest) Reset()
func (*MasterGoingDownRequest) String ¶
func (x *MasterGoingDownRequest) String() string
type MasterGoingDownResponse ¶
type MasterGoingDownResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*MasterGoingDownResponse) Descriptor
deprecated
func (*MasterGoingDownResponse) Descriptor() ([]byte, []int)
Deprecated: Use MasterGoingDownResponse.ProtoReflect.Descriptor instead.
func (*MasterGoingDownResponse) GetErrorMessage ¶
func (x *MasterGoingDownResponse) GetErrorMessage() string
func (*MasterGoingDownResponse) GetSuccess ¶
func (x *MasterGoingDownResponse) GetSuccess() bool
func (*MasterGoingDownResponse) ProtoMessage ¶
func (*MasterGoingDownResponse) ProtoMessage()
func (*MasterGoingDownResponse) ProtoReflect ¶
func (x *MasterGoingDownResponse) ProtoReflect() protoreflect.Message
func (*MasterGoingDownResponse) Reset ¶
func (x *MasterGoingDownResponse) Reset()
func (*MasterGoingDownResponse) String ¶
func (x *MasterGoingDownResponse) String() string
type RegClientClient ¶
type RegClientClient interface { HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) AddDependent(ctx context.Context, in *AddDependentRequest, opts ...grpc.CallOption) (*AddDependentResponse, error) RemoveDependent(ctx context.Context, in *RemoveDependentRequest, opts ...grpc.CallOption) (*RemoveDependentResponse, error) RemoveRequired(ctx context.Context, in *RemoveRequiredRequest, opts ...grpc.CallOption) (*RemoveRequiredResponse, error) MasterGoingDown(ctx context.Context, in *MasterGoingDownRequest, opts ...grpc.CallOption) (*MasterGoingDownResponse, error) MasterBackUp(ctx context.Context, in *MasterBackUpRequest, opts ...grpc.CallOption) (*MasterBackUpResponse, error) ShutdownService(ctx context.Context, in *ShutdownServiceRequest, opts ...grpc.CallOption) (*ShutdownServiceResponse, error) DependentUp(ctx context.Context, in *DependentUpRequest, opts ...grpc.CallOption) (*DependentUpResponse, error) DependentDown(ctx context.Context, in *DependentDownRequest, opts ...grpc.CallOption) (*DependentDownResponse, error) RequiredUp(ctx context.Context, in *RequiredUpRequest, opts ...grpc.CallOption) (*RequiredUpResponse, error) RequiredDown(ctx context.Context, in *RequiredDownRequest, opts ...grpc.CallOption) (*RequiredDownResponse, error) }
RegClientClient is the client API for RegClient service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRegClientClient ¶
func NewRegClientClient(cc grpc.ClientConnInterface) RegClientClient
type RegClientServer ¶
type RegClientServer interface { HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) AddDependent(context.Context, *AddDependentRequest) (*AddDependentResponse, error) RemoveDependent(context.Context, *RemoveDependentRequest) (*RemoveDependentResponse, error) RemoveRequired(context.Context, *RemoveRequiredRequest) (*RemoveRequiredResponse, error) MasterGoingDown(context.Context, *MasterGoingDownRequest) (*MasterGoingDownResponse, error) MasterBackUp(context.Context, *MasterBackUpRequest) (*MasterBackUpResponse, error) ShutdownService(context.Context, *ShutdownServiceRequest) (*ShutdownServiceResponse, error) DependentUp(context.Context, *DependentUpRequest) (*DependentUpResponse, error) DependentDown(context.Context, *DependentDownRequest) (*DependentDownResponse, error) RequiredUp(context.Context, *RequiredUpRequest) (*RequiredUpResponse, error) RequiredDown(context.Context, *RequiredDownRequest) (*RequiredDownResponse, error) // contains filtered or unexported methods }
RegClientServer is the server API for RegClient service. All implementations must embed UnimplementedRegClientServer for forward compatibility
type RemoveDependentRequest ¶
type RemoveDependentRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveDependentRequest) Descriptor
deprecated
func (*RemoveDependentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependentRequest.ProtoReflect.Descriptor instead.
func (*RemoveDependentRequest) GetBaseId ¶
func (x *RemoveDependentRequest) GetBaseId() string
func (*RemoveDependentRequest) ProtoMessage ¶
func (*RemoveDependentRequest) ProtoMessage()
func (*RemoveDependentRequest) ProtoReflect ¶
func (x *RemoveDependentRequest) ProtoReflect() protoreflect.Message
func (*RemoveDependentRequest) Reset ¶
func (x *RemoveDependentRequest) Reset()
func (*RemoveDependentRequest) String ¶
func (x *RemoveDependentRequest) String() string
type RemoveDependentResponse ¶
type RemoveDependentResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*RemoveDependentResponse) Descriptor
deprecated
func (*RemoveDependentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveDependentResponse.ProtoReflect.Descriptor instead.
func (*RemoveDependentResponse) GetErrorMessage ¶
func (x *RemoveDependentResponse) GetErrorMessage() string
func (*RemoveDependentResponse) GetSuccess ¶
func (x *RemoveDependentResponse) GetSuccess() bool
func (*RemoveDependentResponse) ProtoMessage ¶
func (*RemoveDependentResponse) ProtoMessage()
func (*RemoveDependentResponse) ProtoReflect ¶
func (x *RemoveDependentResponse) ProtoReflect() protoreflect.Message
func (*RemoveDependentResponse) Reset ¶
func (x *RemoveDependentResponse) Reset()
func (*RemoveDependentResponse) String ¶
func (x *RemoveDependentResponse) String() string
type RemoveRequiredRequest ¶
type RemoveRequiredRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequiredRequest) Descriptor
deprecated
func (*RemoveRequiredRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequiredRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequiredRequest) GetBaseId ¶
func (x *RemoveRequiredRequest) GetBaseId() string
func (*RemoveRequiredRequest) ProtoMessage ¶
func (*RemoveRequiredRequest) ProtoMessage()
func (*RemoveRequiredRequest) ProtoReflect ¶
func (x *RemoveRequiredRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequiredRequest) Reset ¶
func (x *RemoveRequiredRequest) Reset()
func (*RemoveRequiredRequest) String ¶
func (x *RemoveRequiredRequest) String() string
type RemoveRequiredResponse ¶
type RemoveRequiredResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequiredResponse) Descriptor
deprecated
func (*RemoveRequiredResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequiredResponse.ProtoReflect.Descriptor instead.
func (*RemoveRequiredResponse) GetErrorMessage ¶
func (x *RemoveRequiredResponse) GetErrorMessage() string
func (*RemoveRequiredResponse) GetSuccess ¶
func (x *RemoveRequiredResponse) GetSuccess() bool
func (*RemoveRequiredResponse) ProtoMessage ¶
func (*RemoveRequiredResponse) ProtoMessage()
func (*RemoveRequiredResponse) ProtoReflect ¶
func (x *RemoveRequiredResponse) ProtoReflect() protoreflect.Message
func (*RemoveRequiredResponse) Reset ¶
func (x *RemoveRequiredResponse) Reset()
func (*RemoveRequiredResponse) String ¶
func (x *RemoveRequiredResponse) String() string
type RequiredDownRequest ¶
type RequiredDownRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*RequiredDownRequest) Descriptor
deprecated
func (*RequiredDownRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequiredDownRequest.ProtoReflect.Descriptor instead.
func (*RequiredDownRequest) GetBaseId ¶
func (x *RequiredDownRequest) GetBaseId() string
func (*RequiredDownRequest) ProtoMessage ¶
func (*RequiredDownRequest) ProtoMessage()
func (*RequiredDownRequest) ProtoReflect ¶
func (x *RequiredDownRequest) ProtoReflect() protoreflect.Message
func (*RequiredDownRequest) Reset ¶
func (x *RequiredDownRequest) Reset()
func (*RequiredDownRequest) String ¶
func (x *RequiredDownRequest) String() string
type RequiredDownResponse ¶
type RequiredDownResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*RequiredDownResponse) Descriptor
deprecated
func (*RequiredDownResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequiredDownResponse.ProtoReflect.Descriptor instead.
func (*RequiredDownResponse) GetErrorMessage ¶
func (x *RequiredDownResponse) GetErrorMessage() string
func (*RequiredDownResponse) GetSuccess ¶
func (x *RequiredDownResponse) GetSuccess() bool
func (*RequiredDownResponse) ProtoMessage ¶
func (*RequiredDownResponse) ProtoMessage()
func (*RequiredDownResponse) ProtoReflect ¶
func (x *RequiredDownResponse) ProtoReflect() protoreflect.Message
func (*RequiredDownResponse) Reset ¶
func (x *RequiredDownResponse) Reset()
func (*RequiredDownResponse) String ¶
func (x *RequiredDownResponse) String() string
type RequiredUpRequest ¶
type RequiredUpRequest struct { BaseId string `protobuf:"bytes,1,opt,name=base_id,json=baseId,proto3" json:"base_id,omitempty"` // contains filtered or unexported fields }
func (*RequiredUpRequest) Descriptor
deprecated
func (*RequiredUpRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequiredUpRequest.ProtoReflect.Descriptor instead.
func (*RequiredUpRequest) GetBaseId ¶
func (x *RequiredUpRequest) GetBaseId() string
func (*RequiredUpRequest) ProtoMessage ¶
func (*RequiredUpRequest) ProtoMessage()
func (*RequiredUpRequest) ProtoReflect ¶
func (x *RequiredUpRequest) ProtoReflect() protoreflect.Message
func (*RequiredUpRequest) Reset ¶
func (x *RequiredUpRequest) Reset()
func (*RequiredUpRequest) String ¶
func (x *RequiredUpRequest) String() string
type RequiredUpResponse ¶
type RequiredUpResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*RequiredUpResponse) Descriptor
deprecated
func (*RequiredUpResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequiredUpResponse.ProtoReflect.Descriptor instead.
func (*RequiredUpResponse) GetErrorMessage ¶
func (x *RequiredUpResponse) GetErrorMessage() string
func (*RequiredUpResponse) GetSuccess ¶
func (x *RequiredUpResponse) GetSuccess() bool
func (*RequiredUpResponse) ProtoMessage ¶
func (*RequiredUpResponse) ProtoMessage()
func (*RequiredUpResponse) ProtoReflect ¶
func (x *RequiredUpResponse) ProtoReflect() protoreflect.Message
func (*RequiredUpResponse) Reset ¶
func (x *RequiredUpResponse) Reset()
func (*RequiredUpResponse) String ¶
func (x *RequiredUpResponse) String() string
type ShutdownServiceRequest ¶
type ShutdownServiceRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownServiceRequest) Descriptor
deprecated
func (*ShutdownServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownServiceRequest.ProtoReflect.Descriptor instead.
func (*ShutdownServiceRequest) ProtoMessage ¶
func (*ShutdownServiceRequest) ProtoMessage()
func (*ShutdownServiceRequest) ProtoReflect ¶
func (x *ShutdownServiceRequest) ProtoReflect() protoreflect.Message
func (*ShutdownServiceRequest) Reset ¶
func (x *ShutdownServiceRequest) Reset()
func (*ShutdownServiceRequest) String ¶
func (x *ShutdownServiceRequest) String() string
type ShutdownServiceResponse ¶
type ShutdownServiceResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*ShutdownServiceResponse) Descriptor
deprecated
func (*ShutdownServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownServiceResponse.ProtoReflect.Descriptor instead.
func (*ShutdownServiceResponse) GetErrorMessage ¶
func (x *ShutdownServiceResponse) GetErrorMessage() string
func (*ShutdownServiceResponse) GetSuccess ¶
func (x *ShutdownServiceResponse) GetSuccess() bool
func (*ShutdownServiceResponse) ProtoMessage ¶
func (*ShutdownServiceResponse) ProtoMessage()
func (*ShutdownServiceResponse) ProtoReflect ¶
func (x *ShutdownServiceResponse) ProtoReflect() protoreflect.Message
func (*ShutdownServiceResponse) Reset ¶
func (x *ShutdownServiceResponse) Reset()
func (*ShutdownServiceResponse) String ¶
func (x *ShutdownServiceResponse) String() string
type UnimplementedRegClientServer ¶
type UnimplementedRegClientServer struct { }
UnimplementedRegClientServer must be embedded to have forward compatible implementations.
func (UnimplementedRegClientServer) AddDependent ¶
func (UnimplementedRegClientServer) AddDependent(context.Context, *AddDependentRequest) (*AddDependentResponse, error)
func (UnimplementedRegClientServer) DependentDown ¶
func (UnimplementedRegClientServer) DependentDown(context.Context, *DependentDownRequest) (*DependentDownResponse, error)
func (UnimplementedRegClientServer) DependentUp ¶
func (UnimplementedRegClientServer) DependentUp(context.Context, *DependentUpRequest) (*DependentUpResponse, error)
func (UnimplementedRegClientServer) HealthCheck ¶
func (UnimplementedRegClientServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedRegClientServer) MasterBackUp ¶
func (UnimplementedRegClientServer) MasterBackUp(context.Context, *MasterBackUpRequest) (*MasterBackUpResponse, error)
func (UnimplementedRegClientServer) MasterGoingDown ¶
func (UnimplementedRegClientServer) MasterGoingDown(context.Context, *MasterGoingDownRequest) (*MasterGoingDownResponse, error)
func (UnimplementedRegClientServer) RemoveDependent ¶
func (UnimplementedRegClientServer) RemoveDependent(context.Context, *RemoveDependentRequest) (*RemoveDependentResponse, error)
func (UnimplementedRegClientServer) RemoveRequired ¶
func (UnimplementedRegClientServer) RemoveRequired(context.Context, *RemoveRequiredRequest) (*RemoveRequiredResponse, error)
func (UnimplementedRegClientServer) RequiredDown ¶
func (UnimplementedRegClientServer) RequiredDown(context.Context, *RequiredDownRequest) (*RequiredDownResponse, error)
func (UnimplementedRegClientServer) RequiredUp ¶
func (UnimplementedRegClientServer) RequiredUp(context.Context, *RequiredUpRequest) (*RequiredUpResponse, error)
func (UnimplementedRegClientServer) ShutdownService ¶
func (UnimplementedRegClientServer) ShutdownService(context.Context, *ShutdownServiceRequest) (*ShutdownServiceResponse, error)
type UnsafeRegClientServer ¶
type UnsafeRegClientServer interface {
// contains filtered or unexported methods
}
UnsafeRegClientServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RegClientServer will result in compilation errors.