Documentation ¶
Index ¶
- Variables
- func RegisterAPIServer(s *grpc.Server, srv APIServer)
- type APIClient
- type APIServer
- type API_ArchiveWatchClient
- type API_ArchiveWatchServer
- type API_PullPathClient
- type API_PullPathServer
- type API_PushPathClient
- type API_PushPathServer
- type ArchiveInfoReply
- func (*ArchiveInfoReply) Descriptor() ([]byte, []int)
- func (m *ArchiveInfoReply) GetArchive() *ArchiveInfoReply_Archive
- func (m *ArchiveInfoReply) GetKey() string
- func (*ArchiveInfoReply) ProtoMessage()
- func (m *ArchiveInfoReply) Reset()
- func (m *ArchiveInfoReply) String() string
- func (m *ArchiveInfoReply) XXX_DiscardUnknown()
- func (m *ArchiveInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveInfoReply) XXX_Merge(src proto.Message)
- func (m *ArchiveInfoReply) XXX_Size() int
- func (m *ArchiveInfoReply) XXX_Unmarshal(b []byte) error
- type ArchiveInfoReply_Archive
- func (*ArchiveInfoReply_Archive) Descriptor() ([]byte, []int)
- func (m *ArchiveInfoReply_Archive) GetCid() string
- func (m *ArchiveInfoReply_Archive) GetDeals() []*ArchiveInfoReply_Archive_Deal
- func (*ArchiveInfoReply_Archive) ProtoMessage()
- func (m *ArchiveInfoReply_Archive) Reset()
- func (m *ArchiveInfoReply_Archive) String() string
- func (m *ArchiveInfoReply_Archive) XXX_DiscardUnknown()
- func (m *ArchiveInfoReply_Archive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveInfoReply_Archive) XXX_Merge(src proto.Message)
- func (m *ArchiveInfoReply_Archive) XXX_Size() int
- func (m *ArchiveInfoReply_Archive) XXX_Unmarshal(b []byte) error
- type ArchiveInfoReply_Archive_Deal
- func (*ArchiveInfoReply_Archive_Deal) Descriptor() ([]byte, []int)
- func (m *ArchiveInfoReply_Archive_Deal) GetMiner() string
- func (m *ArchiveInfoReply_Archive_Deal) GetProposalCid() string
- func (*ArchiveInfoReply_Archive_Deal) ProtoMessage()
- func (m *ArchiveInfoReply_Archive_Deal) Reset()
- func (m *ArchiveInfoReply_Archive_Deal) String() string
- func (m *ArchiveInfoReply_Archive_Deal) XXX_DiscardUnknown()
- func (m *ArchiveInfoReply_Archive_Deal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveInfoReply_Archive_Deal) XXX_Merge(src proto.Message)
- func (m *ArchiveInfoReply_Archive_Deal) XXX_Size() int
- func (m *ArchiveInfoReply_Archive_Deal) XXX_Unmarshal(b []byte) error
- type ArchiveInfoRequest
- func (*ArchiveInfoRequest) Descriptor() ([]byte, []int)
- func (m *ArchiveInfoRequest) GetKey() string
- func (*ArchiveInfoRequest) ProtoMessage()
- func (m *ArchiveInfoRequest) Reset()
- func (m *ArchiveInfoRequest) String() string
- func (m *ArchiveInfoRequest) XXX_DiscardUnknown()
- func (m *ArchiveInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveInfoRequest) XXX_Merge(src proto.Message)
- func (m *ArchiveInfoRequest) XXX_Size() int
- func (m *ArchiveInfoRequest) XXX_Unmarshal(b []byte) error
- type ArchiveReply
- func (*ArchiveReply) Descriptor() ([]byte, []int)
- func (*ArchiveReply) ProtoMessage()
- func (m *ArchiveReply) Reset()
- func (m *ArchiveReply) String() string
- func (m *ArchiveReply) XXX_DiscardUnknown()
- func (m *ArchiveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveReply) XXX_Merge(src proto.Message)
- func (m *ArchiveReply) XXX_Size() int
- func (m *ArchiveReply) XXX_Unmarshal(b []byte) error
- type ArchiveRequest
- func (*ArchiveRequest) Descriptor() ([]byte, []int)
- func (m *ArchiveRequest) GetKey() string
- func (*ArchiveRequest) ProtoMessage()
- func (m *ArchiveRequest) Reset()
- func (m *ArchiveRequest) String() string
- func (m *ArchiveRequest) XXX_DiscardUnknown()
- func (m *ArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveRequest) XXX_Merge(src proto.Message)
- func (m *ArchiveRequest) XXX_Size() int
- func (m *ArchiveRequest) XXX_Unmarshal(b []byte) error
- type ArchiveStatusReply
- func (*ArchiveStatusReply) Descriptor() ([]byte, []int)
- func (m *ArchiveStatusReply) GetFailedMsg() string
- func (m *ArchiveStatusReply) GetKey() string
- func (m *ArchiveStatusReply) GetStatus() ArchiveStatusReply_Status
- func (*ArchiveStatusReply) ProtoMessage()
- func (m *ArchiveStatusReply) Reset()
- func (m *ArchiveStatusReply) String() string
- func (m *ArchiveStatusReply) XXX_DiscardUnknown()
- func (m *ArchiveStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveStatusReply) XXX_Merge(src proto.Message)
- func (m *ArchiveStatusReply) XXX_Size() int
- func (m *ArchiveStatusReply) XXX_Unmarshal(b []byte) error
- type ArchiveStatusReply_Status
- type ArchiveStatusRequest
- func (*ArchiveStatusRequest) Descriptor() ([]byte, []int)
- func (m *ArchiveStatusRequest) GetKey() string
- func (*ArchiveStatusRequest) ProtoMessage()
- func (m *ArchiveStatusRequest) Reset()
- func (m *ArchiveStatusRequest) String() string
- func (m *ArchiveStatusRequest) XXX_DiscardUnknown()
- func (m *ArchiveStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveStatusRequest) XXX_Merge(src proto.Message)
- func (m *ArchiveStatusRequest) XXX_Size() int
- func (m *ArchiveStatusRequest) XXX_Unmarshal(b []byte) error
- type ArchiveWatchReply
- func (*ArchiveWatchReply) Descriptor() ([]byte, []int)
- func (m *ArchiveWatchReply) GetMsg() string
- func (*ArchiveWatchReply) ProtoMessage()
- func (m *ArchiveWatchReply) Reset()
- func (m *ArchiveWatchReply) String() string
- func (m *ArchiveWatchReply) XXX_DiscardUnknown()
- func (m *ArchiveWatchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveWatchReply) XXX_Merge(src proto.Message)
- func (m *ArchiveWatchReply) XXX_Size() int
- func (m *ArchiveWatchReply) XXX_Unmarshal(b []byte) error
- type ArchiveWatchRequest
- func (*ArchiveWatchRequest) Descriptor() ([]byte, []int)
- func (m *ArchiveWatchRequest) GetKey() string
- func (*ArchiveWatchRequest) ProtoMessage()
- func (m *ArchiveWatchRequest) Reset()
- func (m *ArchiveWatchRequest) String() string
- func (m *ArchiveWatchRequest) XXX_DiscardUnknown()
- func (m *ArchiveWatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ArchiveWatchRequest) XXX_Merge(src proto.Message)
- func (m *ArchiveWatchRequest) XXX_Size() int
- func (m *ArchiveWatchRequest) XXX_Unmarshal(b []byte) error
- type InitReply
- func (*InitReply) Descriptor() ([]byte, []int)
- func (m *InitReply) GetLinks() *LinksReply
- func (m *InitReply) GetRoot() *Root
- func (m *InitReply) GetSeed() []byte
- func (*InitReply) ProtoMessage()
- func (m *InitReply) Reset()
- func (m *InitReply) String() string
- func (m *InitReply) XXX_DiscardUnknown()
- func (m *InitReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitReply) XXX_Merge(src proto.Message)
- func (m *InitReply) XXX_Size() int
- func (m *InitReply) XXX_Unmarshal(b []byte) error
- type InitRequest
- func (*InitRequest) Descriptor() ([]byte, []int)
- func (m *InitRequest) GetName() string
- func (*InitRequest) ProtoMessage()
- func (m *InitRequest) Reset()
- func (m *InitRequest) String() string
- func (m *InitRequest) XXX_DiscardUnknown()
- func (m *InitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InitRequest) XXX_Merge(src proto.Message)
- func (m *InitRequest) XXX_Size() int
- func (m *InitRequest) XXX_Unmarshal(b []byte) error
- type LinksReply
- func (*LinksReply) Descriptor() ([]byte, []int)
- func (m *LinksReply) GetIPNS() string
- func (m *LinksReply) GetURL() string
- func (m *LinksReply) GetWWW() string
- func (*LinksReply) ProtoMessage()
- func (m *LinksReply) Reset()
- func (m *LinksReply) String() string
- func (m *LinksReply) XXX_DiscardUnknown()
- func (m *LinksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinksReply) XXX_Merge(src proto.Message)
- func (m *LinksReply) XXX_Size() int
- func (m *LinksReply) XXX_Unmarshal(b []byte) error
- type LinksRequest
- func (*LinksRequest) Descriptor() ([]byte, []int)
- func (m *LinksRequest) GetKey() string
- func (*LinksRequest) ProtoMessage()
- func (m *LinksRequest) Reset()
- func (m *LinksRequest) String() string
- func (m *LinksRequest) XXX_DiscardUnknown()
- func (m *LinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LinksRequest) XXX_Merge(src proto.Message)
- func (m *LinksRequest) XXX_Size() int
- func (m *LinksRequest) XXX_Unmarshal(b []byte) error
- type ListPathReply
- func (*ListPathReply) Descriptor() ([]byte, []int)
- func (m *ListPathReply) GetItem() *ListPathReply_Item
- func (m *ListPathReply) GetRoot() *Root
- func (*ListPathReply) ProtoMessage()
- func (m *ListPathReply) Reset()
- func (m *ListPathReply) String() string
- func (m *ListPathReply) XXX_DiscardUnknown()
- func (m *ListPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPathReply) XXX_Merge(src proto.Message)
- func (m *ListPathReply) XXX_Size() int
- func (m *ListPathReply) XXX_Unmarshal(b []byte) error
- type ListPathReply_Item
- func (*ListPathReply_Item) Descriptor() ([]byte, []int)
- func (m *ListPathReply_Item) GetCid() string
- func (m *ListPathReply_Item) GetIsDir() bool
- func (m *ListPathReply_Item) GetItems() []*ListPathReply_Item
- func (m *ListPathReply_Item) GetName() string
- func (m *ListPathReply_Item) GetPath() string
- func (m *ListPathReply_Item) GetSize() int64
- func (*ListPathReply_Item) ProtoMessage()
- func (m *ListPathReply_Item) Reset()
- func (m *ListPathReply_Item) String() string
- func (m *ListPathReply_Item) XXX_DiscardUnknown()
- func (m *ListPathReply_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPathReply_Item) XXX_Merge(src proto.Message)
- func (m *ListPathReply_Item) XXX_Size() int
- func (m *ListPathReply_Item) XXX_Unmarshal(b []byte) error
- type ListPathRequest
- func (*ListPathRequest) Descriptor() ([]byte, []int)
- func (m *ListPathRequest) GetKey() string
- func (m *ListPathRequest) GetPath() string
- func (*ListPathRequest) ProtoMessage()
- func (m *ListPathRequest) Reset()
- func (m *ListPathRequest) String() string
- func (m *ListPathRequest) XXX_DiscardUnknown()
- func (m *ListPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListPathRequest) XXX_Merge(src proto.Message)
- func (m *ListPathRequest) XXX_Size() int
- func (m *ListPathRequest) XXX_Unmarshal(b []byte) error
- type ListReply
- func (*ListReply) Descriptor() ([]byte, []int)
- func (m *ListReply) GetRoots() []*Root
- func (*ListReply) ProtoMessage()
- func (m *ListReply) Reset()
- func (m *ListReply) String() string
- func (m *ListReply) XXX_DiscardUnknown()
- func (m *ListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReply) XXX_Merge(src proto.Message)
- func (m *ListReply) XXX_Size() int
- func (m *ListReply) XXX_Unmarshal(b []byte) error
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)
- func (*ListRequest) ProtoMessage()
- func (m *ListRequest) Reset()
- func (m *ListRequest) String() string
- func (m *ListRequest) XXX_DiscardUnknown()
- func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRequest) XXX_Merge(src proto.Message)
- func (m *ListRequest) XXX_Size() int
- func (m *ListRequest) XXX_Unmarshal(b []byte) error
- type PullPathReply
- func (*PullPathReply) Descriptor() ([]byte, []int)
- func (m *PullPathReply) GetChunk() []byte
- func (*PullPathReply) ProtoMessage()
- func (m *PullPathReply) Reset()
- func (m *PullPathReply) String() string
- func (m *PullPathReply) XXX_DiscardUnknown()
- func (m *PullPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PullPathReply) XXX_Merge(src proto.Message)
- func (m *PullPathReply) XXX_Size() int
- func (m *PullPathReply) XXX_Unmarshal(b []byte) error
- type PullPathRequest
- func (*PullPathRequest) Descriptor() ([]byte, []int)
- func (m *PullPathRequest) GetKey() string
- func (m *PullPathRequest) GetPath() string
- func (*PullPathRequest) ProtoMessage()
- func (m *PullPathRequest) Reset()
- func (m *PullPathRequest) String() string
- func (m *PullPathRequest) XXX_DiscardUnknown()
- func (m *PullPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PullPathRequest) XXX_Merge(src proto.Message)
- func (m *PullPathRequest) XXX_Size() int
- func (m *PullPathRequest) XXX_Unmarshal(b []byte) error
- type PushPathReply
- func (*PushPathReply) Descriptor() ([]byte, []int)
- func (m *PushPathReply) GetError() string
- func (m *PushPathReply) GetEvent() *PushPathReply_Event
- func (m *PushPathReply) GetPayload() isPushPathReply_Payload
- func (*PushPathReply) ProtoMessage()
- func (m *PushPathReply) Reset()
- func (m *PushPathReply) String() string
- func (m *PushPathReply) XXX_DiscardUnknown()
- func (m *PushPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPathReply) XXX_Merge(src proto.Message)
- func (*PushPathReply) XXX_OneofWrappers() []interface{}
- func (m *PushPathReply) XXX_Size() int
- func (m *PushPathReply) XXX_Unmarshal(b []byte) error
- type PushPathReply_Error
- type PushPathReply_Event
- func (*PushPathReply_Event) Descriptor() ([]byte, []int)
- func (m *PushPathReply_Event) GetBytes() int64
- func (m *PushPathReply_Event) GetName() string
- func (m *PushPathReply_Event) GetPath() string
- func (m *PushPathReply_Event) GetRoot() *Root
- func (m *PushPathReply_Event) GetSize() string
- func (*PushPathReply_Event) ProtoMessage()
- func (m *PushPathReply_Event) Reset()
- func (m *PushPathReply_Event) String() string
- func (m *PushPathReply_Event) XXX_DiscardUnknown()
- func (m *PushPathReply_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPathReply_Event) XXX_Merge(src proto.Message)
- func (m *PushPathReply_Event) XXX_Size() int
- func (m *PushPathReply_Event) XXX_Unmarshal(b []byte) error
- type PushPathReply_Event_
- type PushPathRequest
- func (*PushPathRequest) Descriptor() ([]byte, []int)
- func (m *PushPathRequest) GetChunk() []byte
- func (m *PushPathRequest) GetHeader() *PushPathRequest_Header
- func (m *PushPathRequest) GetPayload() isPushPathRequest_Payload
- func (*PushPathRequest) ProtoMessage()
- func (m *PushPathRequest) Reset()
- func (m *PushPathRequest) String() string
- func (m *PushPathRequest) XXX_DiscardUnknown()
- func (m *PushPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPathRequest) XXX_Merge(src proto.Message)
- func (*PushPathRequest) XXX_OneofWrappers() []interface{}
- func (m *PushPathRequest) XXX_Size() int
- func (m *PushPathRequest) XXX_Unmarshal(b []byte) error
- type PushPathRequest_Chunk
- type PushPathRequest_Header
- func (*PushPathRequest_Header) Descriptor() ([]byte, []int)
- func (m *PushPathRequest_Header) GetKey() string
- func (m *PushPathRequest_Header) GetPath() string
- func (m *PushPathRequest_Header) GetRoot() string
- func (*PushPathRequest_Header) ProtoMessage()
- func (m *PushPathRequest_Header) Reset()
- func (m *PushPathRequest_Header) String() string
- func (m *PushPathRequest_Header) XXX_DiscardUnknown()
- func (m *PushPathRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PushPathRequest_Header) XXX_Merge(src proto.Message)
- func (m *PushPathRequest_Header) XXX_Size() int
- func (m *PushPathRequest_Header) XXX_Unmarshal(b []byte) error
- type PushPathRequest_Header_
- type RemovePathReply
- func (*RemovePathReply) Descriptor() ([]byte, []int)
- func (m *RemovePathReply) GetRoot() *Root
- func (*RemovePathReply) ProtoMessage()
- func (m *RemovePathReply) Reset()
- func (m *RemovePathReply) String() string
- func (m *RemovePathReply) XXX_DiscardUnknown()
- func (m *RemovePathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePathReply) XXX_Merge(src proto.Message)
- func (m *RemovePathReply) XXX_Size() int
- func (m *RemovePathReply) XXX_Unmarshal(b []byte) error
- type RemovePathRequest
- func (*RemovePathRequest) Descriptor() ([]byte, []int)
- func (m *RemovePathRequest) GetKey() string
- func (m *RemovePathRequest) GetPath() string
- func (m *RemovePathRequest) GetRoot() string
- func (*RemovePathRequest) ProtoMessage()
- func (m *RemovePathRequest) Reset()
- func (m *RemovePathRequest) String() string
- func (m *RemovePathRequest) XXX_DiscardUnknown()
- func (m *RemovePathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemovePathRequest) XXX_Merge(src proto.Message)
- func (m *RemovePathRequest) XXX_Size() int
- func (m *RemovePathRequest) XXX_Unmarshal(b []byte) error
- type RemoveReply
- func (*RemoveReply) Descriptor() ([]byte, []int)
- func (*RemoveReply) ProtoMessage()
- func (m *RemoveReply) Reset()
- func (m *RemoveReply) String() string
- func (m *RemoveReply) XXX_DiscardUnknown()
- func (m *RemoveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveReply) XXX_Merge(src proto.Message)
- func (m *RemoveReply) XXX_Size() int
- func (m *RemoveReply) XXX_Unmarshal(b []byte) error
- type RemoveRequest
- func (*RemoveRequest) Descriptor() ([]byte, []int)
- func (m *RemoveRequest) GetKey() string
- func (*RemoveRequest) ProtoMessage()
- func (m *RemoveRequest) Reset()
- func (m *RemoveRequest) String() string
- func (m *RemoveRequest) XXX_DiscardUnknown()
- func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveRequest) XXX_Merge(src proto.Message)
- func (m *RemoveRequest) XXX_Size() int
- func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
- type Root
- func (*Root) Descriptor() ([]byte, []int)
- func (m *Root) GetCreatedAt() int64
- func (m *Root) GetKey() string
- func (m *Root) GetName() string
- func (m *Root) GetPath() string
- func (m *Root) GetUpdatedAt() int64
- func (*Root) ProtoMessage()
- func (m *Root) Reset()
- func (m *Root) String() string
- func (m *Root) XXX_DiscardUnknown()
- func (m *Root) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Root) XXX_Merge(src proto.Message)
- func (m *Root) XXX_Size() int
- func (m *Root) XXX_Unmarshal(b []byte) error
- type UnimplementedAPIServer
- func (*UnimplementedAPIServer) Archive(ctx context.Context, req *ArchiveRequest) (*ArchiveReply, error)
- func (*UnimplementedAPIServer) ArchiveInfo(ctx context.Context, req *ArchiveInfoRequest) (*ArchiveInfoReply, error)
- func (*UnimplementedAPIServer) ArchiveStatus(ctx context.Context, req *ArchiveStatusRequest) (*ArchiveStatusReply, error)
- func (*UnimplementedAPIServer) ArchiveWatch(req *ArchiveWatchRequest, srv API_ArchiveWatchServer) error
- func (*UnimplementedAPIServer) Init(ctx context.Context, req *InitRequest) (*InitReply, error)
- func (*UnimplementedAPIServer) Links(ctx context.Context, req *LinksRequest) (*LinksReply, error)
- func (*UnimplementedAPIServer) List(ctx context.Context, req *ListRequest) (*ListReply, error)
- func (*UnimplementedAPIServer) ListPath(ctx context.Context, req *ListPathRequest) (*ListPathReply, error)
- func (*UnimplementedAPIServer) PullPath(req *PullPathRequest, srv API_PullPathServer) error
- func (*UnimplementedAPIServer) PushPath(srv API_PushPathServer) error
- func (*UnimplementedAPIServer) Remove(ctx context.Context, req *RemoveRequest) (*RemoveReply, error)
- func (*UnimplementedAPIServer) RemovePath(ctx context.Context, req *RemovePathRequest) (*RemovePathReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ArchiveStatusReply_Status_name = map[int32]string{
0: "Executing",
1: "Failed",
2: "Done",
3: "Canceled",
}
View Source
var ArchiveStatusReply_Status_value = map[string]int32{
"Executing": 0,
"Failed": 1,
"Done": 2,
"Canceled": 3,
}
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface { Init(ctx context.Context, in *InitRequest, opts ...grpc.CallOption) (*InitReply, error) Links(ctx context.Context, in *LinksRequest, opts ...grpc.CallOption) (*LinksReply, error) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListReply, error) ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (*ListPathReply, error) PushPath(ctx context.Context, opts ...grpc.CallOption) (API_PushPathClient, error) PullPath(ctx context.Context, in *PullPathRequest, opts ...grpc.CallOption) (API_PullPathClient, error) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveReply, error) RemovePath(ctx context.Context, in *RemovePathRequest, opts ...grpc.CallOption) (*RemovePathReply, error) // Archive Archive(ctx context.Context, in *ArchiveRequest, opts ...grpc.CallOption) (*ArchiveReply, error) ArchiveStatus(ctx context.Context, in *ArchiveStatusRequest, opts ...grpc.CallOption) (*ArchiveStatusReply, error) ArchiveInfo(ctx context.Context, in *ArchiveInfoRequest, opts ...grpc.CallOption) (*ArchiveInfoReply, error) ArchiveWatch(ctx context.Context, in *ArchiveWatchRequest, opts ...grpc.CallOption) (API_ArchiveWatchClient, error) }
APIClient is the client API for API service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { Init(context.Context, *InitRequest) (*InitReply, error) Links(context.Context, *LinksRequest) (*LinksReply, error) List(context.Context, *ListRequest) (*ListReply, error) ListPath(context.Context, *ListPathRequest) (*ListPathReply, error) PushPath(API_PushPathServer) error PullPath(*PullPathRequest, API_PullPathServer) error Remove(context.Context, *RemoveRequest) (*RemoveReply, error) RemovePath(context.Context, *RemovePathRequest) (*RemovePathReply, error) // Archive Archive(context.Context, *ArchiveRequest) (*ArchiveReply, error) ArchiveStatus(context.Context, *ArchiveStatusRequest) (*ArchiveStatusReply, error) ArchiveInfo(context.Context, *ArchiveInfoRequest) (*ArchiveInfoReply, error) ArchiveWatch(*ArchiveWatchRequest, API_ArchiveWatchServer) error }
APIServer is the server API for API service.
type API_ArchiveWatchClient ¶ added in v1.0.4
type API_ArchiveWatchClient interface { Recv() (*ArchiveWatchReply, error) grpc.ClientStream }
type API_ArchiveWatchServer ¶ added in v1.0.4
type API_ArchiveWatchServer interface { Send(*ArchiveWatchReply) error grpc.ServerStream }
type API_PullPathClient ¶
type API_PullPathClient interface { Recv() (*PullPathReply, error) grpc.ClientStream }
type API_PullPathServer ¶
type API_PullPathServer interface { Send(*PullPathReply) error grpc.ServerStream }
type API_PushPathClient ¶
type API_PushPathClient interface { Send(*PushPathRequest) error Recv() (*PushPathReply, error) grpc.ClientStream }
type API_PushPathServer ¶
type API_PushPathServer interface { Send(*PushPathReply) error Recv() (*PushPathRequest, error) grpc.ServerStream }
type ArchiveInfoReply ¶ added in v1.0.4
type ArchiveInfoReply struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Archive *ArchiveInfoReply_Archive `protobuf:"bytes,2,opt,name=archive,proto3" json:"archive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveInfoReply) Descriptor ¶ added in v1.0.4
func (*ArchiveInfoReply) Descriptor() ([]byte, []int)
func (*ArchiveInfoReply) GetArchive ¶ added in v1.0.4
func (m *ArchiveInfoReply) GetArchive() *ArchiveInfoReply_Archive
func (*ArchiveInfoReply) GetKey ¶ added in v1.0.4
func (m *ArchiveInfoReply) GetKey() string
func (*ArchiveInfoReply) ProtoMessage ¶ added in v1.0.4
func (*ArchiveInfoReply) ProtoMessage()
func (*ArchiveInfoReply) Reset ¶ added in v1.0.4
func (m *ArchiveInfoReply) Reset()
func (*ArchiveInfoReply) String ¶ added in v1.0.4
func (m *ArchiveInfoReply) String() string
func (*ArchiveInfoReply) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveInfoReply) XXX_DiscardUnknown()
func (*ArchiveInfoReply) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveInfoReply) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveInfoReply) XXX_Merge(src proto.Message)
func (*ArchiveInfoReply) XXX_Size ¶ added in v1.0.4
func (m *ArchiveInfoReply) XXX_Size() int
func (*ArchiveInfoReply) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveInfoReply) XXX_Unmarshal(b []byte) error
type ArchiveInfoReply_Archive ¶ added in v1.0.4
type ArchiveInfoReply_Archive struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Deals []*ArchiveInfoReply_Archive_Deal `protobuf:"bytes,2,rep,name=deals,proto3" json:"deals,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveInfoReply_Archive) Descriptor ¶ added in v1.0.4
func (*ArchiveInfoReply_Archive) Descriptor() ([]byte, []int)
func (*ArchiveInfoReply_Archive) GetCid ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) GetCid() string
func (*ArchiveInfoReply_Archive) GetDeals ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) GetDeals() []*ArchiveInfoReply_Archive_Deal
func (*ArchiveInfoReply_Archive) ProtoMessage ¶ added in v1.0.4
func (*ArchiveInfoReply_Archive) ProtoMessage()
func (*ArchiveInfoReply_Archive) Reset ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) Reset()
func (*ArchiveInfoReply_Archive) String ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) String() string
func (*ArchiveInfoReply_Archive) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) XXX_DiscardUnknown()
func (*ArchiveInfoReply_Archive) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveInfoReply_Archive) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) XXX_Merge(src proto.Message)
func (*ArchiveInfoReply_Archive) XXX_Size ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) XXX_Size() int
func (*ArchiveInfoReply_Archive) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive) XXX_Unmarshal(b []byte) error
type ArchiveInfoReply_Archive_Deal ¶ added in v1.0.4
type ArchiveInfoReply_Archive_Deal struct { ProposalCid string `protobuf:"bytes,1,opt,name=ProposalCid,proto3" json:"ProposalCid,omitempty"` Miner string `protobuf:"bytes,2,opt,name=miner,proto3" json:"miner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveInfoReply_Archive_Deal) Descriptor ¶ added in v1.0.4
func (*ArchiveInfoReply_Archive_Deal) Descriptor() ([]byte, []int)
func (*ArchiveInfoReply_Archive_Deal) GetMiner ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) GetMiner() string
func (*ArchiveInfoReply_Archive_Deal) GetProposalCid ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) GetProposalCid() string
func (*ArchiveInfoReply_Archive_Deal) ProtoMessage ¶ added in v1.0.4
func (*ArchiveInfoReply_Archive_Deal) ProtoMessage()
func (*ArchiveInfoReply_Archive_Deal) Reset ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) Reset()
func (*ArchiveInfoReply_Archive_Deal) String ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) String() string
func (*ArchiveInfoReply_Archive_Deal) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) XXX_DiscardUnknown()
func (*ArchiveInfoReply_Archive_Deal) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveInfoReply_Archive_Deal) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) XXX_Merge(src proto.Message)
func (*ArchiveInfoReply_Archive_Deal) XXX_Size ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) XXX_Size() int
func (*ArchiveInfoReply_Archive_Deal) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveInfoReply_Archive_Deal) XXX_Unmarshal(b []byte) error
type ArchiveInfoRequest ¶ added in v1.0.4
type ArchiveInfoRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveInfoRequest) Descriptor ¶ added in v1.0.4
func (*ArchiveInfoRequest) Descriptor() ([]byte, []int)
func (*ArchiveInfoRequest) GetKey ¶ added in v1.0.4
func (m *ArchiveInfoRequest) GetKey() string
func (*ArchiveInfoRequest) ProtoMessage ¶ added in v1.0.4
func (*ArchiveInfoRequest) ProtoMessage()
func (*ArchiveInfoRequest) Reset ¶ added in v1.0.4
func (m *ArchiveInfoRequest) Reset()
func (*ArchiveInfoRequest) String ¶ added in v1.0.4
func (m *ArchiveInfoRequest) String() string
func (*ArchiveInfoRequest) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveInfoRequest) XXX_DiscardUnknown()
func (*ArchiveInfoRequest) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveInfoRequest) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveInfoRequest) XXX_Merge(src proto.Message)
func (*ArchiveInfoRequest) XXX_Size ¶ added in v1.0.4
func (m *ArchiveInfoRequest) XXX_Size() int
func (*ArchiveInfoRequest) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveInfoRequest) XXX_Unmarshal(b []byte) error
type ArchiveReply ¶ added in v1.0.4
type ArchiveReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveReply) Descriptor ¶ added in v1.0.4
func (*ArchiveReply) Descriptor() ([]byte, []int)
func (*ArchiveReply) ProtoMessage ¶ added in v1.0.4
func (*ArchiveReply) ProtoMessage()
func (*ArchiveReply) Reset ¶ added in v1.0.4
func (m *ArchiveReply) Reset()
func (*ArchiveReply) String ¶ added in v1.0.4
func (m *ArchiveReply) String() string
func (*ArchiveReply) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveReply) XXX_DiscardUnknown()
func (*ArchiveReply) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveReply) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveReply) XXX_Merge(src proto.Message)
func (*ArchiveReply) XXX_Size ¶ added in v1.0.4
func (m *ArchiveReply) XXX_Size() int
func (*ArchiveReply) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveReply) XXX_Unmarshal(b []byte) error
type ArchiveRequest ¶ added in v1.0.4
type ArchiveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveRequest) Descriptor ¶ added in v1.0.4
func (*ArchiveRequest) Descriptor() ([]byte, []int)
func (*ArchiveRequest) GetKey ¶ added in v1.0.4
func (m *ArchiveRequest) GetKey() string
func (*ArchiveRequest) ProtoMessage ¶ added in v1.0.4
func (*ArchiveRequest) ProtoMessage()
func (*ArchiveRequest) Reset ¶ added in v1.0.4
func (m *ArchiveRequest) Reset()
func (*ArchiveRequest) String ¶ added in v1.0.4
func (m *ArchiveRequest) String() string
func (*ArchiveRequest) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveRequest) XXX_DiscardUnknown()
func (*ArchiveRequest) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveRequest) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveRequest) XXX_Merge(src proto.Message)
func (*ArchiveRequest) XXX_Size ¶ added in v1.0.4
func (m *ArchiveRequest) XXX_Size() int
func (*ArchiveRequest) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveRequest) XXX_Unmarshal(b []byte) error
type ArchiveStatusReply ¶ added in v1.0.4
type ArchiveStatusReply struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Status ArchiveStatusReply_Status `protobuf:"varint,2,opt,name=status,proto3,enum=buckets.pb.ArchiveStatusReply_Status" json:"status,omitempty"` FailedMsg string `protobuf:"bytes,3,opt,name=failedMsg,proto3" json:"failedMsg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveStatusReply) Descriptor ¶ added in v1.0.4
func (*ArchiveStatusReply) Descriptor() ([]byte, []int)
func (*ArchiveStatusReply) GetFailedMsg ¶ added in v1.0.4
func (m *ArchiveStatusReply) GetFailedMsg() string
func (*ArchiveStatusReply) GetKey ¶ added in v1.0.4
func (m *ArchiveStatusReply) GetKey() string
func (*ArchiveStatusReply) GetStatus ¶ added in v1.0.4
func (m *ArchiveStatusReply) GetStatus() ArchiveStatusReply_Status
func (*ArchiveStatusReply) ProtoMessage ¶ added in v1.0.4
func (*ArchiveStatusReply) ProtoMessage()
func (*ArchiveStatusReply) Reset ¶ added in v1.0.4
func (m *ArchiveStatusReply) Reset()
func (*ArchiveStatusReply) String ¶ added in v1.0.4
func (m *ArchiveStatusReply) String() string
func (*ArchiveStatusReply) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveStatusReply) XXX_DiscardUnknown()
func (*ArchiveStatusReply) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveStatusReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveStatusReply) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveStatusReply) XXX_Merge(src proto.Message)
func (*ArchiveStatusReply) XXX_Size ¶ added in v1.0.4
func (m *ArchiveStatusReply) XXX_Size() int
func (*ArchiveStatusReply) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveStatusReply) XXX_Unmarshal(b []byte) error
type ArchiveStatusReply_Status ¶ added in v1.0.4
type ArchiveStatusReply_Status int32
const ( ArchiveStatusReply_Executing ArchiveStatusReply_Status = 0 ArchiveStatusReply_Failed ArchiveStatusReply_Status = 1 ArchiveStatusReply_Done ArchiveStatusReply_Status = 2 ArchiveStatusReply_Canceled ArchiveStatusReply_Status = 3 )
func (ArchiveStatusReply_Status) EnumDescriptor ¶ added in v1.0.4
func (ArchiveStatusReply_Status) EnumDescriptor() ([]byte, []int)
func (ArchiveStatusReply_Status) String ¶ added in v1.0.4
func (x ArchiveStatusReply_Status) String() string
type ArchiveStatusRequest ¶ added in v1.0.4
type ArchiveStatusRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveStatusRequest) Descriptor ¶ added in v1.0.4
func (*ArchiveStatusRequest) Descriptor() ([]byte, []int)
func (*ArchiveStatusRequest) GetKey ¶ added in v1.0.4
func (m *ArchiveStatusRequest) GetKey() string
func (*ArchiveStatusRequest) ProtoMessage ¶ added in v1.0.4
func (*ArchiveStatusRequest) ProtoMessage()
func (*ArchiveStatusRequest) Reset ¶ added in v1.0.4
func (m *ArchiveStatusRequest) Reset()
func (*ArchiveStatusRequest) String ¶ added in v1.0.4
func (m *ArchiveStatusRequest) String() string
func (*ArchiveStatusRequest) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveStatusRequest) XXX_DiscardUnknown()
func (*ArchiveStatusRequest) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveStatusRequest) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveStatusRequest) XXX_Merge(src proto.Message)
func (*ArchiveStatusRequest) XXX_Size ¶ added in v1.0.4
func (m *ArchiveStatusRequest) XXX_Size() int
func (*ArchiveStatusRequest) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveStatusRequest) XXX_Unmarshal(b []byte) error
type ArchiveWatchReply ¶ added in v1.0.4
type ArchiveWatchReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveWatchReply) Descriptor ¶ added in v1.0.4
func (*ArchiveWatchReply) Descriptor() ([]byte, []int)
func (*ArchiveWatchReply) GetMsg ¶ added in v1.0.4
func (m *ArchiveWatchReply) GetMsg() string
func (*ArchiveWatchReply) ProtoMessage ¶ added in v1.0.4
func (*ArchiveWatchReply) ProtoMessage()
func (*ArchiveWatchReply) Reset ¶ added in v1.0.4
func (m *ArchiveWatchReply) Reset()
func (*ArchiveWatchReply) String ¶ added in v1.0.4
func (m *ArchiveWatchReply) String() string
func (*ArchiveWatchReply) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveWatchReply) XXX_DiscardUnknown()
func (*ArchiveWatchReply) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveWatchReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveWatchReply) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveWatchReply) XXX_Merge(src proto.Message)
func (*ArchiveWatchReply) XXX_Size ¶ added in v1.0.4
func (m *ArchiveWatchReply) XXX_Size() int
func (*ArchiveWatchReply) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveWatchReply) XXX_Unmarshal(b []byte) error
type ArchiveWatchRequest ¶ added in v1.0.4
type ArchiveWatchRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ArchiveWatchRequest) Descriptor ¶ added in v1.0.4
func (*ArchiveWatchRequest) Descriptor() ([]byte, []int)
func (*ArchiveWatchRequest) GetKey ¶ added in v1.0.4
func (m *ArchiveWatchRequest) GetKey() string
func (*ArchiveWatchRequest) ProtoMessage ¶ added in v1.0.4
func (*ArchiveWatchRequest) ProtoMessage()
func (*ArchiveWatchRequest) Reset ¶ added in v1.0.4
func (m *ArchiveWatchRequest) Reset()
func (*ArchiveWatchRequest) String ¶ added in v1.0.4
func (m *ArchiveWatchRequest) String() string
func (*ArchiveWatchRequest) XXX_DiscardUnknown ¶ added in v1.0.4
func (m *ArchiveWatchRequest) XXX_DiscardUnknown()
func (*ArchiveWatchRequest) XXX_Marshal ¶ added in v1.0.4
func (m *ArchiveWatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ArchiveWatchRequest) XXX_Merge ¶ added in v1.0.4
func (m *ArchiveWatchRequest) XXX_Merge(src proto.Message)
func (*ArchiveWatchRequest) XXX_Size ¶ added in v1.0.4
func (m *ArchiveWatchRequest) XXX_Size() int
func (*ArchiveWatchRequest) XXX_Unmarshal ¶ added in v1.0.4
func (m *ArchiveWatchRequest) XXX_Unmarshal(b []byte) error
type InitReply ¶
type InitReply struct { Root *Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Links *LinksReply `protobuf:"bytes,2,opt,name=links,proto3" json:"links,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitReply) Descriptor ¶
func (*InitReply) GetLinks ¶
func (m *InitReply) GetLinks() *LinksReply
func (*InitReply) ProtoMessage ¶
func (*InitReply) ProtoMessage()
func (*InitReply) XXX_DiscardUnknown ¶
func (m *InitReply) XXX_DiscardUnknown()
func (*InitReply) XXX_Marshal ¶
func (*InitReply) XXX_Unmarshal ¶
type InitRequest ¶
type InitRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InitRequest) Descriptor ¶
func (*InitRequest) Descriptor() ([]byte, []int)
func (*InitRequest) GetName ¶
func (m *InitRequest) GetName() string
func (*InitRequest) ProtoMessage ¶
func (*InitRequest) ProtoMessage()
func (*InitRequest) Reset ¶
func (m *InitRequest) Reset()
func (*InitRequest) String ¶
func (m *InitRequest) String() string
func (*InitRequest) XXX_DiscardUnknown ¶
func (m *InitRequest) XXX_DiscardUnknown()
func (*InitRequest) XXX_Marshal ¶
func (m *InitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InitRequest) XXX_Merge ¶
func (m *InitRequest) XXX_Merge(src proto.Message)
func (*InitRequest) XXX_Size ¶
func (m *InitRequest) XXX_Size() int
func (*InitRequest) XXX_Unmarshal ¶
func (m *InitRequest) XXX_Unmarshal(b []byte) error
type LinksReply ¶
type LinksReply struct { URL string `protobuf:"bytes,1,opt,name=URL,proto3" json:"URL,omitempty"` WWW string `protobuf:"bytes,2,opt,name=WWW,proto3" json:"WWW,omitempty"` IPNS string `protobuf:"bytes,3,opt,name=IPNS,proto3" json:"IPNS,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LinksReply) Descriptor ¶
func (*LinksReply) Descriptor() ([]byte, []int)
func (*LinksReply) GetIPNS ¶
func (m *LinksReply) GetIPNS() string
func (*LinksReply) GetURL ¶
func (m *LinksReply) GetURL() string
func (*LinksReply) GetWWW ¶
func (m *LinksReply) GetWWW() string
func (*LinksReply) ProtoMessage ¶
func (*LinksReply) ProtoMessage()
func (*LinksReply) Reset ¶
func (m *LinksReply) Reset()
func (*LinksReply) String ¶
func (m *LinksReply) String() string
func (*LinksReply) XXX_DiscardUnknown ¶
func (m *LinksReply) XXX_DiscardUnknown()
func (*LinksReply) XXX_Marshal ¶
func (m *LinksReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinksReply) XXX_Merge ¶
func (m *LinksReply) XXX_Merge(src proto.Message)
func (*LinksReply) XXX_Size ¶
func (m *LinksReply) XXX_Size() int
func (*LinksReply) XXX_Unmarshal ¶
func (m *LinksReply) XXX_Unmarshal(b []byte) error
type LinksRequest ¶
type LinksRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LinksRequest) Descriptor ¶
func (*LinksRequest) Descriptor() ([]byte, []int)
func (*LinksRequest) GetKey ¶
func (m *LinksRequest) GetKey() string
func (*LinksRequest) ProtoMessage ¶
func (*LinksRequest) ProtoMessage()
func (*LinksRequest) Reset ¶
func (m *LinksRequest) Reset()
func (*LinksRequest) String ¶
func (m *LinksRequest) String() string
func (*LinksRequest) XXX_DiscardUnknown ¶
func (m *LinksRequest) XXX_DiscardUnknown()
func (*LinksRequest) XXX_Marshal ¶
func (m *LinksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LinksRequest) XXX_Merge ¶
func (m *LinksRequest) XXX_Merge(src proto.Message)
func (*LinksRequest) XXX_Size ¶
func (m *LinksRequest) XXX_Size() int
func (*LinksRequest) XXX_Unmarshal ¶
func (m *LinksRequest) XXX_Unmarshal(b []byte) error
type ListPathReply ¶
type ListPathReply struct { Item *ListPathReply_Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Root *Root `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPathReply) Descriptor ¶
func (*ListPathReply) Descriptor() ([]byte, []int)
func (*ListPathReply) GetItem ¶
func (m *ListPathReply) GetItem() *ListPathReply_Item
func (*ListPathReply) GetRoot ¶
func (m *ListPathReply) GetRoot() *Root
func (*ListPathReply) ProtoMessage ¶
func (*ListPathReply) ProtoMessage()
func (*ListPathReply) Reset ¶
func (m *ListPathReply) Reset()
func (*ListPathReply) String ¶
func (m *ListPathReply) String() string
func (*ListPathReply) XXX_DiscardUnknown ¶
func (m *ListPathReply) XXX_DiscardUnknown()
func (*ListPathReply) XXX_Marshal ¶
func (m *ListPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPathReply) XXX_Merge ¶
func (m *ListPathReply) XXX_Merge(src proto.Message)
func (*ListPathReply) XXX_Size ¶
func (m *ListPathReply) XXX_Size() int
func (*ListPathReply) XXX_Unmarshal ¶
func (m *ListPathReply) XXX_Unmarshal(b []byte) error
type ListPathReply_Item ¶
type ListPathReply_Item struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` IsDir bool `protobuf:"varint,5,opt,name=isDir,proto3" json:"isDir,omitempty"` Items []*ListPathReply_Item `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPathReply_Item) Descriptor ¶
func (*ListPathReply_Item) Descriptor() ([]byte, []int)
func (*ListPathReply_Item) GetCid ¶ added in v1.0.4
func (m *ListPathReply_Item) GetCid() string
func (*ListPathReply_Item) GetIsDir ¶
func (m *ListPathReply_Item) GetIsDir() bool
func (*ListPathReply_Item) GetItems ¶
func (m *ListPathReply_Item) GetItems() []*ListPathReply_Item
func (*ListPathReply_Item) GetName ¶
func (m *ListPathReply_Item) GetName() string
func (*ListPathReply_Item) GetPath ¶
func (m *ListPathReply_Item) GetPath() string
func (*ListPathReply_Item) GetSize ¶
func (m *ListPathReply_Item) GetSize() int64
func (*ListPathReply_Item) ProtoMessage ¶
func (*ListPathReply_Item) ProtoMessage()
func (*ListPathReply_Item) Reset ¶
func (m *ListPathReply_Item) Reset()
func (*ListPathReply_Item) String ¶
func (m *ListPathReply_Item) String() string
func (*ListPathReply_Item) XXX_DiscardUnknown ¶
func (m *ListPathReply_Item) XXX_DiscardUnknown()
func (*ListPathReply_Item) XXX_Marshal ¶
func (m *ListPathReply_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPathReply_Item) XXX_Merge ¶
func (m *ListPathReply_Item) XXX_Merge(src proto.Message)
func (*ListPathReply_Item) XXX_Size ¶
func (m *ListPathReply_Item) XXX_Size() int
func (*ListPathReply_Item) XXX_Unmarshal ¶
func (m *ListPathReply_Item) XXX_Unmarshal(b []byte) error
type ListPathRequest ¶
type ListPathRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListPathRequest) Descriptor ¶
func (*ListPathRequest) Descriptor() ([]byte, []int)
func (*ListPathRequest) GetKey ¶
func (m *ListPathRequest) GetKey() string
func (*ListPathRequest) GetPath ¶
func (m *ListPathRequest) GetPath() string
func (*ListPathRequest) ProtoMessage ¶
func (*ListPathRequest) ProtoMessage()
func (*ListPathRequest) Reset ¶
func (m *ListPathRequest) Reset()
func (*ListPathRequest) String ¶
func (m *ListPathRequest) String() string
func (*ListPathRequest) XXX_DiscardUnknown ¶
func (m *ListPathRequest) XXX_DiscardUnknown()
func (*ListPathRequest) XXX_Marshal ¶
func (m *ListPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListPathRequest) XXX_Merge ¶
func (m *ListPathRequest) XXX_Merge(src proto.Message)
func (*ListPathRequest) XXX_Size ¶
func (m *ListPathRequest) XXX_Size() int
func (*ListPathRequest) XXX_Unmarshal ¶
func (m *ListPathRequest) XXX_Unmarshal(b []byte) error
type ListReply ¶
type ListReply struct { Roots []*Root `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListReply) Descriptor ¶
func (*ListReply) ProtoMessage ¶
func (*ListReply) ProtoMessage()
func (*ListReply) XXX_DiscardUnknown ¶
func (m *ListReply) XXX_DiscardUnknown()
func (*ListReply) XXX_Marshal ¶
func (*ListReply) XXX_Unmarshal ¶
type ListRequest ¶
type ListRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListRequest) Descriptor ¶
func (*ListRequest) Descriptor() ([]byte, []int)
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) Reset ¶
func (m *ListRequest) Reset()
func (*ListRequest) String ¶
func (m *ListRequest) String() string
func (*ListRequest) XXX_DiscardUnknown ¶
func (m *ListRequest) XXX_DiscardUnknown()
func (*ListRequest) XXX_Marshal ¶
func (m *ListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRequest) XXX_Merge ¶
func (m *ListRequest) XXX_Merge(src proto.Message)
func (*ListRequest) XXX_Size ¶
func (m *ListRequest) XXX_Size() int
func (*ListRequest) XXX_Unmarshal ¶
func (m *ListRequest) XXX_Unmarshal(b []byte) error
type PullPathReply ¶
type PullPathReply struct { Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PullPathReply) Descriptor ¶
func (*PullPathReply) Descriptor() ([]byte, []int)
func (*PullPathReply) GetChunk ¶
func (m *PullPathReply) GetChunk() []byte
func (*PullPathReply) ProtoMessage ¶
func (*PullPathReply) ProtoMessage()
func (*PullPathReply) Reset ¶
func (m *PullPathReply) Reset()
func (*PullPathReply) String ¶
func (m *PullPathReply) String() string
func (*PullPathReply) XXX_DiscardUnknown ¶
func (m *PullPathReply) XXX_DiscardUnknown()
func (*PullPathReply) XXX_Marshal ¶
func (m *PullPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PullPathReply) XXX_Merge ¶
func (m *PullPathReply) XXX_Merge(src proto.Message)
func (*PullPathReply) XXX_Size ¶
func (m *PullPathReply) XXX_Size() int
func (*PullPathReply) XXX_Unmarshal ¶
func (m *PullPathReply) XXX_Unmarshal(b []byte) error
type PullPathRequest ¶
type PullPathRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PullPathRequest) Descriptor ¶
func (*PullPathRequest) Descriptor() ([]byte, []int)
func (*PullPathRequest) GetKey ¶
func (m *PullPathRequest) GetKey() string
func (*PullPathRequest) GetPath ¶
func (m *PullPathRequest) GetPath() string
func (*PullPathRequest) ProtoMessage ¶
func (*PullPathRequest) ProtoMessage()
func (*PullPathRequest) Reset ¶
func (m *PullPathRequest) Reset()
func (*PullPathRequest) String ¶
func (m *PullPathRequest) String() string
func (*PullPathRequest) XXX_DiscardUnknown ¶
func (m *PullPathRequest) XXX_DiscardUnknown()
func (*PullPathRequest) XXX_Marshal ¶
func (m *PullPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PullPathRequest) XXX_Merge ¶
func (m *PullPathRequest) XXX_Merge(src proto.Message)
func (*PullPathRequest) XXX_Size ¶
func (m *PullPathRequest) XXX_Size() int
func (*PullPathRequest) XXX_Unmarshal ¶
func (m *PullPathRequest) XXX_Unmarshal(b []byte) error
type PushPathReply ¶
type PushPathReply struct { // Types that are valid to be assigned to Payload: // *PushPathReply_Event_ // *PushPathReply_Error Payload isPushPathReply_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPathReply) Descriptor ¶
func (*PushPathReply) Descriptor() ([]byte, []int)
func (*PushPathReply) GetError ¶
func (m *PushPathReply) GetError() string
func (*PushPathReply) GetEvent ¶
func (m *PushPathReply) GetEvent() *PushPathReply_Event
func (*PushPathReply) GetPayload ¶
func (m *PushPathReply) GetPayload() isPushPathReply_Payload
func (*PushPathReply) ProtoMessage ¶
func (*PushPathReply) ProtoMessage()
func (*PushPathReply) Reset ¶
func (m *PushPathReply) Reset()
func (*PushPathReply) String ¶
func (m *PushPathReply) String() string
func (*PushPathReply) XXX_DiscardUnknown ¶
func (m *PushPathReply) XXX_DiscardUnknown()
func (*PushPathReply) XXX_Marshal ¶
func (m *PushPathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPathReply) XXX_Merge ¶
func (m *PushPathReply) XXX_Merge(src proto.Message)
func (*PushPathReply) XXX_OneofWrappers ¶
func (*PushPathReply) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PushPathReply) XXX_Size ¶
func (m *PushPathReply) XXX_Size() int
func (*PushPathReply) XXX_Unmarshal ¶
func (m *PushPathReply) XXX_Unmarshal(b []byte) error
type PushPathReply_Error ¶
type PushPathReply_Error struct {
Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type PushPathReply_Event ¶
type PushPathReply_Event struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Bytes int64 `protobuf:"varint,3,opt,name=bytes,proto3" json:"bytes,omitempty"` Size string `protobuf:"bytes,4,opt,name=size,proto3" json:"size,omitempty"` Root *Root `protobuf:"bytes,5,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPathReply_Event) Descriptor ¶
func (*PushPathReply_Event) Descriptor() ([]byte, []int)
func (*PushPathReply_Event) GetBytes ¶
func (m *PushPathReply_Event) GetBytes() int64
func (*PushPathReply_Event) GetName ¶
func (m *PushPathReply_Event) GetName() string
func (*PushPathReply_Event) GetPath ¶
func (m *PushPathReply_Event) GetPath() string
func (*PushPathReply_Event) GetRoot ¶
func (m *PushPathReply_Event) GetRoot() *Root
func (*PushPathReply_Event) GetSize ¶
func (m *PushPathReply_Event) GetSize() string
func (*PushPathReply_Event) ProtoMessage ¶
func (*PushPathReply_Event) ProtoMessage()
func (*PushPathReply_Event) Reset ¶
func (m *PushPathReply_Event) Reset()
func (*PushPathReply_Event) String ¶
func (m *PushPathReply_Event) String() string
func (*PushPathReply_Event) XXX_DiscardUnknown ¶
func (m *PushPathReply_Event) XXX_DiscardUnknown()
func (*PushPathReply_Event) XXX_Marshal ¶
func (m *PushPathReply_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPathReply_Event) XXX_Merge ¶
func (m *PushPathReply_Event) XXX_Merge(src proto.Message)
func (*PushPathReply_Event) XXX_Size ¶
func (m *PushPathReply_Event) XXX_Size() int
func (*PushPathReply_Event) XXX_Unmarshal ¶
func (m *PushPathReply_Event) XXX_Unmarshal(b []byte) error
type PushPathReply_Event_ ¶
type PushPathReply_Event_ struct {
Event *PushPathReply_Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}
type PushPathRequest ¶
type PushPathRequest struct { // Types that are valid to be assigned to Payload: // *PushPathRequest_Header_ // *PushPathRequest_Chunk Payload isPushPathRequest_Payload `protobuf_oneof:"payload"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPathRequest) Descriptor ¶
func (*PushPathRequest) Descriptor() ([]byte, []int)
func (*PushPathRequest) GetChunk ¶
func (m *PushPathRequest) GetChunk() []byte
func (*PushPathRequest) GetHeader ¶
func (m *PushPathRequest) GetHeader() *PushPathRequest_Header
func (*PushPathRequest) GetPayload ¶
func (m *PushPathRequest) GetPayload() isPushPathRequest_Payload
func (*PushPathRequest) ProtoMessage ¶
func (*PushPathRequest) ProtoMessage()
func (*PushPathRequest) Reset ¶
func (m *PushPathRequest) Reset()
func (*PushPathRequest) String ¶
func (m *PushPathRequest) String() string
func (*PushPathRequest) XXX_DiscardUnknown ¶
func (m *PushPathRequest) XXX_DiscardUnknown()
func (*PushPathRequest) XXX_Marshal ¶
func (m *PushPathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPathRequest) XXX_Merge ¶
func (m *PushPathRequest) XXX_Merge(src proto.Message)
func (*PushPathRequest) XXX_OneofWrappers ¶
func (*PushPathRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*PushPathRequest) XXX_Size ¶
func (m *PushPathRequest) XXX_Size() int
func (*PushPathRequest) XXX_Unmarshal ¶
func (m *PushPathRequest) XXX_Unmarshal(b []byte) error
type PushPathRequest_Chunk ¶
type PushPathRequest_Chunk struct {
Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type PushPathRequest_Header ¶
type PushPathRequest_Header struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PushPathRequest_Header) Descriptor ¶
func (*PushPathRequest_Header) Descriptor() ([]byte, []int)
func (*PushPathRequest_Header) GetKey ¶
func (m *PushPathRequest_Header) GetKey() string
func (*PushPathRequest_Header) GetPath ¶
func (m *PushPathRequest_Header) GetPath() string
func (*PushPathRequest_Header) GetRoot ¶ added in v1.0.4
func (m *PushPathRequest_Header) GetRoot() string
func (*PushPathRequest_Header) ProtoMessage ¶
func (*PushPathRequest_Header) ProtoMessage()
func (*PushPathRequest_Header) Reset ¶
func (m *PushPathRequest_Header) Reset()
func (*PushPathRequest_Header) String ¶
func (m *PushPathRequest_Header) String() string
func (*PushPathRequest_Header) XXX_DiscardUnknown ¶
func (m *PushPathRequest_Header) XXX_DiscardUnknown()
func (*PushPathRequest_Header) XXX_Marshal ¶
func (m *PushPathRequest_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PushPathRequest_Header) XXX_Merge ¶
func (m *PushPathRequest_Header) XXX_Merge(src proto.Message)
func (*PushPathRequest_Header) XXX_Size ¶
func (m *PushPathRequest_Header) XXX_Size() int
func (*PushPathRequest_Header) XXX_Unmarshal ¶
func (m *PushPathRequest_Header) XXX_Unmarshal(b []byte) error
type PushPathRequest_Header_ ¶
type PushPathRequest_Header_ struct {
Header *PushPathRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type RemovePathReply ¶
type RemovePathReply struct { Root *Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePathReply) Descriptor ¶
func (*RemovePathReply) Descriptor() ([]byte, []int)
func (*RemovePathReply) GetRoot ¶ added in v1.0.4
func (m *RemovePathReply) GetRoot() *Root
func (*RemovePathReply) ProtoMessage ¶
func (*RemovePathReply) ProtoMessage()
func (*RemovePathReply) Reset ¶
func (m *RemovePathReply) Reset()
func (*RemovePathReply) String ¶
func (m *RemovePathReply) String() string
func (*RemovePathReply) XXX_DiscardUnknown ¶
func (m *RemovePathReply) XXX_DiscardUnknown()
func (*RemovePathReply) XXX_Marshal ¶
func (m *RemovePathReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePathReply) XXX_Merge ¶
func (m *RemovePathReply) XXX_Merge(src proto.Message)
func (*RemovePathReply) XXX_Size ¶
func (m *RemovePathReply) XXX_Size() int
func (*RemovePathReply) XXX_Unmarshal ¶
func (m *RemovePathReply) XXX_Unmarshal(b []byte) error
type RemovePathRequest ¶
type RemovePathRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Root string `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemovePathRequest) Descriptor ¶
func (*RemovePathRequest) Descriptor() ([]byte, []int)
func (*RemovePathRequest) GetKey ¶
func (m *RemovePathRequest) GetKey() string
func (*RemovePathRequest) GetPath ¶
func (m *RemovePathRequest) GetPath() string
func (*RemovePathRequest) GetRoot ¶ added in v1.0.4
func (m *RemovePathRequest) GetRoot() string
func (*RemovePathRequest) ProtoMessage ¶
func (*RemovePathRequest) ProtoMessage()
func (*RemovePathRequest) Reset ¶
func (m *RemovePathRequest) Reset()
func (*RemovePathRequest) String ¶
func (m *RemovePathRequest) String() string
func (*RemovePathRequest) XXX_DiscardUnknown ¶
func (m *RemovePathRequest) XXX_DiscardUnknown()
func (*RemovePathRequest) XXX_Marshal ¶
func (m *RemovePathRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemovePathRequest) XXX_Merge ¶
func (m *RemovePathRequest) XXX_Merge(src proto.Message)
func (*RemovePathRequest) XXX_Size ¶
func (m *RemovePathRequest) XXX_Size() int
func (*RemovePathRequest) XXX_Unmarshal ¶
func (m *RemovePathRequest) XXX_Unmarshal(b []byte) error
type RemoveReply ¶
type RemoveReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveReply) Descriptor ¶
func (*RemoveReply) Descriptor() ([]byte, []int)
func (*RemoveReply) ProtoMessage ¶
func (*RemoveReply) ProtoMessage()
func (*RemoveReply) Reset ¶
func (m *RemoveReply) Reset()
func (*RemoveReply) String ¶
func (m *RemoveReply) String() string
func (*RemoveReply) XXX_DiscardUnknown ¶
func (m *RemoveReply) XXX_DiscardUnknown()
func (*RemoveReply) XXX_Marshal ¶
func (m *RemoveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveReply) XXX_Merge ¶
func (m *RemoveReply) XXX_Merge(src proto.Message)
func (*RemoveReply) XXX_Size ¶
func (m *RemoveReply) XXX_Size() int
func (*RemoveReply) XXX_Unmarshal ¶
func (m *RemoveReply) XXX_Unmarshal(b []byte) error
type RemoveRequest ¶
type RemoveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveRequest) Descriptor ¶
func (*RemoveRequest) Descriptor() ([]byte, []int)
func (*RemoveRequest) GetKey ¶
func (m *RemoveRequest) GetKey() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) Reset ¶
func (m *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (m *RemoveRequest) String() string
func (*RemoveRequest) XXX_DiscardUnknown ¶
func (m *RemoveRequest) XXX_DiscardUnknown()
func (*RemoveRequest) XXX_Marshal ¶
func (m *RemoveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveRequest) XXX_Merge ¶
func (m *RemoveRequest) XXX_Merge(src proto.Message)
func (*RemoveRequest) XXX_Size ¶
func (m *RemoveRequest) XXX_Size() int
func (*RemoveRequest) XXX_Unmarshal ¶
func (m *RemoveRequest) XXX_Unmarshal(b []byte) error
type Root ¶
type Root struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=createdAt,proto3" json:"createdAt,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Root) Descriptor ¶
func (*Root) GetCreatedAt ¶
func (*Root) GetUpdatedAt ¶
func (*Root) ProtoMessage ¶
func (*Root) ProtoMessage()
func (*Root) XXX_DiscardUnknown ¶
func (m *Root) XXX_DiscardUnknown()
func (*Root) XXX_Unmarshal ¶
type UnimplementedAPIServer ¶
type UnimplementedAPIServer struct { }
UnimplementedAPIServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServer) Archive ¶ added in v1.0.4
func (*UnimplementedAPIServer) Archive(ctx context.Context, req *ArchiveRequest) (*ArchiveReply, error)
func (*UnimplementedAPIServer) ArchiveInfo ¶ added in v1.0.4
func (*UnimplementedAPIServer) ArchiveInfo(ctx context.Context, req *ArchiveInfoRequest) (*ArchiveInfoReply, error)
func (*UnimplementedAPIServer) ArchiveStatus ¶ added in v1.0.4
func (*UnimplementedAPIServer) ArchiveStatus(ctx context.Context, req *ArchiveStatusRequest) (*ArchiveStatusReply, error)
func (*UnimplementedAPIServer) ArchiveWatch ¶ added in v1.0.4
func (*UnimplementedAPIServer) ArchiveWatch(req *ArchiveWatchRequest, srv API_ArchiveWatchServer) error
func (*UnimplementedAPIServer) Init ¶
func (*UnimplementedAPIServer) Init(ctx context.Context, req *InitRequest) (*InitReply, error)
func (*UnimplementedAPIServer) Links ¶
func (*UnimplementedAPIServer) Links(ctx context.Context, req *LinksRequest) (*LinksReply, error)
func (*UnimplementedAPIServer) List ¶
func (*UnimplementedAPIServer) List(ctx context.Context, req *ListRequest) (*ListReply, error)
func (*UnimplementedAPIServer) ListPath ¶
func (*UnimplementedAPIServer) ListPath(ctx context.Context, req *ListPathRequest) (*ListPathReply, error)
func (*UnimplementedAPIServer) PullPath ¶
func (*UnimplementedAPIServer) PullPath(req *PullPathRequest, srv API_PullPathServer) error
func (*UnimplementedAPIServer) PushPath ¶
func (*UnimplementedAPIServer) PushPath(srv API_PushPathServer) error
func (*UnimplementedAPIServer) Remove ¶
func (*UnimplementedAPIServer) Remove(ctx context.Context, req *RemoveRequest) (*RemoveReply, error)
func (*UnimplementedAPIServer) RemovePath ¶
func (*UnimplementedAPIServer) RemovePath(ctx context.Context, req *RemovePathRequest) (*RemovePathReply, error)
Click to show internal directories.
Click to hide internal directories.