Documentation ¶
Overview ¶
Package v1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
- func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
- func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
- func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
- type EventAdd
- func (*EventAdd) Descriptor() ([]byte, []int)
- func (m *EventAdd) Marshal() (dAtA []byte, err error)
- func (m *EventAdd) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAdd) ProtoMessage()
- func (m *EventAdd) Reset()
- func (m *EventAdd) Size() (n int)
- func (m *EventAdd) String() string
- func (m *EventAdd) Unmarshal(dAtA []byte) error
- func (m *EventAdd) XXX_DiscardUnknown()
- func (m *EventAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAdd) XXX_Merge(src proto.Message)
- func (m *EventAdd) XXX_Size() int
- func (m *EventAdd) XXX_Unmarshal(b []byte) error
- type EventAddNode
- func (*EventAddNode) Descriptor() ([]byte, []int)
- func (m *EventAddNode) Marshal() (dAtA []byte, err error)
- func (m *EventAddNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventAddNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventAddNode) ProtoMessage()
- func (m *EventAddNode) Reset()
- func (m *EventAddNode) Size() (n int)
- func (m *EventAddNode) String() string
- func (m *EventAddNode) Unmarshal(dAtA []byte) error
- func (m *EventAddNode) XXX_DiscardUnknown()
- func (m *EventAddNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventAddNode) XXX_Merge(src proto.Message)
- func (m *EventAddNode) XXX_Size() int
- func (m *EventAddNode) XXX_Unmarshal(b []byte) error
- type EventRemoveNode
- func (*EventRemoveNode) Descriptor() ([]byte, []int)
- func (m *EventRemoveNode) Marshal() (dAtA []byte, err error)
- func (m *EventRemoveNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventRemoveNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventRemoveNode) ProtoMessage()
- func (m *EventRemoveNode) Reset()
- func (m *EventRemoveNode) Size() (n int)
- func (m *EventRemoveNode) String() string
- func (m *EventRemoveNode) Unmarshal(dAtA []byte) error
- func (m *EventRemoveNode) XXX_DiscardUnknown()
- func (m *EventRemoveNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventRemoveNode) XXX_Merge(src proto.Message)
- func (m *EventRemoveNode) XXX_Size() int
- func (m *EventRemoveNode) XXX_Unmarshal(b []byte) error
- type EventSetStatus
- func (*EventSetStatus) Descriptor() ([]byte, []int)
- func (m *EventSetStatus) Marshal() (dAtA []byte, err error)
- func (m *EventSetStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *EventSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventSetStatus) ProtoMessage()
- func (m *EventSetStatus) Reset()
- func (m *EventSetStatus) Size() (n int)
- func (m *EventSetStatus) String() string
- func (m *EventSetStatus) Unmarshal(dAtA []byte) error
- func (m *EventSetStatus) XXX_DiscardUnknown()
- func (m *EventSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventSetStatus) XXX_Merge(src proto.Message)
- func (m *EventSetStatus) XXX_Size() int
- func (m *EventSetStatus) XXX_Unmarshal(b []byte) error
- type GenesisPlan
- func (*GenesisPlan) Descriptor() ([]byte, []int)
- func (m *GenesisPlan) Marshal() (dAtA []byte, err error)
- func (m *GenesisPlan) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisPlan) ProtoMessage()
- func (m *GenesisPlan) Reset()
- func (m *GenesisPlan) Size() (n int)
- func (m *GenesisPlan) String() string
- func (m *GenesisPlan) Unmarshal(dAtA []byte) error
- func (m *GenesisPlan) XXX_DiscardUnknown()
- func (m *GenesisPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisPlan) XXX_Merge(src proto.Message)
- func (m *GenesisPlan) XXX_Size() int
- func (m *GenesisPlan) XXX_Unmarshal(b []byte) error
- type MsgAddNodeRequest
- func (*MsgAddNodeRequest) Descriptor() ([]byte, []int)
- func (m *MsgAddNodeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddNodeRequest) ProtoMessage()
- func (m *MsgAddNodeRequest) Reset()
- func (m *MsgAddNodeRequest) Size() (n int)
- func (m *MsgAddNodeRequest) String() string
- func (m *MsgAddNodeRequest) Unmarshal(dAtA []byte) error
- func (m *MsgAddNodeRequest) ValidateBasic() error
- func (m *MsgAddNodeRequest) XXX_DiscardUnknown()
- func (m *MsgAddNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddNodeRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddNodeRequest) XXX_Size() int
- func (m *MsgAddNodeRequest) XXX_Unmarshal(b []byte) error
- type MsgAddNodeResponse
- func (*MsgAddNodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddNodeResponse) ProtoMessage()
- func (m *MsgAddNodeResponse) Reset()
- func (m *MsgAddNodeResponse) Size() (n int)
- func (m *MsgAddNodeResponse) String() string
- func (m *MsgAddNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddNodeResponse) XXX_DiscardUnknown()
- func (m *MsgAddNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddNodeResponse) XXX_Size() int
- func (m *MsgAddNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgAddRequest
- func (*MsgAddRequest) Descriptor() ([]byte, []int)
- func (m *MsgAddRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRequest) ProtoMessage()
- func (m *MsgAddRequest) Reset()
- func (m *MsgAddRequest) Size() (n int)
- func (m *MsgAddRequest) String() string
- func (m *MsgAddRequest) Unmarshal(dAtA []byte) error
- func (m *MsgAddRequest) ValidateBasic() error
- func (m *MsgAddRequest) XXX_DiscardUnknown()
- func (m *MsgAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddRequest) XXX_Size() int
- func (m *MsgAddRequest) XXX_Unmarshal(b []byte) error
- type MsgAddResponse
- func (*MsgAddResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddResponse) ProtoMessage()
- func (m *MsgAddResponse) Reset()
- func (m *MsgAddResponse) Size() (n int)
- func (m *MsgAddResponse) String() string
- func (m *MsgAddResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddResponse) XXX_DiscardUnknown()
- func (m *MsgAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddResponse) XXX_Size() int
- func (m *MsgAddResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveNodeRequest
- func (*MsgRemoveNodeRequest) Descriptor() ([]byte, []int)
- func (m *MsgRemoveNodeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveNodeRequest) ProtoMessage()
- func (m *MsgRemoveNodeRequest) Reset()
- func (m *MsgRemoveNodeRequest) Size() (n int)
- func (m *MsgRemoveNodeRequest) String() string
- func (m *MsgRemoveNodeRequest) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveNodeRequest) ValidateBasic() error
- func (m *MsgRemoveNodeRequest) XXX_DiscardUnknown()
- func (m *MsgRemoveNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveNodeRequest) XXX_Merge(src proto.Message)
- func (m *MsgRemoveNodeRequest) XXX_Size() int
- func (m *MsgRemoveNodeRequest) XXX_Unmarshal(b []byte) error
- type MsgRemoveNodeResponse
- func (*MsgRemoveNodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveNodeResponse) ProtoMessage()
- func (m *MsgRemoveNodeResponse) Reset()
- func (m *MsgRemoveNodeResponse) Size() (n int)
- func (m *MsgRemoveNodeResponse) String() string
- func (m *MsgRemoveNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveNodeResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveNodeResponse) XXX_Size() int
- func (m *MsgRemoveNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgServiceClient
- type MsgServiceServer
- type MsgSetStatusRequest
- func (*MsgSetStatusRequest) Descriptor() ([]byte, []int)
- func (m *MsgSetStatusRequest) GetSigners() []sdk.AccAddress
- func (m *MsgSetStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgSetStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetStatusRequest) ProtoMessage()
- func (m *MsgSetStatusRequest) Reset()
- func (m *MsgSetStatusRequest) Size() (n int)
- func (m *MsgSetStatusRequest) String() string
- func (m *MsgSetStatusRequest) Unmarshal(dAtA []byte) error
- func (m *MsgSetStatusRequest) ValidateBasic() error
- func (m *MsgSetStatusRequest) XXX_DiscardUnknown()
- func (m *MsgSetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetStatusRequest) XXX_Merge(src proto.Message)
- func (m *MsgSetStatusRequest) XXX_Size() int
- func (m *MsgSetStatusRequest) XXX_Unmarshal(b []byte) error
- type MsgSetStatusResponse
- func (*MsgSetStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgSetStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgSetStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgSetStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgSetStatusResponse) ProtoMessage()
- func (m *MsgSetStatusResponse) Reset()
- func (m *MsgSetStatusResponse) Size() (n int)
- func (m *MsgSetStatusResponse) String() string
- func (m *MsgSetStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgSetStatusResponse) XXX_DiscardUnknown()
- func (m *MsgSetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgSetStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgSetStatusResponse) XXX_Size() int
- func (m *MsgSetStatusResponse) XXX_Unmarshal(b []byte) error
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)
- func (m *Plan) Marshal() (dAtA []byte, err error)
- func (m *Plan) MarshalTo(dAtA []byte) (int, error)
- func (m *Plan) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Plan) ProtoMessage()
- func (m *Plan) Reset()
- func (m *Plan) Size() (n int)
- func (m *Plan) String() string
- func (m *Plan) Unmarshal(dAtA []byte) error
- func (m *Plan) XXX_DiscardUnknown()
- func (m *Plan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Plan) XXX_Merge(src proto.Message)
- func (m *Plan) XXX_Size() int
- func (m *Plan) XXX_Unmarshal(b []byte) error
- type QueryNodesForPlanRequest
- func (*QueryNodesForPlanRequest) Descriptor() ([]byte, []int)
- func (m *QueryNodesForPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNodesForPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNodesForPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNodesForPlanRequest) ProtoMessage()
- func (m *QueryNodesForPlanRequest) Reset()
- func (m *QueryNodesForPlanRequest) Size() (n int)
- func (m *QueryNodesForPlanRequest) String() string
- func (m *QueryNodesForPlanRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNodesForPlanRequest) XXX_DiscardUnknown()
- func (m *QueryNodesForPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNodesForPlanRequest) XXX_Merge(src proto.Message)
- func (m *QueryNodesForPlanRequest) XXX_Size() int
- func (m *QueryNodesForPlanRequest) XXX_Unmarshal(b []byte) error
- type QueryNodesForPlanResponse
- func (*QueryNodesForPlanResponse) Descriptor() ([]byte, []int)
- func (m *QueryNodesForPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryNodesForPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNodesForPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNodesForPlanResponse) ProtoMessage()
- func (m *QueryNodesForPlanResponse) Reset()
- func (m *QueryNodesForPlanResponse) Size() (n int)
- func (m *QueryNodesForPlanResponse) String() string
- func (m *QueryNodesForPlanResponse) Unmarshal(dAtA []byte) error
- func (m *QueryNodesForPlanResponse) XXX_DiscardUnknown()
- func (m *QueryNodesForPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNodesForPlanResponse) XXX_Merge(src proto.Message)
- func (m *QueryNodesForPlanResponse) XXX_Size() int
- func (m *QueryNodesForPlanResponse) XXX_Unmarshal(b []byte) error
- type QueryPlanRequest
- func (*QueryPlanRequest) Descriptor() ([]byte, []int)
- func (m *QueryPlanRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlanRequest) ProtoMessage()
- func (m *QueryPlanRequest) Reset()
- func (m *QueryPlanRequest) Size() (n int)
- func (m *QueryPlanRequest) String() string
- func (m *QueryPlanRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPlanRequest) XXX_DiscardUnknown()
- func (m *QueryPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlanRequest) XXX_Merge(src proto.Message)
- func (m *QueryPlanRequest) XXX_Size() int
- func (m *QueryPlanRequest) XXX_Unmarshal(b []byte) error
- type QueryPlanResponse
- func (*QueryPlanResponse) Descriptor() ([]byte, []int)
- func (m *QueryPlanResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlanResponse) ProtoMessage()
- func (m *QueryPlanResponse) Reset()
- func (m *QueryPlanResponse) Size() (n int)
- func (m *QueryPlanResponse) String() string
- func (m *QueryPlanResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPlanResponse) XXX_DiscardUnknown()
- func (m *QueryPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlanResponse) XXX_Merge(src proto.Message)
- func (m *QueryPlanResponse) XXX_Size() int
- func (m *QueryPlanResponse) XXX_Unmarshal(b []byte) error
- type QueryPlansForProviderRequest
- func (*QueryPlansForProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryPlansForProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPlansForProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlansForProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlansForProviderRequest) ProtoMessage()
- func (m *QueryPlansForProviderRequest) Reset()
- func (m *QueryPlansForProviderRequest) Size() (n int)
- func (m *QueryPlansForProviderRequest) String() string
- func (m *QueryPlansForProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPlansForProviderRequest) XXX_DiscardUnknown()
- func (m *QueryPlansForProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlansForProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryPlansForProviderRequest) XXX_Size() int
- func (m *QueryPlansForProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryPlansForProviderResponse
- func (*QueryPlansForProviderResponse) Descriptor() ([]byte, []int)
- func (m *QueryPlansForProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPlansForProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlansForProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlansForProviderResponse) ProtoMessage()
- func (m *QueryPlansForProviderResponse) Reset()
- func (m *QueryPlansForProviderResponse) Size() (n int)
- func (m *QueryPlansForProviderResponse) String() string
- func (m *QueryPlansForProviderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPlansForProviderResponse) XXX_DiscardUnknown()
- func (m *QueryPlansForProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlansForProviderResponse) XXX_Merge(src proto.Message)
- func (m *QueryPlansForProviderResponse) XXX_Size() int
- func (m *QueryPlansForProviderResponse) XXX_Unmarshal(b []byte) error
- type QueryPlansRequest
- func (*QueryPlansRequest) Descriptor() ([]byte, []int)
- func (m *QueryPlansRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPlansRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlansRequest) ProtoMessage()
- func (m *QueryPlansRequest) Reset()
- func (m *QueryPlansRequest) Size() (n int)
- func (m *QueryPlansRequest) String() string
- func (m *QueryPlansRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPlansRequest) XXX_DiscardUnknown()
- func (m *QueryPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlansRequest) XXX_Merge(src proto.Message)
- func (m *QueryPlansRequest) XXX_Size() int
- func (m *QueryPlansRequest) XXX_Unmarshal(b []byte) error
- type QueryPlansResponse
- func (*QueryPlansResponse) Descriptor() ([]byte, []int)
- func (m *QueryPlansResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPlansResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPlansResponse) ProtoMessage()
- func (m *QueryPlansResponse) Reset()
- func (m *QueryPlansResponse) Size() (n int)
- func (m *QueryPlansResponse) String() string
- func (m *QueryPlansResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPlansResponse) XXX_DiscardUnknown()
- func (m *QueryPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPlansResponse) XXX_Merge(src proto.Message)
- func (m *QueryPlansResponse) XXX_Size() int
- func (m *QueryPlansResponse) XXX_Unmarshal(b []byte) error
- type QueryServiceClient
- type QueryServiceServer
- type UnimplementedMsgServiceServer
- func (*UnimplementedMsgServiceServer) MsgAdd(ctx context.Context, req *MsgAddRequest) (*MsgAddResponse, error)
- func (*UnimplementedMsgServiceServer) MsgAddNode(ctx context.Context, req *MsgAddNodeRequest) (*MsgAddNodeResponse, error)
- func (*UnimplementedMsgServiceServer) MsgRemoveNode(ctx context.Context, req *MsgRemoveNodeRequest) (*MsgRemoveNodeResponse, error)
- func (*UnimplementedMsgServiceServer) MsgSetStatus(ctx context.Context, req *MsgSetStatusRequest) (*MsgSetStatusResponse, error)
- type UnimplementedQueryServiceServer
- func (*UnimplementedQueryServiceServer) QueryNodesForPlan(ctx context.Context, req *QueryNodesForPlanRequest) (*QueryNodesForPlanResponse, error)
- func (*UnimplementedQueryServiceServer) QueryPlan(ctx context.Context, req *QueryPlanRequest) (*QueryPlanResponse, error)
- func (*UnimplementedQueryServiceServer) QueryPlans(ctx context.Context, req *QueryPlansRequest) (*QueryPlansResponse, error)
- func (*UnimplementedQueryServiceServer) QueryPlansForProvider(ctx context.Context, req *QueryPlansForProviderRequest) (*QueryPlansForProviderResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthMsg = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMsg = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMsg = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPlan = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlan = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPlan = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuerier = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuerier = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuerier = fmt.Errorf("proto: unexpected end of group") )
var MsgService_serviceDesc = _MsgService_serviceDesc
var QueryService_serviceDesc = _QueryService_serviceDesc
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
func RegisterMsgServiceServer ¶
func RegisterMsgServiceServer(s grpc1.Server, srv MsgServiceServer)
func RegisterQueryServiceHandler ¶
func RegisterQueryServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterQueryServiceHandler registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryServiceHandlerClient ¶
func RegisterQueryServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryServiceClient) error
RegisterQueryServiceHandlerClient registers the http handlers for service QueryService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryServiceClient" to call the correct interceptors.
func RegisterQueryServiceHandlerFromEndpoint ¶
func RegisterQueryServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryServiceHandlerFromEndpoint is same as RegisterQueryServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryServiceHandlerServer ¶
func RegisterQueryServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServiceServer) error
RegisterQueryServiceHandlerServer registers the http handlers for service QueryService to "mux". UnaryRPC :call QueryServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryServiceHandlerFromEndpoint instead.
func RegisterQueryServiceServer ¶
func RegisterQueryServiceServer(s grpc1.Server, srv QueryServiceServer)
Types ¶
type EventAdd ¶
type EventAdd struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty" yaml:"provider"` }
func (*EventAdd) Descriptor ¶
func (*EventAdd) MarshalToSizedBuffer ¶
func (*EventAdd) ProtoMessage ¶
func (*EventAdd) ProtoMessage()
func (*EventAdd) XXX_DiscardUnknown ¶
func (m *EventAdd) XXX_DiscardUnknown()
func (*EventAdd) XXX_Marshal ¶
func (*EventAdd) XXX_Unmarshal ¶
type EventAddNode ¶
type EventAddNode struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty" yaml:"node"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty" yaml:"provider"` }
func (*EventAddNode) Descriptor ¶
func (*EventAddNode) Descriptor() ([]byte, []int)
func (*EventAddNode) Marshal ¶
func (m *EventAddNode) Marshal() (dAtA []byte, err error)
func (*EventAddNode) MarshalToSizedBuffer ¶
func (m *EventAddNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventAddNode) ProtoMessage ¶
func (*EventAddNode) ProtoMessage()
func (*EventAddNode) Reset ¶
func (m *EventAddNode) Reset()
func (*EventAddNode) Size ¶
func (m *EventAddNode) Size() (n int)
func (*EventAddNode) String ¶
func (m *EventAddNode) String() string
func (*EventAddNode) Unmarshal ¶
func (m *EventAddNode) Unmarshal(dAtA []byte) error
func (*EventAddNode) XXX_DiscardUnknown ¶
func (m *EventAddNode) XXX_DiscardUnknown()
func (*EventAddNode) XXX_Marshal ¶
func (m *EventAddNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventAddNode) XXX_Merge ¶
func (m *EventAddNode) XXX_Merge(src proto.Message)
func (*EventAddNode) XXX_Size ¶
func (m *EventAddNode) XXX_Size() int
func (*EventAddNode) XXX_Unmarshal ¶
func (m *EventAddNode) XXX_Unmarshal(b []byte) error
type EventRemoveNode ¶
type EventRemoveNode struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Node string `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty" yaml:"node"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty" yaml:"provider"` }
func (*EventRemoveNode) Descriptor ¶
func (*EventRemoveNode) Descriptor() ([]byte, []int)
func (*EventRemoveNode) Marshal ¶
func (m *EventRemoveNode) Marshal() (dAtA []byte, err error)
func (*EventRemoveNode) MarshalToSizedBuffer ¶
func (m *EventRemoveNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventRemoveNode) ProtoMessage ¶
func (*EventRemoveNode) ProtoMessage()
func (*EventRemoveNode) Reset ¶
func (m *EventRemoveNode) Reset()
func (*EventRemoveNode) Size ¶
func (m *EventRemoveNode) Size() (n int)
func (*EventRemoveNode) String ¶
func (m *EventRemoveNode) String() string
func (*EventRemoveNode) Unmarshal ¶
func (m *EventRemoveNode) Unmarshal(dAtA []byte) error
func (*EventRemoveNode) XXX_DiscardUnknown ¶
func (m *EventRemoveNode) XXX_DiscardUnknown()
func (*EventRemoveNode) XXX_Marshal ¶
func (m *EventRemoveNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventRemoveNode) XXX_Merge ¶
func (m *EventRemoveNode) XXX_Merge(src proto.Message)
func (*EventRemoveNode) XXX_Size ¶
func (m *EventRemoveNode) XXX_Size() int
func (*EventRemoveNode) XXX_Unmarshal ¶
func (m *EventRemoveNode) XXX_Unmarshal(b []byte) error
type EventSetStatus ¶
type EventSetStatus struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" yaml:"id"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty" yaml:"provider"` Status v1.Status `protobuf:"varint,3,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty" yaml:"status"` }
func (*EventSetStatus) Descriptor ¶
func (*EventSetStatus) Descriptor() ([]byte, []int)
func (*EventSetStatus) Marshal ¶
func (m *EventSetStatus) Marshal() (dAtA []byte, err error)
func (*EventSetStatus) MarshalToSizedBuffer ¶
func (m *EventSetStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventSetStatus) ProtoMessage ¶
func (*EventSetStatus) ProtoMessage()
func (*EventSetStatus) Reset ¶
func (m *EventSetStatus) Reset()
func (*EventSetStatus) Size ¶
func (m *EventSetStatus) Size() (n int)
func (*EventSetStatus) String ¶
func (m *EventSetStatus) String() string
func (*EventSetStatus) Unmarshal ¶
func (m *EventSetStatus) Unmarshal(dAtA []byte) error
func (*EventSetStatus) XXX_DiscardUnknown ¶
func (m *EventSetStatus) XXX_DiscardUnknown()
func (*EventSetStatus) XXX_Marshal ¶
func (m *EventSetStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventSetStatus) XXX_Merge ¶
func (m *EventSetStatus) XXX_Merge(src proto.Message)
func (*EventSetStatus) XXX_Size ¶
func (m *EventSetStatus) XXX_Size() int
func (*EventSetStatus) XXX_Unmarshal ¶
func (m *EventSetStatus) XXX_Unmarshal(b []byte) error
type GenesisPlan ¶
type GenesisPlan struct { Plan Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"_,omitempty"` Nodes []string `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` }
func (*GenesisPlan) Descriptor ¶
func (*GenesisPlan) Descriptor() ([]byte, []int)
func (*GenesisPlan) Marshal ¶
func (m *GenesisPlan) Marshal() (dAtA []byte, err error)
func (*GenesisPlan) MarshalToSizedBuffer ¶
func (m *GenesisPlan) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisPlan) ProtoMessage ¶
func (*GenesisPlan) ProtoMessage()
func (*GenesisPlan) Reset ¶
func (m *GenesisPlan) Reset()
func (*GenesisPlan) Size ¶
func (m *GenesisPlan) Size() (n int)
func (*GenesisPlan) String ¶
func (m *GenesisPlan) String() string
func (*GenesisPlan) Unmarshal ¶
func (m *GenesisPlan) Unmarshal(dAtA []byte) error
func (*GenesisPlan) XXX_DiscardUnknown ¶
func (m *GenesisPlan) XXX_DiscardUnknown()
func (*GenesisPlan) XXX_Marshal ¶
func (m *GenesisPlan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisPlan) XXX_Merge ¶
func (m *GenesisPlan) XXX_Merge(src proto.Message)
func (*GenesisPlan) XXX_Size ¶
func (m *GenesisPlan) XXX_Size() int
func (*GenesisPlan) XXX_Unmarshal ¶
func (m *GenesisPlan) XXX_Unmarshal(b []byte) error
type MsgAddNodeRequest ¶
type MsgAddNodeRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func (*MsgAddNodeRequest) Descriptor ¶
func (*MsgAddNodeRequest) Descriptor() ([]byte, []int)
func (*MsgAddNodeRequest) GetSigners ¶
func (m *MsgAddNodeRequest) GetSigners() []sdk.AccAddress
func (*MsgAddNodeRequest) Marshal ¶
func (m *MsgAddNodeRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddNodeRequest) MarshalTo ¶
func (m *MsgAddNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddNodeRequest) MarshalToSizedBuffer ¶
func (m *MsgAddNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddNodeRequest) ProtoMessage ¶
func (*MsgAddNodeRequest) ProtoMessage()
func (*MsgAddNodeRequest) Reset ¶
func (m *MsgAddNodeRequest) Reset()
func (*MsgAddNodeRequest) Size ¶
func (m *MsgAddNodeRequest) Size() (n int)
func (*MsgAddNodeRequest) String ¶
func (m *MsgAddNodeRequest) String() string
func (*MsgAddNodeRequest) Unmarshal ¶
func (m *MsgAddNodeRequest) Unmarshal(dAtA []byte) error
func (*MsgAddNodeRequest) ValidateBasic ¶
func (m *MsgAddNodeRequest) ValidateBasic() error
func (*MsgAddNodeRequest) XXX_DiscardUnknown ¶
func (m *MsgAddNodeRequest) XXX_DiscardUnknown()
func (*MsgAddNodeRequest) XXX_Marshal ¶
func (m *MsgAddNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddNodeRequest) XXX_Merge ¶
func (m *MsgAddNodeRequest) XXX_Merge(src proto.Message)
func (*MsgAddNodeRequest) XXX_Size ¶
func (m *MsgAddNodeRequest) XXX_Size() int
func (*MsgAddNodeRequest) XXX_Unmarshal ¶
func (m *MsgAddNodeRequest) XXX_Unmarshal(b []byte) error
type MsgAddNodeResponse ¶
type MsgAddNodeResponse struct { }
func (*MsgAddNodeResponse) Descriptor ¶
func (*MsgAddNodeResponse) Descriptor() ([]byte, []int)
func (*MsgAddNodeResponse) Marshal ¶
func (m *MsgAddNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddNodeResponse) MarshalTo ¶
func (m *MsgAddNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddNodeResponse) MarshalToSizedBuffer ¶
func (m *MsgAddNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddNodeResponse) ProtoMessage ¶
func (*MsgAddNodeResponse) ProtoMessage()
func (*MsgAddNodeResponse) Reset ¶
func (m *MsgAddNodeResponse) Reset()
func (*MsgAddNodeResponse) Size ¶
func (m *MsgAddNodeResponse) Size() (n int)
func (*MsgAddNodeResponse) String ¶
func (m *MsgAddNodeResponse) String() string
func (*MsgAddNodeResponse) Unmarshal ¶
func (m *MsgAddNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgAddNodeResponse) XXX_DiscardUnknown ¶
func (m *MsgAddNodeResponse) XXX_DiscardUnknown()
func (*MsgAddNodeResponse) XXX_Marshal ¶
func (m *MsgAddNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddNodeResponse) XXX_Merge ¶
func (m *MsgAddNodeResponse) XXX_Merge(src proto.Message)
func (*MsgAddNodeResponse) XXX_Size ¶
func (m *MsgAddNodeResponse) XXX_Size() int
func (*MsgAddNodeResponse) XXX_Unmarshal ¶
func (m *MsgAddNodeResponse) XXX_Unmarshal(b []byte) error
type MsgAddRequest ¶
type MsgAddRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"` Validity time.Duration `protobuf:"bytes,3,opt,name=validity,proto3,stdduration" json:"validity"` Bytes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=bytes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bytes"` }
func (*MsgAddRequest) Descriptor ¶
func (*MsgAddRequest) Descriptor() ([]byte, []int)
func (*MsgAddRequest) GetSigners ¶
func (m *MsgAddRequest) GetSigners() []sdk.AccAddress
func (*MsgAddRequest) Marshal ¶
func (m *MsgAddRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddRequest) MarshalToSizedBuffer ¶
func (m *MsgAddRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRequest) ProtoMessage ¶
func (*MsgAddRequest) ProtoMessage()
func (*MsgAddRequest) Reset ¶
func (m *MsgAddRequest) Reset()
func (*MsgAddRequest) Size ¶
func (m *MsgAddRequest) Size() (n int)
func (*MsgAddRequest) String ¶
func (m *MsgAddRequest) String() string
func (*MsgAddRequest) Unmarshal ¶
func (m *MsgAddRequest) Unmarshal(dAtA []byte) error
func (*MsgAddRequest) ValidateBasic ¶
func (m *MsgAddRequest) ValidateBasic() error
func (*MsgAddRequest) XXX_DiscardUnknown ¶
func (m *MsgAddRequest) XXX_DiscardUnknown()
func (*MsgAddRequest) XXX_Marshal ¶
func (m *MsgAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRequest) XXX_Merge ¶
func (m *MsgAddRequest) XXX_Merge(src proto.Message)
func (*MsgAddRequest) XXX_Size ¶
func (m *MsgAddRequest) XXX_Size() int
func (*MsgAddRequest) XXX_Unmarshal ¶
func (m *MsgAddRequest) XXX_Unmarshal(b []byte) error
type MsgAddResponse ¶
type MsgAddResponse struct { }
func (*MsgAddResponse) Descriptor ¶
func (*MsgAddResponse) Descriptor() ([]byte, []int)
func (*MsgAddResponse) Marshal ¶
func (m *MsgAddResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddResponse) MarshalToSizedBuffer ¶
func (m *MsgAddResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddResponse) ProtoMessage ¶
func (*MsgAddResponse) ProtoMessage()
func (*MsgAddResponse) Reset ¶
func (m *MsgAddResponse) Reset()
func (*MsgAddResponse) Size ¶
func (m *MsgAddResponse) Size() (n int)
func (*MsgAddResponse) String ¶
func (m *MsgAddResponse) String() string
func (*MsgAddResponse) Unmarshal ¶
func (m *MsgAddResponse) Unmarshal(dAtA []byte) error
func (*MsgAddResponse) XXX_DiscardUnknown ¶
func (m *MsgAddResponse) XXX_DiscardUnknown()
func (*MsgAddResponse) XXX_Marshal ¶
func (m *MsgAddResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddResponse) XXX_Merge ¶
func (m *MsgAddResponse) XXX_Merge(src proto.Message)
func (*MsgAddResponse) XXX_Size ¶
func (m *MsgAddResponse) XXX_Size() int
func (*MsgAddResponse) XXX_Unmarshal ¶
func (m *MsgAddResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveNodeRequest ¶
type MsgRemoveNodeRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` }
func (*MsgRemoveNodeRequest) Descriptor ¶
func (*MsgRemoveNodeRequest) Descriptor() ([]byte, []int)
func (*MsgRemoveNodeRequest) GetSigners ¶
func (m *MsgRemoveNodeRequest) GetSigners() []sdk.AccAddress
func (*MsgRemoveNodeRequest) Marshal ¶
func (m *MsgRemoveNodeRequest) Marshal() (dAtA []byte, err error)
func (*MsgRemoveNodeRequest) MarshalTo ¶
func (m *MsgRemoveNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveNodeRequest) MarshalToSizedBuffer ¶
func (m *MsgRemoveNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveNodeRequest) ProtoMessage ¶
func (*MsgRemoveNodeRequest) ProtoMessage()
func (*MsgRemoveNodeRequest) Reset ¶
func (m *MsgRemoveNodeRequest) Reset()
func (*MsgRemoveNodeRequest) Size ¶
func (m *MsgRemoveNodeRequest) Size() (n int)
func (*MsgRemoveNodeRequest) String ¶
func (m *MsgRemoveNodeRequest) String() string
func (*MsgRemoveNodeRequest) Unmarshal ¶
func (m *MsgRemoveNodeRequest) Unmarshal(dAtA []byte) error
func (*MsgRemoveNodeRequest) ValidateBasic ¶
func (m *MsgRemoveNodeRequest) ValidateBasic() error
func (*MsgRemoveNodeRequest) XXX_DiscardUnknown ¶
func (m *MsgRemoveNodeRequest) XXX_DiscardUnknown()
func (*MsgRemoveNodeRequest) XXX_Marshal ¶
func (m *MsgRemoveNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveNodeRequest) XXX_Merge ¶
func (m *MsgRemoveNodeRequest) XXX_Merge(src proto.Message)
func (*MsgRemoveNodeRequest) XXX_Size ¶
func (m *MsgRemoveNodeRequest) XXX_Size() int
func (*MsgRemoveNodeRequest) XXX_Unmarshal ¶
func (m *MsgRemoveNodeRequest) XXX_Unmarshal(b []byte) error
type MsgRemoveNodeResponse ¶
type MsgRemoveNodeResponse struct { }
func (*MsgRemoveNodeResponse) Descriptor ¶
func (*MsgRemoveNodeResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveNodeResponse) Marshal ¶
func (m *MsgRemoveNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveNodeResponse) MarshalTo ¶
func (m *MsgRemoveNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveNodeResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveNodeResponse) ProtoMessage ¶
func (*MsgRemoveNodeResponse) ProtoMessage()
func (*MsgRemoveNodeResponse) Reset ¶
func (m *MsgRemoveNodeResponse) Reset()
func (*MsgRemoveNodeResponse) Size ¶
func (m *MsgRemoveNodeResponse) Size() (n int)
func (*MsgRemoveNodeResponse) String ¶
func (m *MsgRemoveNodeResponse) String() string
func (*MsgRemoveNodeResponse) Unmarshal ¶
func (m *MsgRemoveNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveNodeResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveNodeResponse) XXX_DiscardUnknown()
func (*MsgRemoveNodeResponse) XXX_Marshal ¶
func (m *MsgRemoveNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveNodeResponse) XXX_Merge ¶
func (m *MsgRemoveNodeResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveNodeResponse) XXX_Size ¶
func (m *MsgRemoveNodeResponse) XXX_Size() int
func (*MsgRemoveNodeResponse) XXX_Unmarshal ¶
func (m *MsgRemoveNodeResponse) XXX_Unmarshal(b []byte) error
type MsgServiceClient ¶
type MsgServiceClient interface { MsgAdd(ctx context.Context, in *MsgAddRequest, opts ...grpc.CallOption) (*MsgAddResponse, error) MsgAddNode(ctx context.Context, in *MsgAddNodeRequest, opts ...grpc.CallOption) (*MsgAddNodeResponse, error) MsgRemoveNode(ctx context.Context, in *MsgRemoveNodeRequest, opts ...grpc.CallOption) (*MsgRemoveNodeResponse, error) MsgSetStatus(ctx context.Context, in *MsgSetStatusRequest, opts ...grpc.CallOption) (*MsgSetStatusResponse, error) }
MsgServiceClient is the client API for MsgService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgServiceClient ¶
func NewMsgServiceClient(cc grpc1.ClientConn) MsgServiceClient
type MsgServiceServer ¶
type MsgServiceServer interface { MsgAdd(context.Context, *MsgAddRequest) (*MsgAddResponse, error) MsgAddNode(context.Context, *MsgAddNodeRequest) (*MsgAddNodeResponse, error) MsgRemoveNode(context.Context, *MsgRemoveNodeRequest) (*MsgRemoveNodeResponse, error) MsgSetStatus(context.Context, *MsgSetStatusRequest) (*MsgSetStatusResponse, error) }
MsgServiceServer is the server API for MsgService service.
type MsgSetStatusRequest ¶
type MsgSetStatusRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Status v1.Status `protobuf:"varint,3,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` }
func (*MsgSetStatusRequest) Descriptor ¶
func (*MsgSetStatusRequest) Descriptor() ([]byte, []int)
func (*MsgSetStatusRequest) GetSigners ¶
func (m *MsgSetStatusRequest) GetSigners() []sdk.AccAddress
func (*MsgSetStatusRequest) Marshal ¶
func (m *MsgSetStatusRequest) Marshal() (dAtA []byte, err error)
func (*MsgSetStatusRequest) MarshalTo ¶
func (m *MsgSetStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetStatusRequest) MarshalToSizedBuffer ¶
func (m *MsgSetStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetStatusRequest) ProtoMessage ¶
func (*MsgSetStatusRequest) ProtoMessage()
func (*MsgSetStatusRequest) Reset ¶
func (m *MsgSetStatusRequest) Reset()
func (*MsgSetStatusRequest) Size ¶
func (m *MsgSetStatusRequest) Size() (n int)
func (*MsgSetStatusRequest) String ¶
func (m *MsgSetStatusRequest) String() string
func (*MsgSetStatusRequest) Unmarshal ¶
func (m *MsgSetStatusRequest) Unmarshal(dAtA []byte) error
func (*MsgSetStatusRequest) ValidateBasic ¶
func (m *MsgSetStatusRequest) ValidateBasic() error
func (*MsgSetStatusRequest) XXX_DiscardUnknown ¶
func (m *MsgSetStatusRequest) XXX_DiscardUnknown()
func (*MsgSetStatusRequest) XXX_Marshal ¶
func (m *MsgSetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetStatusRequest) XXX_Merge ¶
func (m *MsgSetStatusRequest) XXX_Merge(src proto.Message)
func (*MsgSetStatusRequest) XXX_Size ¶
func (m *MsgSetStatusRequest) XXX_Size() int
func (*MsgSetStatusRequest) XXX_Unmarshal ¶
func (m *MsgSetStatusRequest) XXX_Unmarshal(b []byte) error
type MsgSetStatusResponse ¶
type MsgSetStatusResponse struct { }
func (*MsgSetStatusResponse) Descriptor ¶
func (*MsgSetStatusResponse) Descriptor() ([]byte, []int)
func (*MsgSetStatusResponse) Marshal ¶
func (m *MsgSetStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgSetStatusResponse) MarshalTo ¶
func (m *MsgSetStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgSetStatusResponse) MarshalToSizedBuffer ¶
func (m *MsgSetStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgSetStatusResponse) ProtoMessage ¶
func (*MsgSetStatusResponse) ProtoMessage()
func (*MsgSetStatusResponse) Reset ¶
func (m *MsgSetStatusResponse) Reset()
func (*MsgSetStatusResponse) Size ¶
func (m *MsgSetStatusResponse) Size() (n int)
func (*MsgSetStatusResponse) String ¶
func (m *MsgSetStatusResponse) String() string
func (*MsgSetStatusResponse) Unmarshal ¶
func (m *MsgSetStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgSetStatusResponse) XXX_DiscardUnknown ¶
func (m *MsgSetStatusResponse) XXX_DiscardUnknown()
func (*MsgSetStatusResponse) XXX_Marshal ¶
func (m *MsgSetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgSetStatusResponse) XXX_Merge ¶
func (m *MsgSetStatusResponse) XXX_Merge(src proto.Message)
func (*MsgSetStatusResponse) XXX_Size ¶
func (m *MsgSetStatusResponse) XXX_Size() int
func (*MsgSetStatusResponse) XXX_Unmarshal ¶
func (m *MsgSetStatusResponse) XXX_Unmarshal(b []byte) error
type Plan ¶
type Plan struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Price github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=price,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"price"` Validity time.Duration `protobuf:"bytes,4,opt,name=validity,proto3,stdduration" json:"validity"` Bytes github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,5,opt,name=bytes,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"bytes"` Status v1.Status `protobuf:"varint,6,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` StatusAt time.Time `protobuf:"bytes,7,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"` }
func (*Plan) Descriptor ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) XXX_DiscardUnknown ¶
func (m *Plan) XXX_DiscardUnknown()
func (*Plan) XXX_Unmarshal ¶
type QueryNodesForPlanRequest ¶
type QueryNodesForPlanRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryNodesForPlanRequest) Descriptor ¶
func (*QueryNodesForPlanRequest) Descriptor() ([]byte, []int)
func (*QueryNodesForPlanRequest) Marshal ¶
func (m *QueryNodesForPlanRequest) Marshal() (dAtA []byte, err error)
func (*QueryNodesForPlanRequest) MarshalTo ¶
func (m *QueryNodesForPlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryNodesForPlanRequest) MarshalToSizedBuffer ¶
func (m *QueryNodesForPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNodesForPlanRequest) ProtoMessage ¶
func (*QueryNodesForPlanRequest) ProtoMessage()
func (*QueryNodesForPlanRequest) Reset ¶
func (m *QueryNodesForPlanRequest) Reset()
func (*QueryNodesForPlanRequest) Size ¶
func (m *QueryNodesForPlanRequest) Size() (n int)
func (*QueryNodesForPlanRequest) String ¶
func (m *QueryNodesForPlanRequest) String() string
func (*QueryNodesForPlanRequest) Unmarshal ¶
func (m *QueryNodesForPlanRequest) Unmarshal(dAtA []byte) error
func (*QueryNodesForPlanRequest) XXX_DiscardUnknown ¶
func (m *QueryNodesForPlanRequest) XXX_DiscardUnknown()
func (*QueryNodesForPlanRequest) XXX_Marshal ¶
func (m *QueryNodesForPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNodesForPlanRequest) XXX_Merge ¶
func (m *QueryNodesForPlanRequest) XXX_Merge(src proto.Message)
func (*QueryNodesForPlanRequest) XXX_Size ¶
func (m *QueryNodesForPlanRequest) XXX_Size() int
func (*QueryNodesForPlanRequest) XXX_Unmarshal ¶
func (m *QueryNodesForPlanRequest) XXX_Unmarshal(b []byte) error
type QueryNodesForPlanResponse ¶
type QueryNodesForPlanResponse struct { Nodes []v11.Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryNodesForPlanResponse) Descriptor ¶
func (*QueryNodesForPlanResponse) Descriptor() ([]byte, []int)
func (*QueryNodesForPlanResponse) Marshal ¶
func (m *QueryNodesForPlanResponse) Marshal() (dAtA []byte, err error)
func (*QueryNodesForPlanResponse) MarshalTo ¶
func (m *QueryNodesForPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryNodesForPlanResponse) MarshalToSizedBuffer ¶
func (m *QueryNodesForPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryNodesForPlanResponse) ProtoMessage ¶
func (*QueryNodesForPlanResponse) ProtoMessage()
func (*QueryNodesForPlanResponse) Reset ¶
func (m *QueryNodesForPlanResponse) Reset()
func (*QueryNodesForPlanResponse) Size ¶
func (m *QueryNodesForPlanResponse) Size() (n int)
func (*QueryNodesForPlanResponse) String ¶
func (m *QueryNodesForPlanResponse) String() string
func (*QueryNodesForPlanResponse) Unmarshal ¶
func (m *QueryNodesForPlanResponse) Unmarshal(dAtA []byte) error
func (*QueryNodesForPlanResponse) XXX_DiscardUnknown ¶
func (m *QueryNodesForPlanResponse) XXX_DiscardUnknown()
func (*QueryNodesForPlanResponse) XXX_Marshal ¶
func (m *QueryNodesForPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryNodesForPlanResponse) XXX_Merge ¶
func (m *QueryNodesForPlanResponse) XXX_Merge(src proto.Message)
func (*QueryNodesForPlanResponse) XXX_Size ¶
func (m *QueryNodesForPlanResponse) XXX_Size() int
func (*QueryNodesForPlanResponse) XXX_Unmarshal ¶
func (m *QueryNodesForPlanResponse) XXX_Unmarshal(b []byte) error
type QueryPlanRequest ¶
type QueryPlanRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*QueryPlanRequest) Descriptor ¶
func (*QueryPlanRequest) Descriptor() ([]byte, []int)
func (*QueryPlanRequest) Marshal ¶
func (m *QueryPlanRequest) Marshal() (dAtA []byte, err error)
func (*QueryPlanRequest) MarshalToSizedBuffer ¶
func (m *QueryPlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlanRequest) ProtoMessage ¶
func (*QueryPlanRequest) ProtoMessage()
func (*QueryPlanRequest) Reset ¶
func (m *QueryPlanRequest) Reset()
func (*QueryPlanRequest) Size ¶
func (m *QueryPlanRequest) Size() (n int)
func (*QueryPlanRequest) String ¶
func (m *QueryPlanRequest) String() string
func (*QueryPlanRequest) Unmarshal ¶
func (m *QueryPlanRequest) Unmarshal(dAtA []byte) error
func (*QueryPlanRequest) XXX_DiscardUnknown ¶
func (m *QueryPlanRequest) XXX_DiscardUnknown()
func (*QueryPlanRequest) XXX_Marshal ¶
func (m *QueryPlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlanRequest) XXX_Merge ¶
func (m *QueryPlanRequest) XXX_Merge(src proto.Message)
func (*QueryPlanRequest) XXX_Size ¶
func (m *QueryPlanRequest) XXX_Size() int
func (*QueryPlanRequest) XXX_Unmarshal ¶
func (m *QueryPlanRequest) XXX_Unmarshal(b []byte) error
type QueryPlanResponse ¶
type QueryPlanResponse struct {
Plan Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan"`
}
func (*QueryPlanResponse) Descriptor ¶
func (*QueryPlanResponse) Descriptor() ([]byte, []int)
func (*QueryPlanResponse) Marshal ¶
func (m *QueryPlanResponse) Marshal() (dAtA []byte, err error)
func (*QueryPlanResponse) MarshalTo ¶
func (m *QueryPlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPlanResponse) MarshalToSizedBuffer ¶
func (m *QueryPlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlanResponse) ProtoMessage ¶
func (*QueryPlanResponse) ProtoMessage()
func (*QueryPlanResponse) Reset ¶
func (m *QueryPlanResponse) Reset()
func (*QueryPlanResponse) Size ¶
func (m *QueryPlanResponse) Size() (n int)
func (*QueryPlanResponse) String ¶
func (m *QueryPlanResponse) String() string
func (*QueryPlanResponse) Unmarshal ¶
func (m *QueryPlanResponse) Unmarshal(dAtA []byte) error
func (*QueryPlanResponse) XXX_DiscardUnknown ¶
func (m *QueryPlanResponse) XXX_DiscardUnknown()
func (*QueryPlanResponse) XXX_Marshal ¶
func (m *QueryPlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlanResponse) XXX_Merge ¶
func (m *QueryPlanResponse) XXX_Merge(src proto.Message)
func (*QueryPlanResponse) XXX_Size ¶
func (m *QueryPlanResponse) XXX_Size() int
func (*QueryPlanResponse) XXX_Unmarshal ¶
func (m *QueryPlanResponse) XXX_Unmarshal(b []byte) error
type QueryPlansForProviderRequest ¶
type QueryPlansForProviderRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Status v1.Status `protobuf:"varint,2,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPlansForProviderRequest) Descriptor ¶
func (*QueryPlansForProviderRequest) Descriptor() ([]byte, []int)
func (*QueryPlansForProviderRequest) Marshal ¶
func (m *QueryPlansForProviderRequest) Marshal() (dAtA []byte, err error)
func (*QueryPlansForProviderRequest) MarshalTo ¶
func (m *QueryPlansForProviderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPlansForProviderRequest) MarshalToSizedBuffer ¶
func (m *QueryPlansForProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlansForProviderRequest) ProtoMessage ¶
func (*QueryPlansForProviderRequest) ProtoMessage()
func (*QueryPlansForProviderRequest) Reset ¶
func (m *QueryPlansForProviderRequest) Reset()
func (*QueryPlansForProviderRequest) Size ¶
func (m *QueryPlansForProviderRequest) Size() (n int)
func (*QueryPlansForProviderRequest) String ¶
func (m *QueryPlansForProviderRequest) String() string
func (*QueryPlansForProviderRequest) Unmarshal ¶
func (m *QueryPlansForProviderRequest) Unmarshal(dAtA []byte) error
func (*QueryPlansForProviderRequest) XXX_DiscardUnknown ¶
func (m *QueryPlansForProviderRequest) XXX_DiscardUnknown()
func (*QueryPlansForProviderRequest) XXX_Marshal ¶
func (m *QueryPlansForProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlansForProviderRequest) XXX_Merge ¶
func (m *QueryPlansForProviderRequest) XXX_Merge(src proto.Message)
func (*QueryPlansForProviderRequest) XXX_Size ¶
func (m *QueryPlansForProviderRequest) XXX_Size() int
func (*QueryPlansForProviderRequest) XXX_Unmarshal ¶
func (m *QueryPlansForProviderRequest) XXX_Unmarshal(b []byte) error
type QueryPlansForProviderResponse ¶
type QueryPlansForProviderResponse struct { Plans []Plan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPlansForProviderResponse) Descriptor ¶
func (*QueryPlansForProviderResponse) Descriptor() ([]byte, []int)
func (*QueryPlansForProviderResponse) Marshal ¶
func (m *QueryPlansForProviderResponse) Marshal() (dAtA []byte, err error)
func (*QueryPlansForProviderResponse) MarshalTo ¶
func (m *QueryPlansForProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPlansForProviderResponse) MarshalToSizedBuffer ¶
func (m *QueryPlansForProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlansForProviderResponse) ProtoMessage ¶
func (*QueryPlansForProviderResponse) ProtoMessage()
func (*QueryPlansForProviderResponse) Reset ¶
func (m *QueryPlansForProviderResponse) Reset()
func (*QueryPlansForProviderResponse) Size ¶
func (m *QueryPlansForProviderResponse) Size() (n int)
func (*QueryPlansForProviderResponse) String ¶
func (m *QueryPlansForProviderResponse) String() string
func (*QueryPlansForProviderResponse) Unmarshal ¶
func (m *QueryPlansForProviderResponse) Unmarshal(dAtA []byte) error
func (*QueryPlansForProviderResponse) XXX_DiscardUnknown ¶
func (m *QueryPlansForProviderResponse) XXX_DiscardUnknown()
func (*QueryPlansForProviderResponse) XXX_Marshal ¶
func (m *QueryPlansForProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlansForProviderResponse) XXX_Merge ¶
func (m *QueryPlansForProviderResponse) XXX_Merge(src proto.Message)
func (*QueryPlansForProviderResponse) XXX_Size ¶
func (m *QueryPlansForProviderResponse) XXX_Size() int
func (*QueryPlansForProviderResponse) XXX_Unmarshal ¶
func (m *QueryPlansForProviderResponse) XXX_Unmarshal(b []byte) error
type QueryPlansRequest ¶
type QueryPlansRequest struct { Status v1.Status `protobuf:"varint,1,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPlansRequest) Descriptor ¶
func (*QueryPlansRequest) Descriptor() ([]byte, []int)
func (*QueryPlansRequest) Marshal ¶
func (m *QueryPlansRequest) Marshal() (dAtA []byte, err error)
func (*QueryPlansRequest) MarshalTo ¶
func (m *QueryPlansRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPlansRequest) MarshalToSizedBuffer ¶
func (m *QueryPlansRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlansRequest) ProtoMessage ¶
func (*QueryPlansRequest) ProtoMessage()
func (*QueryPlansRequest) Reset ¶
func (m *QueryPlansRequest) Reset()
func (*QueryPlansRequest) Size ¶
func (m *QueryPlansRequest) Size() (n int)
func (*QueryPlansRequest) String ¶
func (m *QueryPlansRequest) String() string
func (*QueryPlansRequest) Unmarshal ¶
func (m *QueryPlansRequest) Unmarshal(dAtA []byte) error
func (*QueryPlansRequest) XXX_DiscardUnknown ¶
func (m *QueryPlansRequest) XXX_DiscardUnknown()
func (*QueryPlansRequest) XXX_Marshal ¶
func (m *QueryPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlansRequest) XXX_Merge ¶
func (m *QueryPlansRequest) XXX_Merge(src proto.Message)
func (*QueryPlansRequest) XXX_Size ¶
func (m *QueryPlansRequest) XXX_Size() int
func (*QueryPlansRequest) XXX_Unmarshal ¶
func (m *QueryPlansRequest) XXX_Unmarshal(b []byte) error
type QueryPlansResponse ¶
type QueryPlansResponse struct { Plans []Plan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryPlansResponse) Descriptor ¶
func (*QueryPlansResponse) Descriptor() ([]byte, []int)
func (*QueryPlansResponse) Marshal ¶
func (m *QueryPlansResponse) Marshal() (dAtA []byte, err error)
func (*QueryPlansResponse) MarshalTo ¶
func (m *QueryPlansResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPlansResponse) MarshalToSizedBuffer ¶
func (m *QueryPlansResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPlansResponse) ProtoMessage ¶
func (*QueryPlansResponse) ProtoMessage()
func (*QueryPlansResponse) Reset ¶
func (m *QueryPlansResponse) Reset()
func (*QueryPlansResponse) Size ¶
func (m *QueryPlansResponse) Size() (n int)
func (*QueryPlansResponse) String ¶
func (m *QueryPlansResponse) String() string
func (*QueryPlansResponse) Unmarshal ¶
func (m *QueryPlansResponse) Unmarshal(dAtA []byte) error
func (*QueryPlansResponse) XXX_DiscardUnknown ¶
func (m *QueryPlansResponse) XXX_DiscardUnknown()
func (*QueryPlansResponse) XXX_Marshal ¶
func (m *QueryPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPlansResponse) XXX_Merge ¶
func (m *QueryPlansResponse) XXX_Merge(src proto.Message)
func (*QueryPlansResponse) XXX_Size ¶
func (m *QueryPlansResponse) XXX_Size() int
func (*QueryPlansResponse) XXX_Unmarshal ¶
func (m *QueryPlansResponse) XXX_Unmarshal(b []byte) error
type QueryServiceClient ¶
type QueryServiceClient interface { QueryPlans(ctx context.Context, in *QueryPlansRequest, opts ...grpc.CallOption) (*QueryPlansResponse, error) QueryPlansForProvider(ctx context.Context, in *QueryPlansForProviderRequest, opts ...grpc.CallOption) (*QueryPlansForProviderResponse, error) QueryPlan(ctx context.Context, in *QueryPlanRequest, opts ...grpc.CallOption) (*QueryPlanResponse, error) QueryNodesForPlan(ctx context.Context, in *QueryNodesForPlanRequest, opts ...grpc.CallOption) (*QueryNodesForPlanResponse, error) }
QueryServiceClient is the client API for QueryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryServiceClient ¶
func NewQueryServiceClient(cc grpc1.ClientConn) QueryServiceClient
type QueryServiceServer ¶
type QueryServiceServer interface { QueryPlans(context.Context, *QueryPlansRequest) (*QueryPlansResponse, error) QueryPlansForProvider(context.Context, *QueryPlansForProviderRequest) (*QueryPlansForProviderResponse, error) QueryPlan(context.Context, *QueryPlanRequest) (*QueryPlanResponse, error) QueryNodesForPlan(context.Context, *QueryNodesForPlanRequest) (*QueryNodesForPlanResponse, error) }
QueryServiceServer is the server API for QueryService service.
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct { }
UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServiceServer) MsgAdd ¶
func (*UnimplementedMsgServiceServer) MsgAdd(ctx context.Context, req *MsgAddRequest) (*MsgAddResponse, error)
func (*UnimplementedMsgServiceServer) MsgAddNode ¶
func (*UnimplementedMsgServiceServer) MsgAddNode(ctx context.Context, req *MsgAddNodeRequest) (*MsgAddNodeResponse, error)
func (*UnimplementedMsgServiceServer) MsgRemoveNode ¶
func (*UnimplementedMsgServiceServer) MsgRemoveNode(ctx context.Context, req *MsgRemoveNodeRequest) (*MsgRemoveNodeResponse, error)
func (*UnimplementedMsgServiceServer) MsgSetStatus ¶
func (*UnimplementedMsgServiceServer) MsgSetStatus(ctx context.Context, req *MsgSetStatusRequest) (*MsgSetStatusResponse, error)
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServiceServer) QueryNodesForPlan ¶
func (*UnimplementedQueryServiceServer) QueryNodesForPlan(ctx context.Context, req *QueryNodesForPlanRequest) (*QueryNodesForPlanResponse, error)
func (*UnimplementedQueryServiceServer) QueryPlan ¶
func (*UnimplementedQueryServiceServer) QueryPlan(ctx context.Context, req *QueryPlanRequest) (*QueryPlanResponse, error)
func (*UnimplementedQueryServiceServer) QueryPlans ¶
func (*UnimplementedQueryServiceServer) QueryPlans(ctx context.Context, req *QueryPlansRequest) (*QueryPlansResponse, error)
func (*UnimplementedQueryServiceServer) QueryPlansForProvider ¶
func (*UnimplementedQueryServiceServer) QueryPlansForProvider(ctx context.Context, req *QueryPlansForProviderRequest) (*QueryPlansForProviderResponse, error)