Documentation ¶
Overview ¶
Package v3 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)
- func ValidateGenesis(state *GenesisState) error
- type EventCreate
- func (*EventCreate) Descriptor() ([]byte, []int)
- func (m *EventCreate) Marshal() (dAtA []byte, err error)
- func (m *EventCreate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreate) ProtoMessage()
- func (m *EventCreate) Reset()
- func (m *EventCreate) Size() (n int)
- func (m *EventCreate) String() string
- func (m *EventCreate) Unmarshal(dAtA []byte) error
- func (m *EventCreate) XXX_DiscardUnknown()
- func (m *EventCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreate) XXX_Merge(src proto.Message)
- func (m *EventCreate) XXX_Size() int
- func (m *EventCreate) XXX_Unmarshal(b []byte) error
- type EventLinkNode
- func (*EventLinkNode) Descriptor() ([]byte, []int)
- func (m *EventLinkNode) Marshal() (dAtA []byte, err error)
- func (m *EventLinkNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventLinkNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventLinkNode) ProtoMessage()
- func (m *EventLinkNode) Reset()
- func (m *EventLinkNode) Size() (n int)
- func (m *EventLinkNode) String() string
- func (m *EventLinkNode) Unmarshal(dAtA []byte) error
- func (m *EventLinkNode) XXX_DiscardUnknown()
- func (m *EventLinkNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventLinkNode) XXX_Merge(src proto.Message)
- func (m *EventLinkNode) XXX_Size() int
- func (m *EventLinkNode) XXX_Unmarshal(b []byte) error
- type EventUnlinkNode
- func (*EventUnlinkNode) Descriptor() ([]byte, []int)
- func (m *EventUnlinkNode) Marshal() (dAtA []byte, err error)
- func (m *EventUnlinkNode) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUnlinkNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUnlinkNode) ProtoMessage()
- func (m *EventUnlinkNode) Reset()
- func (m *EventUnlinkNode) Size() (n int)
- func (m *EventUnlinkNode) String() string
- func (m *EventUnlinkNode) Unmarshal(dAtA []byte) error
- func (m *EventUnlinkNode) XXX_DiscardUnknown()
- func (m *EventUnlinkNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUnlinkNode) XXX_Merge(src proto.Message)
- func (m *EventUnlinkNode) XXX_Size() int
- func (m *EventUnlinkNode) XXX_Unmarshal(b []byte) error
- type EventUpdate
- func (*EventUpdate) Descriptor() ([]byte, []int)
- func (m *EventUpdate) Marshal() (dAtA []byte, err error)
- func (m *EventUpdate) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdate) ProtoMessage()
- func (m *EventUpdate) Reset()
- func (m *EventUpdate) Size() (n int)
- func (m *EventUpdate) String() string
- func (m *EventUpdate) Unmarshal(dAtA []byte) error
- func (m *EventUpdate) XXX_DiscardUnknown()
- func (m *EventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdate) XXX_Merge(src proto.Message)
- func (m *EventUpdate) XXX_Size() int
- func (m *EventUpdate) 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 GenesisPlans
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgCreatePlanRequest
- func (*MsgCreatePlanRequest) Descriptor() ([]byte, []int)
- func (m *MsgCreatePlanRequest) GetPrices() v1base.Prices
- func (m *MsgCreatePlanRequest) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePlanRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePlanRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePlanRequest) ProtoMessage()
- func (m *MsgCreatePlanRequest) Reset()
- func (m *MsgCreatePlanRequest) Size() (n int)
- func (m *MsgCreatePlanRequest) String() string
- func (m *MsgCreatePlanRequest) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePlanRequest) ValidateBasic() error
- func (m *MsgCreatePlanRequest) XXX_DiscardUnknown()
- func (m *MsgCreatePlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePlanRequest) XXX_Merge(src proto.Message)
- func (m *MsgCreatePlanRequest) XXX_Size() int
- func (m *MsgCreatePlanRequest) XXX_Unmarshal(b []byte) error
- type MsgCreatePlanResponse
- func (*MsgCreatePlanResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePlanResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePlanResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePlanResponse) ProtoMessage()
- func (m *MsgCreatePlanResponse) Reset()
- func (m *MsgCreatePlanResponse) Size() (n int)
- func (m *MsgCreatePlanResponse) String() string
- func (m *MsgCreatePlanResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePlanResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePlanResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePlanResponse) XXX_Size() int
- func (m *MsgCreatePlanResponse) XXX_Unmarshal(b []byte) error
- type MsgLinkNodeRequest
- func (*MsgLinkNodeRequest) Descriptor() ([]byte, []int)
- func (m *MsgLinkNodeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgLinkNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgLinkNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLinkNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLinkNodeRequest) ProtoMessage()
- func (m *MsgLinkNodeRequest) Reset()
- func (m *MsgLinkNodeRequest) Size() (n int)
- func (m *MsgLinkNodeRequest) String() string
- func (m *MsgLinkNodeRequest) Unmarshal(dAtA []byte) error
- func (m *MsgLinkNodeRequest) ValidateBasic() error
- func (m *MsgLinkNodeRequest) XXX_DiscardUnknown()
- func (m *MsgLinkNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLinkNodeRequest) XXX_Merge(src proto.Message)
- func (m *MsgLinkNodeRequest) XXX_Size() int
- func (m *MsgLinkNodeRequest) XXX_Unmarshal(b []byte) error
- type MsgLinkNodeResponse
- func (*MsgLinkNodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgLinkNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLinkNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLinkNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLinkNodeResponse) ProtoMessage()
- func (m *MsgLinkNodeResponse) Reset()
- func (m *MsgLinkNodeResponse) Size() (n int)
- func (m *MsgLinkNodeResponse) String() string
- func (m *MsgLinkNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLinkNodeResponse) XXX_DiscardUnknown()
- func (m *MsgLinkNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLinkNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgLinkNodeResponse) XXX_Size() int
- func (m *MsgLinkNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgServiceClient
- type MsgServiceServer
- type MsgStartSessionRequest
- func (*MsgStartSessionRequest) Descriptor() ([]byte, []int)
- func (m *MsgStartSessionRequest) GetSigners() []sdk.AccAddress
- func (m *MsgStartSessionRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgStartSessionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartSessionRequest) ProtoMessage()
- func (m *MsgStartSessionRequest) Reset()
- func (m *MsgStartSessionRequest) Size() (n int)
- func (m *MsgStartSessionRequest) String() string
- func (m *MsgStartSessionRequest) Unmarshal(dAtA []byte) error
- func (m *MsgStartSessionRequest) ValidateBasic() error
- func (m *MsgStartSessionRequest) XXX_DiscardUnknown()
- func (m *MsgStartSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartSessionRequest) XXX_Merge(src proto.Message)
- func (m *MsgStartSessionRequest) XXX_Size() int
- func (m *MsgStartSessionRequest) XXX_Unmarshal(b []byte) error
- type MsgStartSessionResponse
- func (*MsgStartSessionResponse) Descriptor() ([]byte, []int)
- func (m *MsgStartSessionResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStartSessionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStartSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStartSessionResponse) ProtoMessage()
- func (m *MsgStartSessionResponse) Reset()
- func (m *MsgStartSessionResponse) Size() (n int)
- func (m *MsgStartSessionResponse) String() string
- func (m *MsgStartSessionResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStartSessionResponse) XXX_DiscardUnknown()
- func (m *MsgStartSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStartSessionResponse) XXX_Merge(src proto.Message)
- func (m *MsgStartSessionResponse) XXX_Size() int
- func (m *MsgStartSessionResponse) XXX_Unmarshal(b []byte) error
- type MsgUnlinkNodeRequest
- func (*MsgUnlinkNodeRequest) Descriptor() ([]byte, []int)
- func (m *MsgUnlinkNodeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgUnlinkNodeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlinkNodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlinkNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlinkNodeRequest) ProtoMessage()
- func (m *MsgUnlinkNodeRequest) Reset()
- func (m *MsgUnlinkNodeRequest) Size() (n int)
- func (m *MsgUnlinkNodeRequest) String() string
- func (m *MsgUnlinkNodeRequest) Unmarshal(dAtA []byte) error
- func (m *MsgUnlinkNodeRequest) ValidateBasic() error
- func (m *MsgUnlinkNodeRequest) XXX_DiscardUnknown()
- func (m *MsgUnlinkNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlinkNodeRequest) XXX_Merge(src proto.Message)
- func (m *MsgUnlinkNodeRequest) XXX_Size() int
- func (m *MsgUnlinkNodeRequest) XXX_Unmarshal(b []byte) error
- type MsgUnlinkNodeResponse
- func (*MsgUnlinkNodeResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnlinkNodeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnlinkNodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnlinkNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnlinkNodeResponse) ProtoMessage()
- func (m *MsgUnlinkNodeResponse) Reset()
- func (m *MsgUnlinkNodeResponse) Size() (n int)
- func (m *MsgUnlinkNodeResponse) String() string
- func (m *MsgUnlinkNodeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnlinkNodeResponse) XXX_DiscardUnknown()
- func (m *MsgUnlinkNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnlinkNodeResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnlinkNodeResponse) XXX_Size() int
- func (m *MsgUnlinkNodeResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdatePlanStatusRequest
- func (*MsgUpdatePlanStatusRequest) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePlanStatusRequest) GetSigners() []sdk.AccAddress
- func (m *MsgUpdatePlanStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePlanStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePlanStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePlanStatusRequest) ProtoMessage()
- func (m *MsgUpdatePlanStatusRequest) Reset()
- func (m *MsgUpdatePlanStatusRequest) Size() (n int)
- func (m *MsgUpdatePlanStatusRequest) String() string
- func (m *MsgUpdatePlanStatusRequest) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePlanStatusRequest) ValidateBasic() error
- func (m *MsgUpdatePlanStatusRequest) XXX_DiscardUnknown()
- func (m *MsgUpdatePlanStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePlanStatusRequest) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePlanStatusRequest) XXX_Size() int
- func (m *MsgUpdatePlanStatusRequest) XXX_Unmarshal(b []byte) error
- type MsgUpdatePlanStatusResponse
- func (*MsgUpdatePlanStatusResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdatePlanStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdatePlanStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdatePlanStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdatePlanStatusResponse) ProtoMessage()
- func (m *MsgUpdatePlanStatusResponse) Reset()
- func (m *MsgUpdatePlanStatusResponse) Size() (n int)
- func (m *MsgUpdatePlanStatusResponse) String() string
- func (m *MsgUpdatePlanStatusResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdatePlanStatusResponse) XXX_DiscardUnknown()
- func (m *MsgUpdatePlanStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdatePlanStatusResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdatePlanStatusResponse) XXX_Size() int
- func (m *MsgUpdatePlanStatusResponse) XXX_Unmarshal(b []byte) error
- type Plan
- func (*Plan) Descriptor() ([]byte, []int)
- func (m *Plan) GetBytes() sdkmath.Int
- func (m *Plan) GetDuration() time.Duration
- func (m *Plan) GetPrices() v1base.Prices
- 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 (m *Plan) Price(denom string) (v1base.Price, bool)
- 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) Validate() 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 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) MsgCreatePlan(ctx context.Context, req *MsgCreatePlanRequest) (*MsgCreatePlanResponse, error)
- func (*UnimplementedMsgServiceServer) MsgLinkNode(ctx context.Context, req *MsgLinkNodeRequest) (*MsgLinkNodeResponse, error)
- func (*UnimplementedMsgServiceServer) MsgStartSession(ctx context.Context, req *MsgStartSessionRequest) (*MsgStartSessionResponse, error)
- func (*UnimplementedMsgServiceServer) MsgUnlinkNode(ctx context.Context, req *MsgUnlinkNodeRequest) (*MsgUnlinkNodeResponse, error)
- func (*UnimplementedMsgServiceServer) MsgUpdatePlanStatus(ctx context.Context, req *MsgUpdatePlanStatusRequest) (*MsgUpdatePlanStatusResponse, error)
- type UnimplementedQueryServiceServer
- 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)
func ValidateGenesis ¶
func ValidateGenesis(state *GenesisState) error
Types ¶
type EventCreate ¶
type EventCreate struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProvAddress string `protobuf:"bytes,2,opt,name=prov_address,json=provAddress,proto3" json:"prov_address,omitempty"` Gigabytes int64 `protobuf:"varint,3,opt,name=gigabytes,proto3" json:"gigabytes,omitempty"` Hours int64 `protobuf:"varint,4,opt,name=hours,proto3" json:"hours,omitempty"` Prices string `protobuf:"bytes,5,opt,name=prices,proto3" json:"prices,omitempty"` Private bool `protobuf:"varint,6,opt,name=private,proto3" json:"private,omitempty"` }
func (*EventCreate) Descriptor ¶
func (*EventCreate) Descriptor() ([]byte, []int)
func (*EventCreate) Marshal ¶
func (m *EventCreate) Marshal() (dAtA []byte, err error)
func (*EventCreate) MarshalToSizedBuffer ¶
func (m *EventCreate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreate) ProtoMessage ¶
func (*EventCreate) ProtoMessage()
func (*EventCreate) Reset ¶
func (m *EventCreate) Reset()
func (*EventCreate) Size ¶
func (m *EventCreate) Size() (n int)
func (*EventCreate) String ¶
func (m *EventCreate) String() string
func (*EventCreate) Unmarshal ¶
func (m *EventCreate) Unmarshal(dAtA []byte) error
func (*EventCreate) XXX_DiscardUnknown ¶
func (m *EventCreate) XXX_DiscardUnknown()
func (*EventCreate) XXX_Marshal ¶
func (m *EventCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreate) XXX_Merge ¶
func (m *EventCreate) XXX_Merge(src proto.Message)
func (*EventCreate) XXX_Size ¶
func (m *EventCreate) XXX_Size() int
func (*EventCreate) XXX_Unmarshal ¶
func (m *EventCreate) XXX_Unmarshal(b []byte) error
type EventLinkNode ¶
type EventLinkNode struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProvAddress string `protobuf:"bytes,2,opt,name=prov_address,json=provAddress,proto3" json:"prov_address,omitempty"` NodeAddress string `protobuf:"bytes,3,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` }
func (*EventLinkNode) Descriptor ¶
func (*EventLinkNode) Descriptor() ([]byte, []int)
func (*EventLinkNode) Marshal ¶
func (m *EventLinkNode) Marshal() (dAtA []byte, err error)
func (*EventLinkNode) MarshalToSizedBuffer ¶
func (m *EventLinkNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventLinkNode) ProtoMessage ¶
func (*EventLinkNode) ProtoMessage()
func (*EventLinkNode) Reset ¶
func (m *EventLinkNode) Reset()
func (*EventLinkNode) Size ¶
func (m *EventLinkNode) Size() (n int)
func (*EventLinkNode) String ¶
func (m *EventLinkNode) String() string
func (*EventLinkNode) Unmarshal ¶
func (m *EventLinkNode) Unmarshal(dAtA []byte) error
func (*EventLinkNode) XXX_DiscardUnknown ¶
func (m *EventLinkNode) XXX_DiscardUnknown()
func (*EventLinkNode) XXX_Marshal ¶
func (m *EventLinkNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventLinkNode) XXX_Merge ¶
func (m *EventLinkNode) XXX_Merge(src proto.Message)
func (*EventLinkNode) XXX_Size ¶
func (m *EventLinkNode) XXX_Size() int
func (*EventLinkNode) XXX_Unmarshal ¶
func (m *EventLinkNode) XXX_Unmarshal(b []byte) error
type EventUnlinkNode ¶
type EventUnlinkNode struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProvAddress string `protobuf:"bytes,2,opt,name=prov_address,json=provAddress,proto3" json:"prov_address,omitempty"` NodeAddress string `protobuf:"bytes,3,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` }
func (*EventUnlinkNode) Descriptor ¶
func (*EventUnlinkNode) Descriptor() ([]byte, []int)
func (*EventUnlinkNode) Marshal ¶
func (m *EventUnlinkNode) Marshal() (dAtA []byte, err error)
func (*EventUnlinkNode) MarshalToSizedBuffer ¶
func (m *EventUnlinkNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUnlinkNode) ProtoMessage ¶
func (*EventUnlinkNode) ProtoMessage()
func (*EventUnlinkNode) Reset ¶
func (m *EventUnlinkNode) Reset()
func (*EventUnlinkNode) Size ¶
func (m *EventUnlinkNode) Size() (n int)
func (*EventUnlinkNode) String ¶
func (m *EventUnlinkNode) String() string
func (*EventUnlinkNode) Unmarshal ¶
func (m *EventUnlinkNode) Unmarshal(dAtA []byte) error
func (*EventUnlinkNode) XXX_DiscardUnknown ¶
func (m *EventUnlinkNode) XXX_DiscardUnknown()
func (*EventUnlinkNode) XXX_Marshal ¶
func (m *EventUnlinkNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUnlinkNode) XXX_Merge ¶
func (m *EventUnlinkNode) XXX_Merge(src proto.Message)
func (*EventUnlinkNode) XXX_Size ¶
func (m *EventUnlinkNode) XXX_Size() int
func (*EventUnlinkNode) XXX_Unmarshal ¶
func (m *EventUnlinkNode) XXX_Unmarshal(b []byte) error
type EventUpdate ¶
type EventUpdate struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProvAddress string `protobuf:"bytes,2,opt,name=prov_address,json=provAddress,proto3" json:"prov_address,omitempty"` Status v1.Status `protobuf:"varint,3,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` }
func (*EventUpdate) Descriptor ¶
func (*EventUpdate) Descriptor() ([]byte, []int)
func (*EventUpdate) Marshal ¶
func (m *EventUpdate) Marshal() (dAtA []byte, err error)
func (*EventUpdate) MarshalToSizedBuffer ¶
func (m *EventUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdate) ProtoMessage ¶
func (*EventUpdate) ProtoMessage()
func (*EventUpdate) Reset ¶
func (m *EventUpdate) Reset()
func (*EventUpdate) Size ¶
func (m *EventUpdate) Size() (n int)
func (*EventUpdate) String ¶
func (m *EventUpdate) String() string
func (*EventUpdate) Unmarshal ¶
func (m *EventUpdate) Unmarshal(dAtA []byte) error
func (*EventUpdate) XXX_DiscardUnknown ¶
func (m *EventUpdate) XXX_DiscardUnknown()
func (*EventUpdate) XXX_Marshal ¶
func (m *EventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdate) XXX_Merge ¶
func (m *EventUpdate) XXX_Merge(src proto.Message)
func (*EventUpdate) XXX_Size ¶
func (m *EventUpdate) XXX_Size() int
func (*EventUpdate) XXX_Unmarshal ¶
func (m *EventUpdate) XXX_Unmarshal(b []byte) error
type GenesisPlan ¶
type GenesisPlan struct { Plan Plan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan"` 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 GenesisPlans ¶
type GenesisPlans []GenesisPlan
type GenesisState ¶
type GenesisState struct {
Plans []GenesisPlan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans" yaml:"plans"`
}
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
func NewGenesisState ¶
func NewGenesisState(plans GenesisPlans) *GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgCreatePlanRequest ¶
type MsgCreatePlanRequest struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` Gigabytes int64 `protobuf:"varint,2,opt,name=gigabytes,proto3" json:"gigabytes,omitempty"` Hours int64 `protobuf:"varint,3,opt,name=hours,proto3" json:"hours,omitempty"` Prices []v1.Price `protobuf:"bytes,4,rep,name=prices,proto3" json:"prices"` Private bool `protobuf:"varint,5,opt,name=private,proto3" json:"private,omitempty"` }
func NewMsgCreatePlanRequest ¶
func NewMsgCreatePlanRequest(from base.ProvAddress, gigabytes, hours int64, prices v1base.Prices, private bool) *MsgCreatePlanRequest
func (*MsgCreatePlanRequest) Descriptor ¶
func (*MsgCreatePlanRequest) Descriptor() ([]byte, []int)
func (*MsgCreatePlanRequest) GetPrices ¶
func (m *MsgCreatePlanRequest) GetPrices() v1base.Prices
func (*MsgCreatePlanRequest) GetSigners ¶
func (m *MsgCreatePlanRequest) GetSigners() []sdk.AccAddress
func (*MsgCreatePlanRequest) Marshal ¶
func (m *MsgCreatePlanRequest) Marshal() (dAtA []byte, err error)
func (*MsgCreatePlanRequest) MarshalTo ¶
func (m *MsgCreatePlanRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePlanRequest) MarshalToSizedBuffer ¶
func (m *MsgCreatePlanRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePlanRequest) ProtoMessage ¶
func (*MsgCreatePlanRequest) ProtoMessage()
func (*MsgCreatePlanRequest) Reset ¶
func (m *MsgCreatePlanRequest) Reset()
func (*MsgCreatePlanRequest) Size ¶
func (m *MsgCreatePlanRequest) Size() (n int)
func (*MsgCreatePlanRequest) String ¶
func (m *MsgCreatePlanRequest) String() string
func (*MsgCreatePlanRequest) Unmarshal ¶
func (m *MsgCreatePlanRequest) Unmarshal(dAtA []byte) error
func (*MsgCreatePlanRequest) ValidateBasic ¶
func (m *MsgCreatePlanRequest) ValidateBasic() error
func (*MsgCreatePlanRequest) XXX_DiscardUnknown ¶
func (m *MsgCreatePlanRequest) XXX_DiscardUnknown()
func (*MsgCreatePlanRequest) XXX_Marshal ¶
func (m *MsgCreatePlanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePlanRequest) XXX_Merge ¶
func (m *MsgCreatePlanRequest) XXX_Merge(src proto.Message)
func (*MsgCreatePlanRequest) XXX_Size ¶
func (m *MsgCreatePlanRequest) XXX_Size() int
func (*MsgCreatePlanRequest) XXX_Unmarshal ¶
func (m *MsgCreatePlanRequest) XXX_Unmarshal(b []byte) error
type MsgCreatePlanResponse ¶
type MsgCreatePlanResponse struct {
ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCreatePlanResponse) Descriptor ¶
func (*MsgCreatePlanResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePlanResponse) Marshal ¶
func (m *MsgCreatePlanResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePlanResponse) MarshalTo ¶
func (m *MsgCreatePlanResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePlanResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePlanResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePlanResponse) ProtoMessage ¶
func (*MsgCreatePlanResponse) ProtoMessage()
func (*MsgCreatePlanResponse) Reset ¶
func (m *MsgCreatePlanResponse) Reset()
func (*MsgCreatePlanResponse) Size ¶
func (m *MsgCreatePlanResponse) Size() (n int)
func (*MsgCreatePlanResponse) String ¶
func (m *MsgCreatePlanResponse) String() string
func (*MsgCreatePlanResponse) Unmarshal ¶
func (m *MsgCreatePlanResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePlanResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePlanResponse) XXX_DiscardUnknown()
func (*MsgCreatePlanResponse) XXX_Marshal ¶
func (m *MsgCreatePlanResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePlanResponse) XXX_Merge ¶
func (m *MsgCreatePlanResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePlanResponse) XXX_Size ¶
func (m *MsgCreatePlanResponse) XXX_Size() int
func (*MsgCreatePlanResponse) XXX_Unmarshal ¶
func (m *MsgCreatePlanResponse) XXX_Unmarshal(b []byte) error
type MsgLinkNodeRequest ¶
type MsgLinkNodeRequest 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"` NodeAddress string `protobuf:"bytes,3,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` }
func NewMsgLinkNodeRequest ¶
func NewMsgLinkNodeRequest(from base.ProvAddress, id uint64, addr base.NodeAddress) *MsgLinkNodeRequest
func (*MsgLinkNodeRequest) Descriptor ¶
func (*MsgLinkNodeRequest) Descriptor() ([]byte, []int)
func (*MsgLinkNodeRequest) GetSigners ¶
func (m *MsgLinkNodeRequest) GetSigners() []sdk.AccAddress
func (*MsgLinkNodeRequest) Marshal ¶
func (m *MsgLinkNodeRequest) Marshal() (dAtA []byte, err error)
func (*MsgLinkNodeRequest) MarshalTo ¶
func (m *MsgLinkNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgLinkNodeRequest) MarshalToSizedBuffer ¶
func (m *MsgLinkNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLinkNodeRequest) ProtoMessage ¶
func (*MsgLinkNodeRequest) ProtoMessage()
func (*MsgLinkNodeRequest) Reset ¶
func (m *MsgLinkNodeRequest) Reset()
func (*MsgLinkNodeRequest) Size ¶
func (m *MsgLinkNodeRequest) Size() (n int)
func (*MsgLinkNodeRequest) String ¶
func (m *MsgLinkNodeRequest) String() string
func (*MsgLinkNodeRequest) Unmarshal ¶
func (m *MsgLinkNodeRequest) Unmarshal(dAtA []byte) error
func (*MsgLinkNodeRequest) ValidateBasic ¶
func (m *MsgLinkNodeRequest) ValidateBasic() error
func (*MsgLinkNodeRequest) XXX_DiscardUnknown ¶
func (m *MsgLinkNodeRequest) XXX_DiscardUnknown()
func (*MsgLinkNodeRequest) XXX_Marshal ¶
func (m *MsgLinkNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLinkNodeRequest) XXX_Merge ¶
func (m *MsgLinkNodeRequest) XXX_Merge(src proto.Message)
func (*MsgLinkNodeRequest) XXX_Size ¶
func (m *MsgLinkNodeRequest) XXX_Size() int
func (*MsgLinkNodeRequest) XXX_Unmarshal ¶
func (m *MsgLinkNodeRequest) XXX_Unmarshal(b []byte) error
type MsgLinkNodeResponse ¶
type MsgLinkNodeResponse struct { }
func (*MsgLinkNodeResponse) Descriptor ¶
func (*MsgLinkNodeResponse) Descriptor() ([]byte, []int)
func (*MsgLinkNodeResponse) Marshal ¶
func (m *MsgLinkNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgLinkNodeResponse) MarshalTo ¶
func (m *MsgLinkNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLinkNodeResponse) MarshalToSizedBuffer ¶
func (m *MsgLinkNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLinkNodeResponse) ProtoMessage ¶
func (*MsgLinkNodeResponse) ProtoMessage()
func (*MsgLinkNodeResponse) Reset ¶
func (m *MsgLinkNodeResponse) Reset()
func (*MsgLinkNodeResponse) Size ¶
func (m *MsgLinkNodeResponse) Size() (n int)
func (*MsgLinkNodeResponse) String ¶
func (m *MsgLinkNodeResponse) String() string
func (*MsgLinkNodeResponse) Unmarshal ¶
func (m *MsgLinkNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgLinkNodeResponse) XXX_DiscardUnknown ¶
func (m *MsgLinkNodeResponse) XXX_DiscardUnknown()
func (*MsgLinkNodeResponse) XXX_Marshal ¶
func (m *MsgLinkNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLinkNodeResponse) XXX_Merge ¶
func (m *MsgLinkNodeResponse) XXX_Merge(src proto.Message)
func (*MsgLinkNodeResponse) XXX_Size ¶
func (m *MsgLinkNodeResponse) XXX_Size() int
func (*MsgLinkNodeResponse) XXX_Unmarshal ¶
func (m *MsgLinkNodeResponse) XXX_Unmarshal(b []byte) error
type MsgServiceClient ¶
type MsgServiceClient interface { MsgCreatePlan(ctx context.Context, in *MsgCreatePlanRequest, opts ...grpc.CallOption) (*MsgCreatePlanResponse, error) MsgLinkNode(ctx context.Context, in *MsgLinkNodeRequest, opts ...grpc.CallOption) (*MsgLinkNodeResponse, error) MsgUnlinkNode(ctx context.Context, in *MsgUnlinkNodeRequest, opts ...grpc.CallOption) (*MsgUnlinkNodeResponse, error) MsgUpdatePlanStatus(ctx context.Context, in *MsgUpdatePlanStatusRequest, opts ...grpc.CallOption) (*MsgUpdatePlanStatusResponse, error) MsgStartSession(ctx context.Context, in *MsgStartSessionRequest, opts ...grpc.CallOption) (*MsgStartSessionResponse, 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 { MsgCreatePlan(context.Context, *MsgCreatePlanRequest) (*MsgCreatePlanResponse, error) MsgLinkNode(context.Context, *MsgLinkNodeRequest) (*MsgLinkNodeResponse, error) MsgUnlinkNode(context.Context, *MsgUnlinkNodeRequest) (*MsgUnlinkNodeResponse, error) MsgUpdatePlanStatus(context.Context, *MsgUpdatePlanStatusRequest) (*MsgUpdatePlanStatusResponse, error) MsgStartSession(context.Context, *MsgStartSessionRequest) (*MsgStartSessionResponse, error) }
MsgServiceServer is the server API for MsgService service.
type MsgStartSessionRequest ¶
type MsgStartSessionRequest 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"` Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"` RenewalPricePolicy v1.RenewalPricePolicy `` /* 160-byte string literal not displayed */ NodeAddress string `protobuf:"bytes,5,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` }
func NewMsgStartSessionRequest ¶
func NewMsgStartSessionRequest(from sdk.AccAddress, id uint64, denom string, renewalPricePolicy v1base.RenewalPricePolicy, nodeAddr base.NodeAddress) *MsgStartSessionRequest
func (*MsgStartSessionRequest) Descriptor ¶
func (*MsgStartSessionRequest) Descriptor() ([]byte, []int)
func (*MsgStartSessionRequest) GetSigners ¶
func (m *MsgStartSessionRequest) GetSigners() []sdk.AccAddress
func (*MsgStartSessionRequest) Marshal ¶
func (m *MsgStartSessionRequest) Marshal() (dAtA []byte, err error)
func (*MsgStartSessionRequest) MarshalTo ¶
func (m *MsgStartSessionRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgStartSessionRequest) MarshalToSizedBuffer ¶
func (m *MsgStartSessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartSessionRequest) ProtoMessage ¶
func (*MsgStartSessionRequest) ProtoMessage()
func (*MsgStartSessionRequest) Reset ¶
func (m *MsgStartSessionRequest) Reset()
func (*MsgStartSessionRequest) Size ¶
func (m *MsgStartSessionRequest) Size() (n int)
func (*MsgStartSessionRequest) String ¶
func (m *MsgStartSessionRequest) String() string
func (*MsgStartSessionRequest) Unmarshal ¶
func (m *MsgStartSessionRequest) Unmarshal(dAtA []byte) error
func (*MsgStartSessionRequest) ValidateBasic ¶
func (m *MsgStartSessionRequest) ValidateBasic() error
func (*MsgStartSessionRequest) XXX_DiscardUnknown ¶
func (m *MsgStartSessionRequest) XXX_DiscardUnknown()
func (*MsgStartSessionRequest) XXX_Marshal ¶
func (m *MsgStartSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartSessionRequest) XXX_Merge ¶
func (m *MsgStartSessionRequest) XXX_Merge(src proto.Message)
func (*MsgStartSessionRequest) XXX_Size ¶
func (m *MsgStartSessionRequest) XXX_Size() int
func (*MsgStartSessionRequest) XXX_Unmarshal ¶
func (m *MsgStartSessionRequest) XXX_Unmarshal(b []byte) error
type MsgStartSessionResponse ¶
type MsgStartSessionResponse struct {
ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgStartSessionResponse) Descriptor ¶
func (*MsgStartSessionResponse) Descriptor() ([]byte, []int)
func (*MsgStartSessionResponse) Marshal ¶
func (m *MsgStartSessionResponse) Marshal() (dAtA []byte, err error)
func (*MsgStartSessionResponse) MarshalTo ¶
func (m *MsgStartSessionResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStartSessionResponse) MarshalToSizedBuffer ¶
func (m *MsgStartSessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStartSessionResponse) ProtoMessage ¶
func (*MsgStartSessionResponse) ProtoMessage()
func (*MsgStartSessionResponse) Reset ¶
func (m *MsgStartSessionResponse) Reset()
func (*MsgStartSessionResponse) Size ¶
func (m *MsgStartSessionResponse) Size() (n int)
func (*MsgStartSessionResponse) String ¶
func (m *MsgStartSessionResponse) String() string
func (*MsgStartSessionResponse) Unmarshal ¶
func (m *MsgStartSessionResponse) Unmarshal(dAtA []byte) error
func (*MsgStartSessionResponse) XXX_DiscardUnknown ¶
func (m *MsgStartSessionResponse) XXX_DiscardUnknown()
func (*MsgStartSessionResponse) XXX_Marshal ¶
func (m *MsgStartSessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStartSessionResponse) XXX_Merge ¶
func (m *MsgStartSessionResponse) XXX_Merge(src proto.Message)
func (*MsgStartSessionResponse) XXX_Size ¶
func (m *MsgStartSessionResponse) XXX_Size() int
func (*MsgStartSessionResponse) XXX_Unmarshal ¶
func (m *MsgStartSessionResponse) XXX_Unmarshal(b []byte) error
type MsgUnlinkNodeRequest ¶
type MsgUnlinkNodeRequest 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"` NodeAddress string `protobuf:"bytes,3,opt,name=node_address,json=nodeAddress,proto3" json:"node_address,omitempty"` }
func NewMsgUnlinkNodeRequest ¶
func NewMsgUnlinkNodeRequest(from base.ProvAddress, id uint64, addr base.NodeAddress) *MsgUnlinkNodeRequest
func (*MsgUnlinkNodeRequest) Descriptor ¶
func (*MsgUnlinkNodeRequest) Descriptor() ([]byte, []int)
func (*MsgUnlinkNodeRequest) GetSigners ¶
func (m *MsgUnlinkNodeRequest) GetSigners() []sdk.AccAddress
func (*MsgUnlinkNodeRequest) Marshal ¶
func (m *MsgUnlinkNodeRequest) Marshal() (dAtA []byte, err error)
func (*MsgUnlinkNodeRequest) MarshalTo ¶
func (m *MsgUnlinkNodeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnlinkNodeRequest) MarshalToSizedBuffer ¶
func (m *MsgUnlinkNodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlinkNodeRequest) ProtoMessage ¶
func (*MsgUnlinkNodeRequest) ProtoMessage()
func (*MsgUnlinkNodeRequest) Reset ¶
func (m *MsgUnlinkNodeRequest) Reset()
func (*MsgUnlinkNodeRequest) Size ¶
func (m *MsgUnlinkNodeRequest) Size() (n int)
func (*MsgUnlinkNodeRequest) String ¶
func (m *MsgUnlinkNodeRequest) String() string
func (*MsgUnlinkNodeRequest) Unmarshal ¶
func (m *MsgUnlinkNodeRequest) Unmarshal(dAtA []byte) error
func (*MsgUnlinkNodeRequest) ValidateBasic ¶
func (m *MsgUnlinkNodeRequest) ValidateBasic() error
func (*MsgUnlinkNodeRequest) XXX_DiscardUnknown ¶
func (m *MsgUnlinkNodeRequest) XXX_DiscardUnknown()
func (*MsgUnlinkNodeRequest) XXX_Marshal ¶
func (m *MsgUnlinkNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlinkNodeRequest) XXX_Merge ¶
func (m *MsgUnlinkNodeRequest) XXX_Merge(src proto.Message)
func (*MsgUnlinkNodeRequest) XXX_Size ¶
func (m *MsgUnlinkNodeRequest) XXX_Size() int
func (*MsgUnlinkNodeRequest) XXX_Unmarshal ¶
func (m *MsgUnlinkNodeRequest) XXX_Unmarshal(b []byte) error
type MsgUnlinkNodeResponse ¶
type MsgUnlinkNodeResponse struct { }
func (*MsgUnlinkNodeResponse) Descriptor ¶
func (*MsgUnlinkNodeResponse) Descriptor() ([]byte, []int)
func (*MsgUnlinkNodeResponse) Marshal ¶
func (m *MsgUnlinkNodeResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnlinkNodeResponse) MarshalTo ¶
func (m *MsgUnlinkNodeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnlinkNodeResponse) MarshalToSizedBuffer ¶
func (m *MsgUnlinkNodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnlinkNodeResponse) ProtoMessage ¶
func (*MsgUnlinkNodeResponse) ProtoMessage()
func (*MsgUnlinkNodeResponse) Reset ¶
func (m *MsgUnlinkNodeResponse) Reset()
func (*MsgUnlinkNodeResponse) Size ¶
func (m *MsgUnlinkNodeResponse) Size() (n int)
func (*MsgUnlinkNodeResponse) String ¶
func (m *MsgUnlinkNodeResponse) String() string
func (*MsgUnlinkNodeResponse) Unmarshal ¶
func (m *MsgUnlinkNodeResponse) Unmarshal(dAtA []byte) error
func (*MsgUnlinkNodeResponse) XXX_DiscardUnknown ¶
func (m *MsgUnlinkNodeResponse) XXX_DiscardUnknown()
func (*MsgUnlinkNodeResponse) XXX_Marshal ¶
func (m *MsgUnlinkNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnlinkNodeResponse) XXX_Merge ¶
func (m *MsgUnlinkNodeResponse) XXX_Merge(src proto.Message)
func (*MsgUnlinkNodeResponse) XXX_Size ¶
func (m *MsgUnlinkNodeResponse) XXX_Size() int
func (*MsgUnlinkNodeResponse) XXX_Unmarshal ¶
func (m *MsgUnlinkNodeResponse) XXX_Unmarshal(b []byte) error
type MsgUpdatePlanStatusRequest ¶
type MsgUpdatePlanStatusRequest 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 NewMsgUpdatePlanStatusRequest ¶
func NewMsgUpdatePlanStatusRequest(from base.ProvAddress, id uint64, status v1base.Status) *MsgUpdatePlanStatusRequest
func (*MsgUpdatePlanStatusRequest) Descriptor ¶
func (*MsgUpdatePlanStatusRequest) Descriptor() ([]byte, []int)
func (*MsgUpdatePlanStatusRequest) GetSigners ¶
func (m *MsgUpdatePlanStatusRequest) GetSigners() []sdk.AccAddress
func (*MsgUpdatePlanStatusRequest) Marshal ¶
func (m *MsgUpdatePlanStatusRequest) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePlanStatusRequest) MarshalTo ¶
func (m *MsgUpdatePlanStatusRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePlanStatusRequest) MarshalToSizedBuffer ¶
func (m *MsgUpdatePlanStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePlanStatusRequest) ProtoMessage ¶
func (*MsgUpdatePlanStatusRequest) ProtoMessage()
func (*MsgUpdatePlanStatusRequest) Reset ¶
func (m *MsgUpdatePlanStatusRequest) Reset()
func (*MsgUpdatePlanStatusRequest) Size ¶
func (m *MsgUpdatePlanStatusRequest) Size() (n int)
func (*MsgUpdatePlanStatusRequest) String ¶
func (m *MsgUpdatePlanStatusRequest) String() string
func (*MsgUpdatePlanStatusRequest) Unmarshal ¶
func (m *MsgUpdatePlanStatusRequest) Unmarshal(dAtA []byte) error
func (*MsgUpdatePlanStatusRequest) ValidateBasic ¶
func (m *MsgUpdatePlanStatusRequest) ValidateBasic() error
func (*MsgUpdatePlanStatusRequest) XXX_DiscardUnknown ¶
func (m *MsgUpdatePlanStatusRequest) XXX_DiscardUnknown()
func (*MsgUpdatePlanStatusRequest) XXX_Marshal ¶
func (m *MsgUpdatePlanStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePlanStatusRequest) XXX_Merge ¶
func (m *MsgUpdatePlanStatusRequest) XXX_Merge(src proto.Message)
func (*MsgUpdatePlanStatusRequest) XXX_Size ¶
func (m *MsgUpdatePlanStatusRequest) XXX_Size() int
func (*MsgUpdatePlanStatusRequest) XXX_Unmarshal ¶
func (m *MsgUpdatePlanStatusRequest) XXX_Unmarshal(b []byte) error
type MsgUpdatePlanStatusResponse ¶
type MsgUpdatePlanStatusResponse struct { }
func (*MsgUpdatePlanStatusResponse) Descriptor ¶
func (*MsgUpdatePlanStatusResponse) Descriptor() ([]byte, []int)
func (*MsgUpdatePlanStatusResponse) Marshal ¶
func (m *MsgUpdatePlanStatusResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdatePlanStatusResponse) MarshalTo ¶
func (m *MsgUpdatePlanStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdatePlanStatusResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdatePlanStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdatePlanStatusResponse) ProtoMessage ¶
func (*MsgUpdatePlanStatusResponse) ProtoMessage()
func (*MsgUpdatePlanStatusResponse) Reset ¶
func (m *MsgUpdatePlanStatusResponse) Reset()
func (*MsgUpdatePlanStatusResponse) Size ¶
func (m *MsgUpdatePlanStatusResponse) Size() (n int)
func (*MsgUpdatePlanStatusResponse) String ¶
func (m *MsgUpdatePlanStatusResponse) String() string
func (*MsgUpdatePlanStatusResponse) Unmarshal ¶
func (m *MsgUpdatePlanStatusResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdatePlanStatusResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdatePlanStatusResponse) XXX_DiscardUnknown()
func (*MsgUpdatePlanStatusResponse) XXX_Marshal ¶
func (m *MsgUpdatePlanStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdatePlanStatusResponse) XXX_Merge ¶
func (m *MsgUpdatePlanStatusResponse) XXX_Merge(src proto.Message)
func (*MsgUpdatePlanStatusResponse) XXX_Size ¶
func (m *MsgUpdatePlanStatusResponse) XXX_Size() int
func (*MsgUpdatePlanStatusResponse) XXX_Unmarshal ¶
func (m *MsgUpdatePlanStatusResponse) XXX_Unmarshal(b []byte) error
type Plan ¶
type Plan struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProvAddress string `protobuf:"bytes,2,opt,name=prov_address,json=provAddress,proto3" json:"prov_address,omitempty"` Gigabytes int64 `protobuf:"varint,3,opt,name=gigabytes,proto3" json:"gigabytes,omitempty"` Hours int64 `protobuf:"varint,4,opt,name=hours,proto3" json:"hours,omitempty"` Prices []v1.Price `protobuf:"bytes,5,rep,name=prices,proto3" json:"prices"` Private bool `protobuf:"varint,6,opt,name=private,proto3" json:"private,omitempty"` Status v1.Status `protobuf:"varint,7,opt,name=status,proto3,enum=sentinel.types.v1.Status" json:"status,omitempty"` StatusAt time.Time `protobuf:"bytes,8,opt,name=status_at,json=statusAt,proto3,stdtime" json:"status_at"` }
func (*Plan) Descriptor ¶
func (*Plan) GetDuration ¶
func (*Plan) ProtoMessage ¶
func (*Plan) ProtoMessage()
func (*Plan) XXX_DiscardUnknown ¶
func (m *Plan) XXX_DiscardUnknown()
func (*Plan) XXX_Unmarshal ¶
type QueryPlanRequest ¶
type QueryPlanRequest struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func NewQueryPlanRequest ¶
func NewQueryPlanRequest(id uint64) *QueryPlanRequest
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 NewQueryPlansForProviderRequest ¶
func NewQueryPlansForProviderRequest(addr base.ProvAddress, status v1base.Status, pagination *sdkquery.PageRequest) *QueryPlansForProviderRequest
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 NewQueryPlansRequest ¶
func NewQueryPlansRequest(status v1base.Status, pagination *sdkquery.PageRequest) *QueryPlansRequest
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) }
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) }
QueryServiceServer is the server API for QueryService service.
type UnimplementedMsgServiceServer ¶
type UnimplementedMsgServiceServer struct { }
UnimplementedMsgServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServiceServer) MsgCreatePlan ¶
func (*UnimplementedMsgServiceServer) MsgCreatePlan(ctx context.Context, req *MsgCreatePlanRequest) (*MsgCreatePlanResponse, error)
func (*UnimplementedMsgServiceServer) MsgLinkNode ¶
func (*UnimplementedMsgServiceServer) MsgLinkNode(ctx context.Context, req *MsgLinkNodeRequest) (*MsgLinkNodeResponse, error)
func (*UnimplementedMsgServiceServer) MsgStartSession ¶
func (*UnimplementedMsgServiceServer) MsgStartSession(ctx context.Context, req *MsgStartSessionRequest) (*MsgStartSessionResponse, error)
func (*UnimplementedMsgServiceServer) MsgUnlinkNode ¶
func (*UnimplementedMsgServiceServer) MsgUnlinkNode(ctx context.Context, req *MsgUnlinkNodeRequest) (*MsgUnlinkNodeResponse, error)
func (*UnimplementedMsgServiceServer) MsgUpdatePlanStatus ¶
func (*UnimplementedMsgServiceServer) MsgUpdatePlanStatus(ctx context.Context, req *MsgUpdatePlanStatusRequest) (*MsgUpdatePlanStatusResponse, error)
type UnimplementedQueryServiceServer ¶
type UnimplementedQueryServiceServer struct { }
UnimplementedQueryServiceServer can be embedded to have forward compatible implementations.
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)