Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
 - func RegisterSentinelOperationServer(s grpc.ServiceRegistrar, srv SentinelOperationServer)
 - func RegistryGrpcApp()
 - type Response
 - type SentinelOperationClient
 - type SentinelOperationServer
 - type UnimplementedSentinelOperationServer
 - type UnsafeSentinelOperationServer
 - type UpdateRedisReplicationRequest
 - func (*UpdateRedisReplicationRequest) Descriptor() ([]byte, []int)deprecated
 - func (x *UpdateRedisReplicationRequest) GetMasterHost() string
 - func (x *UpdateRedisReplicationRequest) GetNamespace() string
 - func (x *UpdateRedisReplicationRequest) GetRedisReplicationName() string
 - func (x *UpdateRedisReplicationRequest) GetSelfUnitName() string
 - func (*UpdateRedisReplicationRequest) ProtoMessage()
 - func (x *UpdateRedisReplicationRequest) ProtoReflect() protoreflect.Message
 - func (x *UpdateRedisReplicationRequest) Reset()
 - func (x *UpdateRedisReplicationRequest) String() string
 
Constants ¶
This section is empty.
Variables ¶
var File_pkg_agent_app_sentinel_pb_sentinel_proto protoreflect.FileDescriptor
    var SentinelOperation_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sentinel.SentinelOperation", HandlerType: (*SentinelOperationServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateRedisReplication", Handler: _SentinelOperation_UpdateRedisReplication_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/agent/app/sentinel/pb/sentinel.proto", }
SentinelOperation_ServiceDesc is the grpc.ServiceDesc for SentinelOperation service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSentinelOperationServer ¶
func RegisterSentinelOperationServer(s grpc.ServiceRegistrar, srv SentinelOperationServer)
func RegistryGrpcApp ¶
func RegistryGrpcApp()
Types ¶
type Response ¶
type Response struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*Response) Descriptor
            deprecated
            
          
  
    
  
      
      
    func (*Response) GetMessage ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type SentinelOperationClient ¶
type SentinelOperationClient interface {
	UpdateRedisReplication(ctx context.Context, in *UpdateRedisReplicationRequest, opts ...grpc.CallOption) (*Response, error)
}
    SentinelOperationClient is the client API for SentinelOperation 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 NewSentinelOperationClient ¶
func NewSentinelOperationClient(cc grpc.ClientConnInterface) SentinelOperationClient
type SentinelOperationServer ¶
type SentinelOperationServer interface {
	UpdateRedisReplication(context.Context, *UpdateRedisReplicationRequest) (*Response, error)
	// contains filtered or unexported methods
}
    SentinelOperationServer is the server API for SentinelOperation service. All implementations must embed UnimplementedSentinelOperationServer for forward compatibility
type UnimplementedSentinelOperationServer ¶
type UnimplementedSentinelOperationServer struct {
}
    UnimplementedSentinelOperationServer must be embedded to have forward compatible implementations.
func (UnimplementedSentinelOperationServer) UpdateRedisReplication ¶
func (UnimplementedSentinelOperationServer) UpdateRedisReplication(context.Context, *UpdateRedisReplicationRequest) (*Response, error)
type UnsafeSentinelOperationServer ¶
type UnsafeSentinelOperationServer interface {
	// contains filtered or unexported methods
}
    UnsafeSentinelOperationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SentinelOperationServer will result in compilation errors.
type UpdateRedisReplicationRequest ¶
type UpdateRedisReplicationRequest struct {
	RedisReplicationName string `protobuf:"bytes,1,opt,name=redis_replication_name,json=redisReplicationName,proto3" json:"redis_replication_name,omitempty"`
	Namespace            string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	MasterHost           string `protobuf:"bytes,3,opt,name=master_host,json=masterHost,proto3" json:"master_host,omitempty"`
	SelfUnitName         string `protobuf:"bytes,4,opt,name=self_unit_name,json=selfUnitName,proto3" json:"self_unit_name,omitempty"`
	// contains filtered or unexported fields
}
    
        
          
            func (*UpdateRedisReplicationRequest) Descriptor
            deprecated
            
          
  
    
  
      
      func (*UpdateRedisReplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRedisReplicationRequest.ProtoReflect.Descriptor instead.
func (*UpdateRedisReplicationRequest) GetMasterHost ¶
func (x *UpdateRedisReplicationRequest) GetMasterHost() string
func (*UpdateRedisReplicationRequest) GetNamespace ¶
func (x *UpdateRedisReplicationRequest) GetNamespace() string
func (*UpdateRedisReplicationRequest) GetRedisReplicationName ¶
func (x *UpdateRedisReplicationRequest) GetRedisReplicationName() string
func (*UpdateRedisReplicationRequest) GetSelfUnitName ¶
func (x *UpdateRedisReplicationRequest) GetSelfUnitName() string
func (*UpdateRedisReplicationRequest) ProtoMessage ¶
func (*UpdateRedisReplicationRequest) ProtoMessage()
func (*UpdateRedisReplicationRequest) ProtoReflect ¶
func (x *UpdateRedisReplicationRequest) ProtoReflect() protoreflect.Message
func (*UpdateRedisReplicationRequest) Reset ¶
func (x *UpdateRedisReplicationRequest) Reset()
func (*UpdateRedisReplicationRequest) String ¶
func (x *UpdateRedisReplicationRequest) String() string