Package adminpb contains API with Redis-related administrative endpoints.



    This section is empty.


    View Source
    var Admin_ServiceDesc = grpc.ServiceDesc{
    	ServiceName: "server.redisconn.Admin",
    	HandlerType: (*AdminServer)(nil),
    	Methods: []grpc.MethodDesc{
    			MethodName: "FlushAll",
    			Handler:    _Admin_FlushAll_Handler,
    	Streams:  []grpc.StreamDesc{},
    	Metadata: "",

      Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

      View Source
      var File_go_chromium_org_luci_server_redisconn_adminpb_admin_proto protoreflect.FileDescriptor


      func FileDescriptorSet

      func FileDescriptorSet() *descriptorpb.FileDescriptorSet

        FileDescriptorSet returns a descriptor set for this proto package, which includes all defined services, and all transitive dependencies.

        Will not return nil.

        Do NOT modify the returned descriptor.

        func RegisterAdminServer

        func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)


        type AdminClient

        type AdminClient interface {
        	// Deletes all the keys of all the existing databases.
        	// Issues "FLUSHALL" command, optionally with "ASYNC" argument.
        	FlushAll(ctx context.Context, in *FlushAllRequest, opts ...grpc.CallOption) (*empty.Empty, error)

          AdminClient is the client API for Admin service.

          For semantics around ctx use and closing/ending streaming RPCs, please refer to

          func NewAdminClient

          func NewAdminClient(cc grpc.ClientConnInterface) AdminClient

          type AdminServer

          type AdminServer interface {
          	// Deletes all the keys of all the existing databases.
          	// Issues "FLUSHALL" command, optionally with "ASYNC" argument.
          	FlushAll(context.Context, *FlushAllRequest) (*empty.Empty, error)
          	// contains filtered or unexported methods

            AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility

            type FlushAllRequest

            type FlushAllRequest struct {
            	Async bool `protobuf:"varint,1,opt,name=async,proto3" json:"async,omitempty"` // flush asynchronously using "FLUSHALL ASYNC"
            	// contains filtered or unexported fields

            func (*FlushAllRequest) Descriptor

            func (*FlushAllRequest) Descriptor() ([]byte, []int)

              Deprecated: Use FlushAllRequest.ProtoReflect.Descriptor instead.

              func (*FlushAllRequest) GetAsync

              func (x *FlushAllRequest) GetAsync() bool

              func (*FlushAllRequest) ProtoMessage

              func (*FlushAllRequest) ProtoMessage()

              func (*FlushAllRequest) ProtoReflect

              func (x *FlushAllRequest) ProtoReflect() protoreflect.Message

              func (*FlushAllRequest) Reset

              func (x *FlushAllRequest) Reset()

              func (*FlushAllRequest) String

              func (x *FlushAllRequest) String() string

              type UnimplementedAdminServer

              type UnimplementedAdminServer struct {

                UnimplementedAdminServer must be embedded to have forward compatible implementations.

                func (UnimplementedAdminServer) FlushAll

                type UnsafeAdminServer

                type UnsafeAdminServer interface {
                	// contains filtered or unexported methods

                  UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.