Documentation ¶
Index ¶
- Variables
- func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
- type APIServiceClient
- type APIServiceServer
- type APIService_ArchiveWatchClient
- type APIService_ArchiveWatchServer
- type APIService_PullIpfsPathClient
- type APIService_PullIpfsPathServer
- type APIService_PullPathClient
- type APIService_PullPathServer
- type APIService_PushPathClient
- type APIService_PushPathServer
- type APIService_PushPathsClient
- type APIService_PushPathsServer
- type Archive
- func (*Archive) Descriptor() ([]byte, []int)deprecated
- func (x *Archive) GetAborted() bool
- func (x *Archive) GetAbortedMsg() string
- func (x *Archive) GetArchiveStatus() ArchiveStatus
- func (x *Archive) GetCid() string
- func (x *Archive) GetCreatedAt() int64
- func (x *Archive) GetDealInfo() []*DealInfo
- func (x *Archive) GetFailureMsg() string
- func (x *Archive) GetJobId() string
- func (*Archive) ProtoMessage()
- func (x *Archive) ProtoReflect() protoreflect.Message
- func (x *Archive) Reset()
- func (x *Archive) String() string
- type ArchiveConfig
- func (*ArchiveConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveConfig) GetCountryCodes() []string
- func (x *ArchiveConfig) GetDealMinDuration() int64
- func (x *ArchiveConfig) GetDealStartOffset() int64
- func (x *ArchiveConfig) GetExcludedMiners() []string
- func (x *ArchiveConfig) GetFastRetrieval() bool
- func (x *ArchiveConfig) GetMaxPrice() uint64
- func (x *ArchiveConfig) GetRenew() *ArchiveRenew
- func (x *ArchiveConfig) GetRepFactor() int32
- func (x *ArchiveConfig) GetTrustedMiners() []string
- func (x *ArchiveConfig) GetVerifiedDeal() bool
- func (*ArchiveConfig) ProtoMessage()
- func (x *ArchiveConfig) ProtoReflect() protoreflect.Message
- func (x *ArchiveConfig) Reset()
- func (x *ArchiveConfig) String() string
- type ArchiveRenew
- func (*ArchiveRenew) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRenew) GetEnabled() bool
- func (x *ArchiveRenew) GetThreshold() int32
- func (*ArchiveRenew) ProtoMessage()
- func (x *ArchiveRenew) ProtoReflect() protoreflect.Message
- func (x *ArchiveRenew) Reset()
- func (x *ArchiveRenew) String() string
- type ArchiveRequest
- func (*ArchiveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRequest) GetArchiveConfig() *ArchiveConfig
- func (x *ArchiveRequest) GetKey() string
- func (x *ArchiveRequest) GetSkipAutomaticVerifiedDeal() bool
- func (*ArchiveRequest) ProtoMessage()
- func (x *ArchiveRequest) ProtoReflect() protoreflect.Message
- func (x *ArchiveRequest) Reset()
- func (x *ArchiveRequest) String() string
- type ArchiveResponse
- type ArchiveStatus
- func (ArchiveStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ArchiveStatus) Enum() *ArchiveStatus
- func (ArchiveStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ArchiveStatus) Number() protoreflect.EnumNumber
- func (x ArchiveStatus) String() string
- func (ArchiveStatus) Type() protoreflect.EnumType
- type ArchiveWatchRequest
- func (*ArchiveWatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveWatchRequest) GetKey() string
- func (*ArchiveWatchRequest) ProtoMessage()
- func (x *ArchiveWatchRequest) ProtoReflect() protoreflect.Message
- func (x *ArchiveWatchRequest) Reset()
- func (x *ArchiveWatchRequest) String() string
- type ArchiveWatchResponse
- func (*ArchiveWatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveWatchResponse) GetMsg() string
- func (*ArchiveWatchResponse) ProtoMessage()
- func (x *ArchiveWatchResponse) ProtoReflect() protoreflect.Message
- func (x *ArchiveWatchResponse) Reset()
- func (x *ArchiveWatchResponse) String() string
- type Archives
- type ArchivesRequest
- type ArchivesResponse
- func (*ArchivesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchivesResponse) GetCurrent() *Archive
- func (x *ArchivesResponse) GetHistory() []*Archive
- func (*ArchivesResponse) ProtoMessage()
- func (x *ArchivesResponse) ProtoReflect() protoreflect.Message
- func (x *ArchivesResponse) Reset()
- func (x *ArchivesResponse) String() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetBootstrapCid() string
- func (x *CreateRequest) GetName() string
- func (x *CreateRequest) GetPrivate() bool
- func (x *CreateRequest) GetUnfreeze() bool
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetLinks() *LinksResponse
- func (x *CreateResponse) GetPinned() int64
- func (x *CreateResponse) GetRetrievalId() string
- func (x *CreateResponse) GetRoot() *Root
- func (x *CreateResponse) GetSeed() []byte
- func (x *CreateResponse) GetSeedCid() string
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type DealInfo
- func (*DealInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DealInfo) GetActivationEpoch() int64
- func (x *DealInfo) GetDealId() uint64
- func (x *DealInfo) GetDuration() uint64
- func (x *DealInfo) GetMessage() string
- func (x *DealInfo) GetMiner() string
- func (x *DealInfo) GetPieceCid() string
- func (x *DealInfo) GetPricePerEpoch() uint64
- func (x *DealInfo) GetProposalCid() string
- func (x *DealInfo) GetSize() uint64
- func (x *DealInfo) GetStartEpoch() uint64
- func (x *DealInfo) GetStateId() uint64
- func (x *DealInfo) GetStateName() string
- func (*DealInfo) ProtoMessage()
- func (x *DealInfo) ProtoReflect() protoreflect.Message
- func (x *DealInfo) Reset()
- func (x *DealInfo) String() string
- type DefaultArchiveConfigRequest
- func (*DefaultArchiveConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultArchiveConfigRequest) GetKey() string
- func (*DefaultArchiveConfigRequest) ProtoMessage()
- func (x *DefaultArchiveConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DefaultArchiveConfigRequest) Reset()
- func (x *DefaultArchiveConfigRequest) String() string
- type DefaultArchiveConfigResponse
- func (*DefaultArchiveConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DefaultArchiveConfigResponse) GetArchiveConfig() *ArchiveConfig
- func (*DefaultArchiveConfigResponse) ProtoMessage()
- func (x *DefaultArchiveConfigResponse) ProtoReflect() protoreflect.Message
- func (x *DefaultArchiveConfigResponse) Reset()
- func (x *DefaultArchiveConfigResponse) String() string
- type LinksRequest
- func (*LinksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinksRequest) GetKey() string
- func (x *LinksRequest) GetPath() string
- func (*LinksRequest) ProtoMessage()
- func (x *LinksRequest) ProtoReflect() protoreflect.Message
- func (x *LinksRequest) Reset()
- func (x *LinksRequest) String() string
- type LinksResponse
- func (*LinksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LinksResponse) GetIpns() string
- func (x *LinksResponse) GetUrl() string
- func (x *LinksResponse) GetWww() string
- func (*LinksResponse) ProtoMessage()
- func (x *LinksResponse) ProtoReflect() protoreflect.Message
- func (x *LinksResponse) Reset()
- func (x *LinksResponse) String() string
- type ListIpfsPathRequest
- func (*ListIpfsPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpfsPathRequest) GetPath() string
- func (*ListIpfsPathRequest) ProtoMessage()
- func (x *ListIpfsPathRequest) ProtoReflect() protoreflect.Message
- func (x *ListIpfsPathRequest) Reset()
- func (x *ListIpfsPathRequest) String() string
- type ListIpfsPathResponse
- func (*ListIpfsPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListIpfsPathResponse) GetItem() *PathItem
- func (*ListIpfsPathResponse) ProtoMessage()
- func (x *ListIpfsPathResponse) ProtoReflect() protoreflect.Message
- func (x *ListIpfsPathResponse) Reset()
- func (x *ListIpfsPathResponse) String() string
- type ListPathRequest
- func (*ListPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPathRequest) GetKey() string
- func (x *ListPathRequest) GetPath() string
- func (*ListPathRequest) ProtoMessage()
- func (x *ListPathRequest) ProtoReflect() protoreflect.Message
- func (x *ListPathRequest) Reset()
- func (x *ListPathRequest) String() string
- type ListPathResponse
- func (*ListPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPathResponse) GetItem() *PathItem
- func (x *ListPathResponse) GetRoot() *Root
- func (*ListPathResponse) ProtoMessage()
- func (x *ListPathResponse) ProtoReflect() protoreflect.Message
- func (x *ListPathResponse) Reset()
- func (x *ListPathResponse) String() string
- type ListRequest
- type ListResponse
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetKey() string
- func (x *Metadata) GetRoles() map[string]PathAccessRole
- func (x *Metadata) GetUpdatedAt() int64
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type MovePathRequest
- func (*MovePathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MovePathRequest) GetFromPath() string
- func (x *MovePathRequest) GetKey() string
- func (x *MovePathRequest) GetToPath() string
- func (*MovePathRequest) ProtoMessage()
- func (x *MovePathRequest) ProtoReflect() protoreflect.Message
- func (x *MovePathRequest) Reset()
- func (x *MovePathRequest) String() string
- type MovePathResponse
- type PathAccessRole
- func (PathAccessRole) Descriptor() protoreflect.EnumDescriptor
- func (x PathAccessRole) Enum() *PathAccessRole
- func (PathAccessRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x PathAccessRole) Number() protoreflect.EnumNumber
- func (x PathAccessRole) String() string
- func (PathAccessRole) Type() protoreflect.EnumType
- type PathItem
- func (*PathItem) Descriptor() ([]byte, []int)deprecated
- func (x *PathItem) GetCid() string
- func (x *PathItem) GetIsDir() bool
- func (x *PathItem) GetItems() []*PathItem
- func (x *PathItem) GetItemsCount() int32
- func (x *PathItem) GetMetadata() *Metadata
- func (x *PathItem) GetName() string
- func (x *PathItem) GetPath() string
- func (x *PathItem) GetSize() int64
- func (*PathItem) ProtoMessage()
- func (x *PathItem) ProtoReflect() protoreflect.Message
- func (x *PathItem) Reset()
- func (x *PathItem) String() string
- type PullIpfsPathRequest
- func (*PullIpfsPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullIpfsPathRequest) GetPath() string
- func (*PullIpfsPathRequest) ProtoMessage()
- func (x *PullIpfsPathRequest) ProtoReflect() protoreflect.Message
- func (x *PullIpfsPathRequest) Reset()
- func (x *PullIpfsPathRequest) String() string
- type PullIpfsPathResponse
- func (*PullIpfsPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullIpfsPathResponse) GetChunk() []byte
- func (*PullIpfsPathResponse) ProtoMessage()
- func (x *PullIpfsPathResponse) ProtoReflect() protoreflect.Message
- func (x *PullIpfsPathResponse) Reset()
- func (x *PullIpfsPathResponse) String() string
- type PullPathAccessRolesRequest
- func (*PullPathAccessRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPathAccessRolesRequest) GetKey() string
- func (x *PullPathAccessRolesRequest) GetPath() string
- func (*PullPathAccessRolesRequest) ProtoMessage()
- func (x *PullPathAccessRolesRequest) ProtoReflect() protoreflect.Message
- func (x *PullPathAccessRolesRequest) Reset()
- func (x *PullPathAccessRolesRequest) String() string
- type PullPathAccessRolesResponse
- func (*PullPathAccessRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PullPathAccessRolesResponse) GetRoles() map[string]PathAccessRole
- func (*PullPathAccessRolesResponse) ProtoMessage()
- func (x *PullPathAccessRolesResponse) ProtoReflect() protoreflect.Message
- func (x *PullPathAccessRolesResponse) Reset()
- func (x *PullPathAccessRolesResponse) String() string
- type PullPathRequest
- func (*PullPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PullPathRequest) GetKey() string
- func (x *PullPathRequest) GetPath() string
- func (*PullPathRequest) ProtoMessage()
- func (x *PullPathRequest) ProtoReflect() protoreflect.Message
- func (x *PullPathRequest) Reset()
- func (x *PullPathRequest) String() string
- type PullPathResponse
- type PushPathAccessRolesRequest
- func (*PushPathAccessRolesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathAccessRolesRequest) GetKey() string
- func (x *PushPathAccessRolesRequest) GetPath() string
- func (x *PushPathAccessRolesRequest) GetRoles() map[string]PathAccessRole
- func (*PushPathAccessRolesRequest) ProtoMessage()
- func (x *PushPathAccessRolesRequest) ProtoReflect() protoreflect.Message
- func (x *PushPathAccessRolesRequest) Reset()
- func (x *PushPathAccessRolesRequest) String() string
- type PushPathAccessRolesResponse
- func (*PushPathAccessRolesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathAccessRolesResponse) GetPinned() int64
- func (*PushPathAccessRolesResponse) ProtoMessage()
- func (x *PushPathAccessRolesResponse) ProtoReflect() protoreflect.Message
- func (x *PushPathAccessRolesResponse) Reset()
- func (x *PushPathAccessRolesResponse) String() string
- type PushPathRequest
- func (*PushPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathRequest) GetChunk() []byte
- func (x *PushPathRequest) GetHeader() *PushPathRequest_Header
- func (m *PushPathRequest) GetPayload() isPushPathRequest_Payload
- func (*PushPathRequest) ProtoMessage()
- func (x *PushPathRequest) ProtoReflect() protoreflect.Message
- func (x *PushPathRequest) Reset()
- func (x *PushPathRequest) String() string
- type PushPathRequest_Chunk
- type PushPathRequest_Header
- func (*PushPathRequest_Header) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathRequest_Header) GetKey() string
- func (x *PushPathRequest_Header) GetPath() string
- func (x *PushPathRequest_Header) GetRoot() string
- func (*PushPathRequest_Header) ProtoMessage()
- func (x *PushPathRequest_Header) ProtoReflect() protoreflect.Message
- func (x *PushPathRequest_Header) Reset()
- func (x *PushPathRequest_Header) String() string
- type PushPathRequest_Header_
- type PushPathResponse
- func (*PushPathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathResponse) GetEvent() *PushPathResponse_Event
- func (*PushPathResponse) ProtoMessage()
- func (x *PushPathResponse) ProtoReflect() protoreflect.Message
- func (x *PushPathResponse) Reset()
- func (x *PushPathResponse) String() string
- type PushPathResponse_Event
- func (*PushPathResponse_Event) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathResponse_Event) GetBytes() int64
- func (x *PushPathResponse_Event) GetName() string
- func (x *PushPathResponse_Event) GetPath() string
- func (x *PushPathResponse_Event) GetPinned() int64
- func (x *PushPathResponse_Event) GetRoot() *Root
- func (x *PushPathResponse_Event) GetSize() string
- func (*PushPathResponse_Event) ProtoMessage()
- func (x *PushPathResponse_Event) ProtoReflect() protoreflect.Message
- func (x *PushPathResponse_Event) Reset()
- func (x *PushPathResponse_Event) String() string
- type PushPathsRequest
- func (*PushPathsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathsRequest) GetChunk() *PushPathsRequest_Chunk
- func (x *PushPathsRequest) GetHeader() *PushPathsRequest_Header
- func (m *PushPathsRequest) GetPayload() isPushPathsRequest_Payload
- func (*PushPathsRequest) ProtoMessage()
- func (x *PushPathsRequest) ProtoReflect() protoreflect.Message
- func (x *PushPathsRequest) Reset()
- func (x *PushPathsRequest) String() string
- type PushPathsRequest_Chunk
- func (*PushPathsRequest_Chunk) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathsRequest_Chunk) GetData() []byte
- func (x *PushPathsRequest_Chunk) GetPath() string
- func (*PushPathsRequest_Chunk) ProtoMessage()
- func (x *PushPathsRequest_Chunk) ProtoReflect() protoreflect.Message
- func (x *PushPathsRequest_Chunk) Reset()
- func (x *PushPathsRequest_Chunk) String() string
- type PushPathsRequest_Chunk_
- type PushPathsRequest_Header
- func (*PushPathsRequest_Header) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathsRequest_Header) GetKey() string
- func (x *PushPathsRequest_Header) GetPaths() []string
- func (x *PushPathsRequest_Header) GetRoot() string
- func (*PushPathsRequest_Header) ProtoMessage()
- func (x *PushPathsRequest_Header) ProtoReflect() protoreflect.Message
- func (x *PushPathsRequest_Header) Reset()
- func (x *PushPathsRequest_Header) String() string
- type PushPathsRequest_Header_
- type PushPathsResponse
- func (*PushPathsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PushPathsResponse) GetCid() string
- func (x *PushPathsResponse) GetPath() string
- func (x *PushPathsResponse) GetPinned() int64
- func (x *PushPathsResponse) GetRoot() *Root
- func (x *PushPathsResponse) GetSize() int64
- func (*PushPathsResponse) ProtoMessage()
- func (x *PushPathsResponse) ProtoReflect() protoreflect.Message
- func (x *PushPathsResponse) Reset()
- func (x *PushPathsResponse) String() string
- type RemovePathRequest
- func (*RemovePathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePathRequest) GetKey() string
- func (x *RemovePathRequest) GetPath() string
- func (x *RemovePathRequest) GetRoot() string
- func (*RemovePathRequest) ProtoMessage()
- func (x *RemovePathRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePathRequest) Reset()
- func (x *RemovePathRequest) String() string
- type RemovePathResponse
- func (*RemovePathResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePathResponse) GetPinned() int64
- func (x *RemovePathResponse) GetRoot() *Root
- func (*RemovePathResponse) ProtoMessage()
- func (x *RemovePathResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePathResponse) Reset()
- func (x *RemovePathResponse) String() string
- type RemoveRequest
- type RemoveResponse
- type Root
- func (*Root) Descriptor() ([]byte, []int)deprecated
- func (x *Root) GetArchives() *Archives
- func (x *Root) GetCreatedAt() int64
- func (x *Root) GetKey() string
- func (x *Root) GetLinkKey() string
- func (x *Root) GetMetadata() *Metadata
- func (x *Root) GetName() string
- func (x *Root) GetOwner() string
- func (x *Root) GetPath() string
- func (x *Root) GetPathMetadata() map[string]*Metadata
- func (x *Root) GetThread() string
- func (x *Root) GetUpdatedAt() int64
- func (x *Root) GetVersion() int32
- func (*Root) ProtoMessage()
- func (x *Root) ProtoReflect() protoreflect.Message
- func (x *Root) Reset()
- func (x *Root) String() string
- type RootRequest
- type RootResponse
- type SetDefaultArchiveConfigRequest
- func (*SetDefaultArchiveConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefaultArchiveConfigRequest) GetArchiveConfig() *ArchiveConfig
- func (x *SetDefaultArchiveConfigRequest) GetKey() string
- func (*SetDefaultArchiveConfigRequest) ProtoMessage()
- func (x *SetDefaultArchiveConfigRequest) ProtoReflect() protoreflect.Message
- func (x *SetDefaultArchiveConfigRequest) Reset()
- func (x *SetDefaultArchiveConfigRequest) String() string
- type SetDefaultArchiveConfigResponse
- func (*SetDefaultArchiveConfigResponse) Descriptor() ([]byte, []int)deprecated
- func (*SetDefaultArchiveConfigResponse) ProtoMessage()
- func (x *SetDefaultArchiveConfigResponse) ProtoReflect() protoreflect.Message
- func (x *SetDefaultArchiveConfigResponse) Reset()
- func (x *SetDefaultArchiveConfigResponse) String() string
- type SetPathRequest
- func (*SetPathRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetPathRequest) GetCid() string
- func (x *SetPathRequest) GetKey() string
- func (x *SetPathRequest) GetPath() string
- func (*SetPathRequest) ProtoMessage()
- func (x *SetPathRequest) ProtoReflect() protoreflect.Message
- func (x *SetPathRequest) Reset()
- func (x *SetPathRequest) String() string
- type SetPathResponse
- type UnimplementedAPIServiceServer
- func (*UnimplementedAPIServiceServer) Archive(context.Context, *ArchiveRequest) (*ArchiveResponse, error)
- func (*UnimplementedAPIServiceServer) ArchiveWatch(*ArchiveWatchRequest, APIService_ArchiveWatchServer) error
- func (*UnimplementedAPIServiceServer) Archives(context.Context, *ArchivesRequest) (*ArchivesResponse, error)
- func (*UnimplementedAPIServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (*UnimplementedAPIServiceServer) DefaultArchiveConfig(context.Context, *DefaultArchiveConfigRequest) (*DefaultArchiveConfigResponse, error)
- func (*UnimplementedAPIServiceServer) Links(context.Context, *LinksRequest) (*LinksResponse, error)
- func (*UnimplementedAPIServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (*UnimplementedAPIServiceServer) ListIpfsPath(context.Context, *ListIpfsPathRequest) (*ListIpfsPathResponse, error)
- func (*UnimplementedAPIServiceServer) ListPath(context.Context, *ListPathRequest) (*ListPathResponse, error)
- func (*UnimplementedAPIServiceServer) MovePath(context.Context, *MovePathRequest) (*MovePathResponse, error)
- func (*UnimplementedAPIServiceServer) PullIpfsPath(*PullIpfsPathRequest, APIService_PullIpfsPathServer) error
- func (*UnimplementedAPIServiceServer) PullPath(*PullPathRequest, APIService_PullPathServer) error
- func (*UnimplementedAPIServiceServer) PullPathAccessRoles(context.Context, *PullPathAccessRolesRequest) (*PullPathAccessRolesResponse, error)
- func (*UnimplementedAPIServiceServer) PushPath(APIService_PushPathServer) error
- func (*UnimplementedAPIServiceServer) PushPathAccessRoles(context.Context, *PushPathAccessRolesRequest) (*PushPathAccessRolesResponse, error)
- func (*UnimplementedAPIServiceServer) PushPaths(APIService_PushPathsServer) error
- func (*UnimplementedAPIServiceServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
- func (*UnimplementedAPIServiceServer) RemovePath(context.Context, *RemovePathRequest) (*RemovePathResponse, error)
- func (*UnimplementedAPIServiceServer) Root(context.Context, *RootRequest) (*RootResponse, error)
- func (*UnimplementedAPIServiceServer) SetDefaultArchiveConfig(context.Context, *SetDefaultArchiveConfigRequest) (*SetDefaultArchiveConfigResponse, error)
- func (*UnimplementedAPIServiceServer) SetPath(context.Context, *SetPathRequest) (*SetPathResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( PathAccessRole_name = map[int32]string{ 0: "PATH_ACCESS_ROLE_UNSPECIFIED", 1: "PATH_ACCESS_ROLE_READER", 2: "PATH_ACCESS_ROLE_WRITER", 3: "PATH_ACCESS_ROLE_ADMIN", } PathAccessRole_value = map[string]int32{ "PATH_ACCESS_ROLE_UNSPECIFIED": 0, "PATH_ACCESS_ROLE_READER": 1, "PATH_ACCESS_ROLE_WRITER": 2, "PATH_ACCESS_ROLE_ADMIN": 3, } )
Enum value maps for PathAccessRole.
var ( ArchiveStatus_name = map[int32]string{ 0: "ARCHIVE_STATUS_UNSPECIFIED", 1: "ARCHIVE_STATUS_QUEUED", 2: "ARCHIVE_STATUS_EXECUTING", 3: "ARCHIVE_STATUS_FAILED", 4: "ARCHIVE_STATUS_CANCELED", 5: "ARCHIVE_STATUS_SUCCESS", } ArchiveStatus_value = map[string]int32{ "ARCHIVE_STATUS_UNSPECIFIED": 0, "ARCHIVE_STATUS_QUEUED": 1, "ARCHIVE_STATUS_EXECUTING": 2, "ARCHIVE_STATUS_FAILED": 3, "ARCHIVE_STATUS_CANCELED": 4, "ARCHIVE_STATUS_SUCCESS": 5, } )
Enum value maps for ArchiveStatus.
var File_api_bucketsd_pb_bucketsd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServiceServer ¶
func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
Types ¶
type APIServiceClient ¶
type APIServiceClient interface { List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) Root(ctx context.Context, in *RootRequest, opts ...grpc.CallOption) (*RootResponse, error) Links(ctx context.Context, in *LinksRequest, opts ...grpc.CallOption) (*LinksResponse, error) ListPath(ctx context.Context, in *ListPathRequest, opts ...grpc.CallOption) (*ListPathResponse, error) ListIpfsPath(ctx context.Context, in *ListIpfsPathRequest, opts ...grpc.CallOption) (*ListIpfsPathResponse, error) PushPath(ctx context.Context, opts ...grpc.CallOption) (APIService_PushPathClient, error) PushPaths(ctx context.Context, opts ...grpc.CallOption) (APIService_PushPathsClient, error) PullPath(ctx context.Context, in *PullPathRequest, opts ...grpc.CallOption) (APIService_PullPathClient, error) PullIpfsPath(ctx context.Context, in *PullIpfsPathRequest, opts ...grpc.CallOption) (APIService_PullIpfsPathClient, error) SetPath(ctx context.Context, in *SetPathRequest, opts ...grpc.CallOption) (*SetPathResponse, error) MovePath(ctx context.Context, in *MovePathRequest, opts ...grpc.CallOption) (*MovePathResponse, error) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc.CallOption) (*RemoveResponse, error) RemovePath(ctx context.Context, in *RemovePathRequest, opts ...grpc.CallOption) (*RemovePathResponse, error) PushPathAccessRoles(ctx context.Context, in *PushPathAccessRolesRequest, opts ...grpc.CallOption) (*PushPathAccessRolesResponse, error) PullPathAccessRoles(ctx context.Context, in *PullPathAccessRolesRequest, opts ...grpc.CallOption) (*PullPathAccessRolesResponse, error) // Archive DefaultArchiveConfig(ctx context.Context, in *DefaultArchiveConfigRequest, opts ...grpc.CallOption) (*DefaultArchiveConfigResponse, error) SetDefaultArchiveConfig(ctx context.Context, in *SetDefaultArchiveConfigRequest, opts ...grpc.CallOption) (*SetDefaultArchiveConfigResponse, error) Archive(ctx context.Context, in *ArchiveRequest, opts ...grpc.CallOption) (*ArchiveResponse, error) Archives(ctx context.Context, in *ArchivesRequest, opts ...grpc.CallOption) (*ArchivesResponse, error) ArchiveWatch(ctx context.Context, in *ArchiveWatchRequest, opts ...grpc.CallOption) (APIService_ArchiveWatchClient, error) }
APIServiceClient is the client API for APIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIServiceClient ¶
func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient
type APIServiceServer ¶
type APIServiceServer interface { List(context.Context, *ListRequest) (*ListResponse, error) Create(context.Context, *CreateRequest) (*CreateResponse, error) Root(context.Context, *RootRequest) (*RootResponse, error) Links(context.Context, *LinksRequest) (*LinksResponse, error) ListPath(context.Context, *ListPathRequest) (*ListPathResponse, error) ListIpfsPath(context.Context, *ListIpfsPathRequest) (*ListIpfsPathResponse, error) PushPath(APIService_PushPathServer) error PushPaths(APIService_PushPathsServer) error PullPath(*PullPathRequest, APIService_PullPathServer) error PullIpfsPath(*PullIpfsPathRequest, APIService_PullIpfsPathServer) error SetPath(context.Context, *SetPathRequest) (*SetPathResponse, error) MovePath(context.Context, *MovePathRequest) (*MovePathResponse, error) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) RemovePath(context.Context, *RemovePathRequest) (*RemovePathResponse, error) PushPathAccessRoles(context.Context, *PushPathAccessRolesRequest) (*PushPathAccessRolesResponse, error) PullPathAccessRoles(context.Context, *PullPathAccessRolesRequest) (*PullPathAccessRolesResponse, error) // Archive DefaultArchiveConfig(context.Context, *DefaultArchiveConfigRequest) (*DefaultArchiveConfigResponse, error) SetDefaultArchiveConfig(context.Context, *SetDefaultArchiveConfigRequest) (*SetDefaultArchiveConfigResponse, error) Archive(context.Context, *ArchiveRequest) (*ArchiveResponse, error) Archives(context.Context, *ArchivesRequest) (*ArchivesResponse, error) ArchiveWatch(*ArchiveWatchRequest, APIService_ArchiveWatchServer) error }
APIServiceServer is the server API for APIService service.
type APIService_ArchiveWatchClient ¶
type APIService_ArchiveWatchClient interface { Recv() (*ArchiveWatchResponse, error) grpc.ClientStream }
type APIService_ArchiveWatchServer ¶
type APIService_ArchiveWatchServer interface { Send(*ArchiveWatchResponse) error grpc.ServerStream }
type APIService_PullIpfsPathClient ¶
type APIService_PullIpfsPathClient interface { Recv() (*PullIpfsPathResponse, error) grpc.ClientStream }
type APIService_PullIpfsPathServer ¶
type APIService_PullIpfsPathServer interface { Send(*PullIpfsPathResponse) error grpc.ServerStream }
type APIService_PullPathClient ¶
type APIService_PullPathClient interface { Recv() (*PullPathResponse, error) grpc.ClientStream }
type APIService_PullPathServer ¶
type APIService_PullPathServer interface { Send(*PullPathResponse) error grpc.ServerStream }
type APIService_PushPathClient ¶
type APIService_PushPathClient interface { Send(*PushPathRequest) error Recv() (*PushPathResponse, error) grpc.ClientStream }
type APIService_PushPathServer ¶
type APIService_PushPathServer interface { Send(*PushPathResponse) error Recv() (*PushPathRequest, error) grpc.ServerStream }
type APIService_PushPathsClient ¶ added in v2.6.0
type APIService_PushPathsClient interface { Send(*PushPathsRequest) error Recv() (*PushPathsResponse, error) grpc.ClientStream }
type APIService_PushPathsServer ¶ added in v2.6.0
type APIService_PushPathsServer interface { Send(*PushPathsResponse) error Recv() (*PushPathsRequest, error) grpc.ServerStream }
type Archive ¶ added in v2.2.0
type Archive struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` ArchiveStatus ArchiveStatus `` /* 136-byte string literal not displayed */ Aborted bool `protobuf:"varint,4,opt,name=aborted,proto3" json:"aborted,omitempty"` AbortedMsg string `protobuf:"bytes,5,opt,name=aborted_msg,json=abortedMsg,proto3" json:"aborted_msg,omitempty"` FailureMsg string `protobuf:"bytes,6,opt,name=failure_msg,json=failureMsg,proto3" json:"failure_msg,omitempty"` CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` DealInfo []*DealInfo `protobuf:"bytes,8,rep,name=deal_info,json=dealInfo,proto3" json:"deal_info,omitempty"` // contains filtered or unexported fields }
func (*Archive) Descriptor
deprecated
added in
v2.2.0
func (*Archive) GetAborted ¶ added in v2.2.0
func (*Archive) GetAbortedMsg ¶ added in v2.2.0
func (*Archive) GetArchiveStatus ¶ added in v2.2.0
func (x *Archive) GetArchiveStatus() ArchiveStatus
func (*Archive) GetCreatedAt ¶ added in v2.2.0
func (*Archive) GetDealInfo ¶ added in v2.2.0
func (*Archive) GetFailureMsg ¶ added in v2.2.0
func (*Archive) ProtoMessage ¶ added in v2.2.0
func (*Archive) ProtoMessage()
func (*Archive) ProtoReflect ¶ added in v2.2.0
func (x *Archive) ProtoReflect() protoreflect.Message
type ArchiveConfig ¶
type ArchiveConfig struct { RepFactor int32 `protobuf:"varint,1,opt,name=rep_factor,json=repFactor,proto3" json:"rep_factor,omitempty"` DealMinDuration int64 `protobuf:"varint,2,opt,name=deal_min_duration,json=dealMinDuration,proto3" json:"deal_min_duration,omitempty"` ExcludedMiners []string `protobuf:"bytes,3,rep,name=excluded_miners,json=excludedMiners,proto3" json:"excluded_miners,omitempty"` TrustedMiners []string `protobuf:"bytes,4,rep,name=trusted_miners,json=trustedMiners,proto3" json:"trusted_miners,omitempty"` CountryCodes []string `protobuf:"bytes,5,rep,name=country_codes,json=countryCodes,proto3" json:"country_codes,omitempty"` Renew *ArchiveRenew `protobuf:"bytes,6,opt,name=renew,proto3" json:"renew,omitempty"` MaxPrice uint64 `protobuf:"varint,7,opt,name=max_price,json=maxPrice,proto3" json:"max_price,omitempty"` FastRetrieval bool `protobuf:"varint,8,opt,name=fast_retrieval,json=fastRetrieval,proto3" json:"fast_retrieval,omitempty"` DealStartOffset int64 `protobuf:"varint,9,opt,name=deal_start_offset,json=dealStartOffset,proto3" json:"deal_start_offset,omitempty"` VerifiedDeal bool `protobuf:"varint,10,opt,name=verified_deal,json=verifiedDeal,proto3" json:"verified_deal,omitempty"` // contains filtered or unexported fields }
func (*ArchiveConfig) Descriptor
deprecated
func (*ArchiveConfig) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveConfig.ProtoReflect.Descriptor instead.
func (*ArchiveConfig) GetCountryCodes ¶
func (x *ArchiveConfig) GetCountryCodes() []string
func (*ArchiveConfig) GetDealMinDuration ¶
func (x *ArchiveConfig) GetDealMinDuration() int64
func (*ArchiveConfig) GetDealStartOffset ¶
func (x *ArchiveConfig) GetDealStartOffset() int64
func (*ArchiveConfig) GetExcludedMiners ¶
func (x *ArchiveConfig) GetExcludedMiners() []string
func (*ArchiveConfig) GetFastRetrieval ¶
func (x *ArchiveConfig) GetFastRetrieval() bool
func (*ArchiveConfig) GetMaxPrice ¶
func (x *ArchiveConfig) GetMaxPrice() uint64
func (*ArchiveConfig) GetRenew ¶
func (x *ArchiveConfig) GetRenew() *ArchiveRenew
func (*ArchiveConfig) GetRepFactor ¶
func (x *ArchiveConfig) GetRepFactor() int32
func (*ArchiveConfig) GetTrustedMiners ¶
func (x *ArchiveConfig) GetTrustedMiners() []string
func (*ArchiveConfig) GetVerifiedDeal ¶ added in v2.6.4
func (x *ArchiveConfig) GetVerifiedDeal() bool
func (*ArchiveConfig) ProtoMessage ¶
func (*ArchiveConfig) ProtoMessage()
func (*ArchiveConfig) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveConfig) ProtoReflect() protoreflect.Message
func (*ArchiveConfig) Reset ¶
func (x *ArchiveConfig) Reset()
func (*ArchiveConfig) String ¶
func (x *ArchiveConfig) String() string
type ArchiveRenew ¶
type ArchiveRenew struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Threshold int32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRenew) Descriptor
deprecated
func (*ArchiveRenew) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRenew.ProtoReflect.Descriptor instead.
func (*ArchiveRenew) GetEnabled ¶
func (x *ArchiveRenew) GetEnabled() bool
func (*ArchiveRenew) GetThreshold ¶
func (x *ArchiveRenew) GetThreshold() int32
func (*ArchiveRenew) ProtoMessage ¶
func (*ArchiveRenew) ProtoMessage()
func (*ArchiveRenew) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveRenew) ProtoReflect() protoreflect.Message
func (*ArchiveRenew) Reset ¶
func (x *ArchiveRenew) Reset()
func (*ArchiveRenew) String ¶
func (x *ArchiveRenew) String() string
type ArchiveRequest ¶
type ArchiveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ArchiveConfig *ArchiveConfig `protobuf:"bytes,2,opt,name=archive_config,json=archiveConfig,proto3" json:"archive_config,omitempty"` SkipAutomaticVerifiedDeal bool `` /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ArchiveRequest) Descriptor
deprecated
func (*ArchiveRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRequest.ProtoReflect.Descriptor instead.
func (*ArchiveRequest) GetArchiveConfig ¶
func (x *ArchiveRequest) GetArchiveConfig() *ArchiveConfig
func (*ArchiveRequest) GetKey ¶
func (x *ArchiveRequest) GetKey() string
func (*ArchiveRequest) GetSkipAutomaticVerifiedDeal ¶ added in v2.6.5
func (x *ArchiveRequest) GetSkipAutomaticVerifiedDeal() bool
func (*ArchiveRequest) ProtoMessage ¶
func (*ArchiveRequest) ProtoMessage()
func (*ArchiveRequest) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveRequest) ProtoReflect() protoreflect.Message
func (*ArchiveRequest) Reset ¶
func (x *ArchiveRequest) Reset()
func (*ArchiveRequest) String ¶
func (x *ArchiveRequest) String() string
type ArchiveResponse ¶
type ArchiveResponse struct {
// contains filtered or unexported fields
}
func (*ArchiveResponse) Descriptor
deprecated
func (*ArchiveResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveResponse.ProtoReflect.Descriptor instead.
func (*ArchiveResponse) ProtoMessage ¶
func (*ArchiveResponse) ProtoMessage()
func (*ArchiveResponse) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveResponse) ProtoReflect() protoreflect.Message
func (*ArchiveResponse) Reset ¶
func (x *ArchiveResponse) Reset()
func (*ArchiveResponse) String ¶
func (x *ArchiveResponse) String() string
type ArchiveStatus ¶ added in v2.2.0
type ArchiveStatus int32
const ( ArchiveStatus_ARCHIVE_STATUS_UNSPECIFIED ArchiveStatus = 0 ArchiveStatus_ARCHIVE_STATUS_QUEUED ArchiveStatus = 1 ArchiveStatus_ARCHIVE_STATUS_EXECUTING ArchiveStatus = 2 ArchiveStatus_ARCHIVE_STATUS_FAILED ArchiveStatus = 3 ArchiveStatus_ARCHIVE_STATUS_CANCELED ArchiveStatus = 4 ArchiveStatus_ARCHIVE_STATUS_SUCCESS ArchiveStatus = 5 )
func (ArchiveStatus) Descriptor ¶ added in v2.2.0
func (ArchiveStatus) Descriptor() protoreflect.EnumDescriptor
func (ArchiveStatus) Enum ¶ added in v2.2.0
func (x ArchiveStatus) Enum() *ArchiveStatus
func (ArchiveStatus) EnumDescriptor
deprecated
added in
v2.2.0
func (ArchiveStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ArchiveStatus.Descriptor instead.
func (ArchiveStatus) Number ¶ added in v2.2.0
func (x ArchiveStatus) Number() protoreflect.EnumNumber
func (ArchiveStatus) String ¶ added in v2.2.0
func (x ArchiveStatus) String() string
func (ArchiveStatus) Type ¶ added in v2.2.0
func (ArchiveStatus) Type() protoreflect.EnumType
type ArchiveWatchRequest ¶
type ArchiveWatchRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ArchiveWatchRequest) Descriptor
deprecated
func (*ArchiveWatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveWatchRequest.ProtoReflect.Descriptor instead.
func (*ArchiveWatchRequest) GetKey ¶
func (x *ArchiveWatchRequest) GetKey() string
func (*ArchiveWatchRequest) ProtoMessage ¶
func (*ArchiveWatchRequest) ProtoMessage()
func (*ArchiveWatchRequest) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveWatchRequest) ProtoReflect() protoreflect.Message
func (*ArchiveWatchRequest) Reset ¶
func (x *ArchiveWatchRequest) Reset()
func (*ArchiveWatchRequest) String ¶
func (x *ArchiveWatchRequest) String() string
type ArchiveWatchResponse ¶
type ArchiveWatchResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*ArchiveWatchResponse) Descriptor
deprecated
func (*ArchiveWatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveWatchResponse.ProtoReflect.Descriptor instead.
func (*ArchiveWatchResponse) GetMsg ¶
func (x *ArchiveWatchResponse) GetMsg() string
func (*ArchiveWatchResponse) ProtoMessage ¶
func (*ArchiveWatchResponse) ProtoMessage()
func (*ArchiveWatchResponse) ProtoReflect ¶ added in v2.2.0
func (x *ArchiveWatchResponse) ProtoReflect() protoreflect.Message
func (*ArchiveWatchResponse) Reset ¶
func (x *ArchiveWatchResponse) Reset()
func (*ArchiveWatchResponse) String ¶
func (x *ArchiveWatchResponse) String() string
type Archives ¶ added in v2.6.0
type Archives struct { Current *Archive `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` History []*Archive `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
func (*Archives) Descriptor
deprecated
added in
v2.6.0
func (*Archives) GetCurrent ¶ added in v2.6.0
func (*Archives) GetHistory ¶ added in v2.6.0
func (*Archives) ProtoMessage ¶ added in v2.6.0
func (*Archives) ProtoMessage()
func (*Archives) ProtoReflect ¶ added in v2.6.0
func (x *Archives) ProtoReflect() protoreflect.Message
type ArchivesRequest ¶ added in v2.2.0
type ArchivesRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*ArchivesRequest) Descriptor
deprecated
added in
v2.2.0
func (*ArchivesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesRequest.ProtoReflect.Descriptor instead.
func (*ArchivesRequest) GetKey ¶ added in v2.2.0
func (x *ArchivesRequest) GetKey() string
func (*ArchivesRequest) ProtoMessage ¶ added in v2.2.0
func (*ArchivesRequest) ProtoMessage()
func (*ArchivesRequest) ProtoReflect ¶ added in v2.2.0
func (x *ArchivesRequest) ProtoReflect() protoreflect.Message
func (*ArchivesRequest) Reset ¶ added in v2.2.0
func (x *ArchivesRequest) Reset()
func (*ArchivesRequest) String ¶ added in v2.2.0
func (x *ArchivesRequest) String() string
type ArchivesResponse ¶ added in v2.2.0
type ArchivesResponse struct { Current *Archive `protobuf:"bytes,1,opt,name=current,proto3" json:"current,omitempty"` History []*Archive `protobuf:"bytes,2,rep,name=history,proto3" json:"history,omitempty"` // contains filtered or unexported fields }
todo: For v3, change this to { Archives archives = 1; }
func (*ArchivesResponse) Descriptor
deprecated
added in
v2.2.0
func (*ArchivesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesResponse.ProtoReflect.Descriptor instead.
func (*ArchivesResponse) GetCurrent ¶ added in v2.2.0
func (x *ArchivesResponse) GetCurrent() *Archive
func (*ArchivesResponse) GetHistory ¶ added in v2.2.0
func (x *ArchivesResponse) GetHistory() []*Archive
func (*ArchivesResponse) ProtoMessage ¶ added in v2.2.0
func (*ArchivesResponse) ProtoMessage()
func (*ArchivesResponse) ProtoReflect ¶ added in v2.2.0
func (x *ArchivesResponse) ProtoReflect() protoreflect.Message
func (*ArchivesResponse) Reset ¶ added in v2.2.0
func (x *ArchivesResponse) Reset()
func (*ArchivesResponse) String ¶ added in v2.2.0
func (x *ArchivesResponse) String() string
type CreateRequest ¶
type CreateRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` BootstrapCid string `protobuf:"bytes,2,opt,name=bootstrap_cid,json=bootstrapCid,proto3" json:"bootstrap_cid,omitempty"` Private bool `protobuf:"varint,3,opt,name=private,proto3" json:"private,omitempty"` Unfreeze bool `protobuf:"varint,4,opt,name=unfreeze,proto3" json:"unfreeze,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetBootstrapCid ¶
func (x *CreateRequest) GetBootstrapCid() string
func (*CreateRequest) GetName ¶
func (x *CreateRequest) GetName() string
func (*CreateRequest) GetPrivate ¶
func (x *CreateRequest) GetPrivate() bool
func (*CreateRequest) GetUnfreeze ¶ added in v2.6.0
func (x *CreateRequest) GetUnfreeze() bool
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶ added in v2.2.0
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Root *Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Links *LinksResponse `protobuf:"bytes,2,opt,name=links,proto3" json:"links,omitempty"` Seed []byte `protobuf:"bytes,3,opt,name=seed,proto3" json:"seed,omitempty"` SeedCid string `protobuf:"bytes,4,opt,name=seed_cid,json=seedCid,proto3" json:"seed_cid,omitempty"` Pinned int64 `protobuf:"varint,5,opt,name=pinned,proto3" json:"pinned,omitempty"` RetrievalId string `protobuf:"bytes,6,opt,name=retrieval_id,json=retrievalId,proto3" json:"retrieval_id,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetLinks ¶
func (x *CreateResponse) GetLinks() *LinksResponse
func (*CreateResponse) GetPinned ¶
func (x *CreateResponse) GetPinned() int64
func (*CreateResponse) GetRetrievalId ¶ added in v2.6.0
func (x *CreateResponse) GetRetrievalId() string
func (*CreateResponse) GetRoot ¶
func (x *CreateResponse) GetRoot() *Root
func (*CreateResponse) GetSeed ¶
func (x *CreateResponse) GetSeed() []byte
func (*CreateResponse) GetSeedCid ¶
func (x *CreateResponse) GetSeedCid() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶ added in v2.2.0
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DealInfo ¶ added in v2.2.0
type DealInfo struct { ProposalCid string `protobuf:"bytes,1,opt,name=proposal_cid,json=proposalCid,proto3" json:"proposal_cid,omitempty"` StateId uint64 `protobuf:"varint,2,opt,name=state_id,json=stateId,proto3" json:"state_id,omitempty"` StateName string `protobuf:"bytes,3,opt,name=state_name,json=stateName,proto3" json:"state_name,omitempty"` Miner string `protobuf:"bytes,4,opt,name=miner,proto3" json:"miner,omitempty"` PieceCid string `protobuf:"bytes,5,opt,name=piece_cid,json=pieceCid,proto3" json:"piece_cid,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` PricePerEpoch uint64 `protobuf:"varint,7,opt,name=price_per_epoch,json=pricePerEpoch,proto3" json:"price_per_epoch,omitempty"` StartEpoch uint64 `protobuf:"varint,8,opt,name=start_epoch,json=startEpoch,proto3" json:"start_epoch,omitempty"` Duration uint64 `protobuf:"varint,9,opt,name=duration,proto3" json:"duration,omitempty"` DealId uint64 `protobuf:"varint,10,opt,name=deal_id,json=dealId,proto3" json:"deal_id,omitempty"` ActivationEpoch int64 `protobuf:"varint,11,opt,name=activation_epoch,json=activationEpoch,proto3" json:"activation_epoch,omitempty"` Message string `protobuf:"bytes,12,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*DealInfo) Descriptor
deprecated
added in
v2.2.0
func (*DealInfo) GetActivationEpoch ¶ added in v2.2.0
func (*DealInfo) GetDuration ¶ added in v2.2.0
func (*DealInfo) GetMessage ¶ added in v2.2.0
func (*DealInfo) GetPieceCid ¶ added in v2.2.0
func (*DealInfo) GetPricePerEpoch ¶ added in v2.2.0
func (*DealInfo) GetProposalCid ¶ added in v2.2.0
func (*DealInfo) GetStartEpoch ¶ added in v2.2.0
func (*DealInfo) GetStateId ¶ added in v2.2.0
func (*DealInfo) GetStateName ¶ added in v2.2.0
func (*DealInfo) ProtoMessage ¶ added in v2.2.0
func (*DealInfo) ProtoMessage()
func (*DealInfo) ProtoReflect ¶ added in v2.2.0
func (x *DealInfo) ProtoReflect() protoreflect.Message
type DefaultArchiveConfigRequest ¶
type DefaultArchiveConfigRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DefaultArchiveConfigRequest) Descriptor
deprecated
func (*DefaultArchiveConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DefaultArchiveConfigRequest.ProtoReflect.Descriptor instead.
func (*DefaultArchiveConfigRequest) GetKey ¶
func (x *DefaultArchiveConfigRequest) GetKey() string
func (*DefaultArchiveConfigRequest) ProtoMessage ¶
func (*DefaultArchiveConfigRequest) ProtoMessage()
func (*DefaultArchiveConfigRequest) ProtoReflect ¶ added in v2.2.0
func (x *DefaultArchiveConfigRequest) ProtoReflect() protoreflect.Message
func (*DefaultArchiveConfigRequest) Reset ¶
func (x *DefaultArchiveConfigRequest) Reset()
func (*DefaultArchiveConfigRequest) String ¶
func (x *DefaultArchiveConfigRequest) String() string
type DefaultArchiveConfigResponse ¶
type DefaultArchiveConfigResponse struct { ArchiveConfig *ArchiveConfig `protobuf:"bytes,1,opt,name=archive_config,json=archiveConfig,proto3" json:"archive_config,omitempty"` // contains filtered or unexported fields }
func (*DefaultArchiveConfigResponse) Descriptor
deprecated
func (*DefaultArchiveConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use DefaultArchiveConfigResponse.ProtoReflect.Descriptor instead.
func (*DefaultArchiveConfigResponse) GetArchiveConfig ¶
func (x *DefaultArchiveConfigResponse) GetArchiveConfig() *ArchiveConfig
func (*DefaultArchiveConfigResponse) ProtoMessage ¶
func (*DefaultArchiveConfigResponse) ProtoMessage()
func (*DefaultArchiveConfigResponse) ProtoReflect ¶ added in v2.2.0
func (x *DefaultArchiveConfigResponse) ProtoReflect() protoreflect.Message
func (*DefaultArchiveConfigResponse) Reset ¶
func (x *DefaultArchiveConfigResponse) Reset()
func (*DefaultArchiveConfigResponse) String ¶
func (x *DefaultArchiveConfigResponse) String() string
type LinksRequest ¶
type LinksRequest 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"` // contains filtered or unexported fields }
func (*LinksRequest) Descriptor
deprecated
func (*LinksRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinksRequest.ProtoReflect.Descriptor instead.
func (*LinksRequest) GetKey ¶
func (x *LinksRequest) GetKey() string
func (*LinksRequest) GetPath ¶
func (x *LinksRequest) GetPath() string
func (*LinksRequest) ProtoMessage ¶
func (*LinksRequest) ProtoMessage()
func (*LinksRequest) ProtoReflect ¶ added in v2.2.0
func (x *LinksRequest) ProtoReflect() protoreflect.Message
func (*LinksRequest) Reset ¶
func (x *LinksRequest) Reset()
func (*LinksRequest) String ¶
func (x *LinksRequest) String() string
type LinksResponse ¶
type LinksResponse 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"` // contains filtered or unexported fields }
func (*LinksResponse) Descriptor
deprecated
func (*LinksResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinksResponse.ProtoReflect.Descriptor instead.
func (*LinksResponse) GetIpns ¶
func (x *LinksResponse) GetIpns() string
func (*LinksResponse) GetUrl ¶
func (x *LinksResponse) GetUrl() string
func (*LinksResponse) GetWww ¶
func (x *LinksResponse) GetWww() string
func (*LinksResponse) ProtoMessage ¶
func (*LinksResponse) ProtoMessage()
func (*LinksResponse) ProtoReflect ¶ added in v2.2.0
func (x *LinksResponse) ProtoReflect() protoreflect.Message
func (*LinksResponse) Reset ¶
func (x *LinksResponse) Reset()
func (*LinksResponse) String ¶
func (x *LinksResponse) String() string
type ListIpfsPathRequest ¶
type ListIpfsPathRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*ListIpfsPathRequest) Descriptor
deprecated
func (*ListIpfsPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIpfsPathRequest.ProtoReflect.Descriptor instead.
func (*ListIpfsPathRequest) GetPath ¶
func (x *ListIpfsPathRequest) GetPath() string
func (*ListIpfsPathRequest) ProtoMessage ¶
func (*ListIpfsPathRequest) ProtoMessage()
func (*ListIpfsPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListIpfsPathRequest) ProtoReflect() protoreflect.Message
func (*ListIpfsPathRequest) Reset ¶
func (x *ListIpfsPathRequest) Reset()
func (*ListIpfsPathRequest) String ¶
func (x *ListIpfsPathRequest) String() string
type ListIpfsPathResponse ¶
type ListIpfsPathResponse struct { Item *PathItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*ListIpfsPathResponse) Descriptor
deprecated
func (*ListIpfsPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIpfsPathResponse.ProtoReflect.Descriptor instead.
func (*ListIpfsPathResponse) GetItem ¶
func (x *ListIpfsPathResponse) GetItem() *PathItem
func (*ListIpfsPathResponse) ProtoMessage ¶
func (*ListIpfsPathResponse) ProtoMessage()
func (*ListIpfsPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListIpfsPathResponse) ProtoReflect() protoreflect.Message
func (*ListIpfsPathResponse) Reset ¶
func (x *ListIpfsPathResponse) Reset()
func (*ListIpfsPathResponse) String ¶
func (x *ListIpfsPathResponse) String() string
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"` // contains filtered or unexported fields }
func (*ListPathRequest) Descriptor
deprecated
func (*ListPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPathRequest.ProtoReflect.Descriptor instead.
func (*ListPathRequest) GetKey ¶
func (x *ListPathRequest) GetKey() string
func (*ListPathRequest) GetPath ¶
func (x *ListPathRequest) GetPath() string
func (*ListPathRequest) ProtoMessage ¶
func (*ListPathRequest) ProtoMessage()
func (*ListPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListPathRequest) ProtoReflect() protoreflect.Message
func (*ListPathRequest) Reset ¶
func (x *ListPathRequest) Reset()
func (*ListPathRequest) String ¶
func (x *ListPathRequest) String() string
type ListPathResponse ¶
type ListPathResponse struct { Item *PathItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Root *Root `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*ListPathResponse) Descriptor
deprecated
func (*ListPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPathResponse.ProtoReflect.Descriptor instead.
func (*ListPathResponse) GetItem ¶
func (x *ListPathResponse) GetItem() *PathItem
func (*ListPathResponse) GetRoot ¶
func (x *ListPathResponse) GetRoot() *Root
func (*ListPathResponse) ProtoMessage ¶
func (*ListPathResponse) ProtoMessage()
func (*ListPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListPathResponse) ProtoReflect() protoreflect.Message
func (*ListPathResponse) Reset ¶
func (x *ListPathResponse) Reset()
func (*ListPathResponse) String ¶
func (x *ListPathResponse) String() string
type ListRequest ¶
type ListRequest struct {
// contains filtered or unexported fields
}
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListResponse ¶
type ListResponse struct { Roots []*Root `protobuf:"bytes,1,rep,name=roots,proto3" json:"roots,omitempty"` // contains filtered or unexported fields }
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetRoots ¶
func (x *ListResponse) GetRoots() []*Root
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type Metadata ¶
type Metadata struct { Roles map[string]PathAccessRole `` /* 188-byte string literal not displayed */ UpdatedAt int64 `protobuf:"varint,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetRoles ¶
func (x *Metadata) GetRoles() map[string]PathAccessRole
func (*Metadata) GetUpdatedAt ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶ added in v2.2.0
func (x *Metadata) ProtoReflect() protoreflect.Message
type MovePathRequest ¶ added in v2.6.4
type MovePathRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` FromPath string `protobuf:"bytes,2,opt,name=from_path,json=fromPath,proto3" json:"from_path,omitempty"` ToPath string `protobuf:"bytes,3,opt,name=to_path,json=toPath,proto3" json:"to_path,omitempty"` // contains filtered or unexported fields }
func (*MovePathRequest) Descriptor
deprecated
added in
v2.6.4
func (*MovePathRequest) Descriptor() ([]byte, []int)
Deprecated: Use MovePathRequest.ProtoReflect.Descriptor instead.
func (*MovePathRequest) GetFromPath ¶ added in v2.6.4
func (x *MovePathRequest) GetFromPath() string
func (*MovePathRequest) GetKey ¶ added in v2.6.4
func (x *MovePathRequest) GetKey() string
func (*MovePathRequest) GetToPath ¶ added in v2.6.4
func (x *MovePathRequest) GetToPath() string
func (*MovePathRequest) ProtoMessage ¶ added in v2.6.4
func (*MovePathRequest) ProtoMessage()
func (*MovePathRequest) ProtoReflect ¶ added in v2.6.4
func (x *MovePathRequest) ProtoReflect() protoreflect.Message
func (*MovePathRequest) Reset ¶ added in v2.6.4
func (x *MovePathRequest) Reset()
func (*MovePathRequest) String ¶ added in v2.6.4
func (x *MovePathRequest) String() string
type MovePathResponse ¶ added in v2.6.4
type MovePathResponse struct {
// contains filtered or unexported fields
}
func (*MovePathResponse) Descriptor
deprecated
added in
v2.6.4
func (*MovePathResponse) Descriptor() ([]byte, []int)
Deprecated: Use MovePathResponse.ProtoReflect.Descriptor instead.
func (*MovePathResponse) ProtoMessage ¶ added in v2.6.4
func (*MovePathResponse) ProtoMessage()
func (*MovePathResponse) ProtoReflect ¶ added in v2.6.4
func (x *MovePathResponse) ProtoReflect() protoreflect.Message
func (*MovePathResponse) Reset ¶ added in v2.6.4
func (x *MovePathResponse) Reset()
func (*MovePathResponse) String ¶ added in v2.6.4
func (x *MovePathResponse) String() string
type PathAccessRole ¶
type PathAccessRole int32
const ( PathAccessRole_PATH_ACCESS_ROLE_UNSPECIFIED PathAccessRole = 0 PathAccessRole_PATH_ACCESS_ROLE_READER PathAccessRole = 1 PathAccessRole_PATH_ACCESS_ROLE_WRITER PathAccessRole = 2 PathAccessRole_PATH_ACCESS_ROLE_ADMIN PathAccessRole = 3 )
func (PathAccessRole) Descriptor ¶ added in v2.2.0
func (PathAccessRole) Descriptor() protoreflect.EnumDescriptor
func (PathAccessRole) Enum ¶ added in v2.2.0
func (x PathAccessRole) Enum() *PathAccessRole
func (PathAccessRole) EnumDescriptor
deprecated
func (PathAccessRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use PathAccessRole.Descriptor instead.
func (PathAccessRole) Number ¶ added in v2.2.0
func (x PathAccessRole) Number() protoreflect.EnumNumber
func (PathAccessRole) String ¶
func (x PathAccessRole) String() string
func (PathAccessRole) Type ¶ added in v2.2.0
func (PathAccessRole) Type() protoreflect.EnumType
type PathItem ¶
type PathItem 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=is_dir,json=isDir,proto3" json:"is_dir,omitempty"` Items []*PathItem `protobuf:"bytes,6,rep,name=items,proto3" json:"items,omitempty"` ItemsCount int32 `protobuf:"varint,7,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"` Metadata *Metadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` // @todo: For v3, change this to 8. // contains filtered or unexported fields }
func (*PathItem) Descriptor
deprecated
func (*PathItem) GetItemsCount ¶
func (*PathItem) GetMetadata ¶
func (*PathItem) ProtoMessage ¶
func (*PathItem) ProtoMessage()
func (*PathItem) ProtoReflect ¶ added in v2.2.0
func (x *PathItem) ProtoReflect() protoreflect.Message
type PullIpfsPathRequest ¶
type PullIpfsPathRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*PullIpfsPathRequest) Descriptor
deprecated
func (*PullIpfsPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullIpfsPathRequest.ProtoReflect.Descriptor instead.
func (*PullIpfsPathRequest) GetPath ¶
func (x *PullIpfsPathRequest) GetPath() string
func (*PullIpfsPathRequest) ProtoMessage ¶
func (*PullIpfsPathRequest) ProtoMessage()
func (*PullIpfsPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *PullIpfsPathRequest) ProtoReflect() protoreflect.Message
func (*PullIpfsPathRequest) Reset ¶
func (x *PullIpfsPathRequest) Reset()
func (*PullIpfsPathRequest) String ¶
func (x *PullIpfsPathRequest) String() string
type PullIpfsPathResponse ¶
type PullIpfsPathResponse struct { Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` // contains filtered or unexported fields }
func (*PullIpfsPathResponse) Descriptor
deprecated
func (*PullIpfsPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullIpfsPathResponse.ProtoReflect.Descriptor instead.
func (*PullIpfsPathResponse) GetChunk ¶
func (x *PullIpfsPathResponse) GetChunk() []byte
func (*PullIpfsPathResponse) ProtoMessage ¶
func (*PullIpfsPathResponse) ProtoMessage()
func (*PullIpfsPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *PullIpfsPathResponse) ProtoReflect() protoreflect.Message
func (*PullIpfsPathResponse) Reset ¶
func (x *PullIpfsPathResponse) Reset()
func (*PullIpfsPathResponse) String ¶
func (x *PullIpfsPathResponse) String() string
type PullPathAccessRolesRequest ¶
type PullPathAccessRolesRequest 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"` // contains filtered or unexported fields }
func (*PullPathAccessRolesRequest) Descriptor
deprecated
func (*PullPathAccessRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPathAccessRolesRequest.ProtoReflect.Descriptor instead.
func (*PullPathAccessRolesRequest) GetKey ¶
func (x *PullPathAccessRolesRequest) GetKey() string
func (*PullPathAccessRolesRequest) GetPath ¶
func (x *PullPathAccessRolesRequest) GetPath() string
func (*PullPathAccessRolesRequest) ProtoMessage ¶
func (*PullPathAccessRolesRequest) ProtoMessage()
func (*PullPathAccessRolesRequest) ProtoReflect ¶ added in v2.2.0
func (x *PullPathAccessRolesRequest) ProtoReflect() protoreflect.Message
func (*PullPathAccessRolesRequest) Reset ¶
func (x *PullPathAccessRolesRequest) Reset()
func (*PullPathAccessRolesRequest) String ¶
func (x *PullPathAccessRolesRequest) String() string
type PullPathAccessRolesResponse ¶
type PullPathAccessRolesResponse struct { Roles map[string]PathAccessRole `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PullPathAccessRolesResponse) Descriptor
deprecated
func (*PullPathAccessRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPathAccessRolesResponse.ProtoReflect.Descriptor instead.
func (*PullPathAccessRolesResponse) GetRoles ¶
func (x *PullPathAccessRolesResponse) GetRoles() map[string]PathAccessRole
func (*PullPathAccessRolesResponse) ProtoMessage ¶
func (*PullPathAccessRolesResponse) ProtoMessage()
func (*PullPathAccessRolesResponse) ProtoReflect ¶ added in v2.2.0
func (x *PullPathAccessRolesResponse) ProtoReflect() protoreflect.Message
func (*PullPathAccessRolesResponse) Reset ¶
func (x *PullPathAccessRolesResponse) Reset()
func (*PullPathAccessRolesResponse) String ¶
func (x *PullPathAccessRolesResponse) String() string
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"` // contains filtered or unexported fields }
func (*PullPathRequest) Descriptor
deprecated
func (*PullPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use PullPathRequest.ProtoReflect.Descriptor instead.
func (*PullPathRequest) GetKey ¶
func (x *PullPathRequest) GetKey() string
func (*PullPathRequest) GetPath ¶
func (x *PullPathRequest) GetPath() string
func (*PullPathRequest) ProtoMessage ¶
func (*PullPathRequest) ProtoMessage()
func (*PullPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *PullPathRequest) ProtoReflect() protoreflect.Message
func (*PullPathRequest) Reset ¶
func (x *PullPathRequest) Reset()
func (*PullPathRequest) String ¶
func (x *PullPathRequest) String() string
type PullPathResponse ¶
type PullPathResponse struct { Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"` // contains filtered or unexported fields }
func (*PullPathResponse) Descriptor
deprecated
func (*PullPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use PullPathResponse.ProtoReflect.Descriptor instead.
func (*PullPathResponse) GetChunk ¶
func (x *PullPathResponse) GetChunk() []byte
func (*PullPathResponse) ProtoMessage ¶
func (*PullPathResponse) ProtoMessage()
func (*PullPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *PullPathResponse) ProtoReflect() protoreflect.Message
func (*PullPathResponse) Reset ¶
func (x *PullPathResponse) Reset()
func (*PullPathResponse) String ¶
func (x *PullPathResponse) String() string
type PushPathAccessRolesRequest ¶
type PushPathAccessRolesRequest 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"` Roles map[string]PathAccessRole `` /* 188-byte string literal not displayed */ // contains filtered or unexported fields }
func (*PushPathAccessRolesRequest) Descriptor
deprecated
func (*PushPathAccessRolesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushPathAccessRolesRequest.ProtoReflect.Descriptor instead.
func (*PushPathAccessRolesRequest) GetKey ¶
func (x *PushPathAccessRolesRequest) GetKey() string
func (*PushPathAccessRolesRequest) GetPath ¶
func (x *PushPathAccessRolesRequest) GetPath() string
func (*PushPathAccessRolesRequest) GetRoles ¶
func (x *PushPathAccessRolesRequest) GetRoles() map[string]PathAccessRole
func (*PushPathAccessRolesRequest) ProtoMessage ¶
func (*PushPathAccessRolesRequest) ProtoMessage()
func (*PushPathAccessRolesRequest) ProtoReflect ¶ added in v2.2.0
func (x *PushPathAccessRolesRequest) ProtoReflect() protoreflect.Message
func (*PushPathAccessRolesRequest) Reset ¶
func (x *PushPathAccessRolesRequest) Reset()
func (*PushPathAccessRolesRequest) String ¶
func (x *PushPathAccessRolesRequest) String() string
type PushPathAccessRolesResponse ¶
type PushPathAccessRolesResponse struct { Pinned int64 `protobuf:"varint,1,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*PushPathAccessRolesResponse) Descriptor
deprecated
func (*PushPathAccessRolesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushPathAccessRolesResponse.ProtoReflect.Descriptor instead.
func (*PushPathAccessRolesResponse) GetPinned ¶
func (x *PushPathAccessRolesResponse) GetPinned() int64
func (*PushPathAccessRolesResponse) ProtoMessage ¶
func (*PushPathAccessRolesResponse) ProtoMessage()
func (*PushPathAccessRolesResponse) ProtoReflect ¶ added in v2.2.0
func (x *PushPathAccessRolesResponse) ProtoReflect() protoreflect.Message
func (*PushPathAccessRolesResponse) Reset ¶
func (x *PushPathAccessRolesResponse) Reset()
func (*PushPathAccessRolesResponse) String ¶
func (x *PushPathAccessRolesResponse) String() string
type PushPathRequest ¶
type PushPathRequest struct { // Types that are assignable to Payload: // *PushPathRequest_Header_ // *PushPathRequest_Chunk Payload isPushPathRequest_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*PushPathRequest) Descriptor
deprecated
func (*PushPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushPathRequest.ProtoReflect.Descriptor instead.
func (*PushPathRequest) GetChunk ¶
func (x *PushPathRequest) GetChunk() []byte
func (*PushPathRequest) GetHeader ¶
func (x *PushPathRequest) GetHeader() *PushPathRequest_Header
func (*PushPathRequest) GetPayload ¶
func (m *PushPathRequest) GetPayload() isPushPathRequest_Payload
func (*PushPathRequest) ProtoMessage ¶
func (*PushPathRequest) ProtoMessage()
func (*PushPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *PushPathRequest) ProtoReflect() protoreflect.Message
func (*PushPathRequest) Reset ¶
func (x *PushPathRequest) Reset()
func (*PushPathRequest) String ¶
func (x *PushPathRequest) String() string
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"` // contains filtered or unexported fields }
func (*PushPathRequest_Header) Descriptor
deprecated
func (*PushPathRequest_Header) Descriptor() ([]byte, []int)
Deprecated: Use PushPathRequest_Header.ProtoReflect.Descriptor instead.
func (*PushPathRequest_Header) GetKey ¶
func (x *PushPathRequest_Header) GetKey() string
func (*PushPathRequest_Header) GetPath ¶
func (x *PushPathRequest_Header) GetPath() string
func (*PushPathRequest_Header) GetRoot ¶
func (x *PushPathRequest_Header) GetRoot() string
func (*PushPathRequest_Header) ProtoMessage ¶
func (*PushPathRequest_Header) ProtoMessage()
func (*PushPathRequest_Header) ProtoReflect ¶ added in v2.2.0
func (x *PushPathRequest_Header) ProtoReflect() protoreflect.Message
func (*PushPathRequest_Header) Reset ¶
func (x *PushPathRequest_Header) Reset()
func (*PushPathRequest_Header) String ¶
func (x *PushPathRequest_Header) String() string
type PushPathRequest_Header_ ¶
type PushPathRequest_Header_ struct {
Header *PushPathRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type PushPathResponse ¶
type PushPathResponse struct { Event *PushPathResponse_Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*PushPathResponse) Descriptor
deprecated
func (*PushPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushPathResponse.ProtoReflect.Descriptor instead.
func (*PushPathResponse) GetEvent ¶
func (x *PushPathResponse) GetEvent() *PushPathResponse_Event
func (*PushPathResponse) ProtoMessage ¶
func (*PushPathResponse) ProtoMessage()
func (*PushPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *PushPathResponse) ProtoReflect() protoreflect.Message
func (*PushPathResponse) Reset ¶
func (x *PushPathResponse) Reset()
func (*PushPathResponse) String ¶
func (x *PushPathResponse) String() string
type PushPathResponse_Event ¶
type PushPathResponse_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"` Pinned int64 `protobuf:"varint,6,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*PushPathResponse_Event) Descriptor
deprecated
func (*PushPathResponse_Event) Descriptor() ([]byte, []int)
Deprecated: Use PushPathResponse_Event.ProtoReflect.Descriptor instead.
func (*PushPathResponse_Event) GetBytes ¶
func (x *PushPathResponse_Event) GetBytes() int64
func (*PushPathResponse_Event) GetName ¶
func (x *PushPathResponse_Event) GetName() string
func (*PushPathResponse_Event) GetPath ¶
func (x *PushPathResponse_Event) GetPath() string
func (*PushPathResponse_Event) GetPinned ¶
func (x *PushPathResponse_Event) GetPinned() int64
func (*PushPathResponse_Event) GetRoot ¶
func (x *PushPathResponse_Event) GetRoot() *Root
func (*PushPathResponse_Event) GetSize ¶
func (x *PushPathResponse_Event) GetSize() string
func (*PushPathResponse_Event) ProtoMessage ¶
func (*PushPathResponse_Event) ProtoMessage()
func (*PushPathResponse_Event) ProtoReflect ¶ added in v2.2.0
func (x *PushPathResponse_Event) ProtoReflect() protoreflect.Message
func (*PushPathResponse_Event) Reset ¶
func (x *PushPathResponse_Event) Reset()
func (*PushPathResponse_Event) String ¶
func (x *PushPathResponse_Event) String() string
type PushPathsRequest ¶ added in v2.6.0
type PushPathsRequest struct { // Types that are assignable to Payload: // *PushPathsRequest_Header_ // *PushPathsRequest_Chunk_ Payload isPushPathsRequest_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*PushPathsRequest) Descriptor
deprecated
added in
v2.6.0
func (*PushPathsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PushPathsRequest.ProtoReflect.Descriptor instead.
func (*PushPathsRequest) GetChunk ¶ added in v2.6.0
func (x *PushPathsRequest) GetChunk() *PushPathsRequest_Chunk
func (*PushPathsRequest) GetHeader ¶ added in v2.6.0
func (x *PushPathsRequest) GetHeader() *PushPathsRequest_Header
func (*PushPathsRequest) GetPayload ¶ added in v2.6.0
func (m *PushPathsRequest) GetPayload() isPushPathsRequest_Payload
func (*PushPathsRequest) ProtoMessage ¶ added in v2.6.0
func (*PushPathsRequest) ProtoMessage()
func (*PushPathsRequest) ProtoReflect ¶ added in v2.6.0
func (x *PushPathsRequest) ProtoReflect() protoreflect.Message
func (*PushPathsRequest) Reset ¶ added in v2.6.0
func (x *PushPathsRequest) Reset()
func (*PushPathsRequest) String ¶ added in v2.6.0
func (x *PushPathsRequest) String() string
type PushPathsRequest_Chunk ¶ added in v2.6.0
type PushPathsRequest_Chunk struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*PushPathsRequest_Chunk) Descriptor
deprecated
added in
v2.6.0
func (*PushPathsRequest_Chunk) Descriptor() ([]byte, []int)
Deprecated: Use PushPathsRequest_Chunk.ProtoReflect.Descriptor instead.
func (*PushPathsRequest_Chunk) GetData ¶ added in v2.6.0
func (x *PushPathsRequest_Chunk) GetData() []byte
func (*PushPathsRequest_Chunk) GetPath ¶ added in v2.6.0
func (x *PushPathsRequest_Chunk) GetPath() string
func (*PushPathsRequest_Chunk) ProtoMessage ¶ added in v2.6.0
func (*PushPathsRequest_Chunk) ProtoMessage()
func (*PushPathsRequest_Chunk) ProtoReflect ¶ added in v2.6.0
func (x *PushPathsRequest_Chunk) ProtoReflect() protoreflect.Message
func (*PushPathsRequest_Chunk) Reset ¶ added in v2.6.0
func (x *PushPathsRequest_Chunk) Reset()
func (*PushPathsRequest_Chunk) String ¶ added in v2.6.0
func (x *PushPathsRequest_Chunk) String() string
type PushPathsRequest_Chunk_ ¶ added in v2.6.0
type PushPathsRequest_Chunk_ struct {
Chunk *PushPathsRequest_Chunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"`
}
type PushPathsRequest_Header ¶ added in v2.6.0
type PushPathsRequest_Header struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Root string `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` Paths []string `protobuf:"bytes,3,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*PushPathsRequest_Header) Descriptor
deprecated
added in
v2.6.0
func (*PushPathsRequest_Header) Descriptor() ([]byte, []int)
Deprecated: Use PushPathsRequest_Header.ProtoReflect.Descriptor instead.
func (*PushPathsRequest_Header) GetKey ¶ added in v2.6.0
func (x *PushPathsRequest_Header) GetKey() string
func (*PushPathsRequest_Header) GetPaths ¶ added in v2.6.11
func (x *PushPathsRequest_Header) GetPaths() []string
func (*PushPathsRequest_Header) GetRoot ¶ added in v2.6.0
func (x *PushPathsRequest_Header) GetRoot() string
func (*PushPathsRequest_Header) ProtoMessage ¶ added in v2.6.0
func (*PushPathsRequest_Header) ProtoMessage()
func (*PushPathsRequest_Header) ProtoReflect ¶ added in v2.6.0
func (x *PushPathsRequest_Header) ProtoReflect() protoreflect.Message
func (*PushPathsRequest_Header) Reset ¶ added in v2.6.0
func (x *PushPathsRequest_Header) Reset()
func (*PushPathsRequest_Header) String ¶ added in v2.6.0
func (x *PushPathsRequest_Header) String() string
type PushPathsRequest_Header_ ¶ added in v2.6.0
type PushPathsRequest_Header_ struct {
Header *PushPathsRequest_Header `protobuf:"bytes,1,opt,name=header,proto3,oneof"`
}
type PushPathsResponse ¶ added in v2.6.0
type PushPathsResponse struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Pinned int64 `protobuf:"varint,4,opt,name=pinned,proto3" json:"pinned,omitempty"` Root *Root `protobuf:"bytes,5,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*PushPathsResponse) Descriptor
deprecated
added in
v2.6.0
func (*PushPathsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PushPathsResponse.ProtoReflect.Descriptor instead.
func (*PushPathsResponse) GetCid ¶ added in v2.6.0
func (x *PushPathsResponse) GetCid() string
func (*PushPathsResponse) GetPath ¶ added in v2.6.0
func (x *PushPathsResponse) GetPath() string
func (*PushPathsResponse) GetPinned ¶ added in v2.6.0
func (x *PushPathsResponse) GetPinned() int64
func (*PushPathsResponse) GetRoot ¶ added in v2.6.0
func (x *PushPathsResponse) GetRoot() *Root
func (*PushPathsResponse) GetSize ¶ added in v2.6.0
func (x *PushPathsResponse) GetSize() int64
func (*PushPathsResponse) ProtoMessage ¶ added in v2.6.0
func (*PushPathsResponse) ProtoMessage()
func (*PushPathsResponse) ProtoReflect ¶ added in v2.6.0
func (x *PushPathsResponse) ProtoReflect() protoreflect.Message
func (*PushPathsResponse) Reset ¶ added in v2.6.0
func (x *PushPathsResponse) Reset()
func (*PushPathsResponse) String ¶ added in v2.6.0
func (x *PushPathsResponse) String() string
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"` // contains filtered or unexported fields }
func (*RemovePathRequest) Descriptor
deprecated
func (*RemovePathRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePathRequest.ProtoReflect.Descriptor instead.
func (*RemovePathRequest) GetKey ¶
func (x *RemovePathRequest) GetKey() string
func (*RemovePathRequest) GetPath ¶
func (x *RemovePathRequest) GetPath() string
func (*RemovePathRequest) GetRoot ¶
func (x *RemovePathRequest) GetRoot() string
func (*RemovePathRequest) ProtoMessage ¶
func (*RemovePathRequest) ProtoMessage()
func (*RemovePathRequest) ProtoReflect ¶ added in v2.2.0
func (x *RemovePathRequest) ProtoReflect() protoreflect.Message
func (*RemovePathRequest) Reset ¶
func (x *RemovePathRequest) Reset()
func (*RemovePathRequest) String ¶
func (x *RemovePathRequest) String() string
type RemovePathResponse ¶
type RemovePathResponse struct { Root *Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` Pinned int64 `protobuf:"varint,2,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*RemovePathResponse) Descriptor
deprecated
func (*RemovePathResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePathResponse.ProtoReflect.Descriptor instead.
func (*RemovePathResponse) GetPinned ¶
func (x *RemovePathResponse) GetPinned() int64
func (*RemovePathResponse) GetRoot ¶
func (x *RemovePathResponse) GetRoot() *Root
func (*RemovePathResponse) ProtoMessage ¶
func (*RemovePathResponse) ProtoMessage()
func (*RemovePathResponse) ProtoReflect ¶ added in v2.2.0
func (x *RemovePathResponse) ProtoReflect() protoreflect.Message
func (*RemovePathResponse) Reset ¶
func (x *RemovePathResponse) Reset()
func (*RemovePathResponse) String ¶
func (x *RemovePathResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RemoveRequest) Descriptor
deprecated
func (*RemoveRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRequest.ProtoReflect.Descriptor instead.
func (*RemoveRequest) GetKey ¶
func (x *RemoveRequest) GetKey() string
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) ProtoReflect ¶ added in v2.2.0
func (x *RemoveRequest) ProtoReflect() protoreflect.Message
func (*RemoveRequest) Reset ¶
func (x *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (x *RemoveRequest) String() string
type RemoveResponse ¶
type RemoveResponse struct { Pinned int64 `protobuf:"varint,1,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*RemoveResponse) Descriptor
deprecated
func (*RemoveResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveResponse.ProtoReflect.Descriptor instead.
func (*RemoveResponse) GetPinned ¶
func (x *RemoveResponse) GetPinned() int64
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) ProtoReflect ¶ added in v2.2.0
func (x *RemoveResponse) ProtoReflect() protoreflect.Message
func (*RemoveResponse) Reset ¶
func (x *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (x *RemoveResponse) String() string
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=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt int64 `protobuf:"varint,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Thread string `protobuf:"bytes,6,opt,name=thread,proto3" json:"thread,omitempty"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` Version int32 `protobuf:"varint,8,opt,name=version,proto3" json:"version,omitempty"` Metadata *Metadata `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"` LinkKey string `protobuf:"bytes,10,opt,name=link_key,json=linkKey,proto3" json:"link_key,omitempty"` PathMetadata map[string]*Metadata `` /* 186-byte string literal not displayed */ Archives *Archives `protobuf:"bytes,12,opt,name=archives,proto3" json:"archives,omitempty"` // contains filtered or unexported fields }
func (*Root) Descriptor
deprecated
func (*Root) GetArchives ¶ added in v2.6.0
func (*Root) GetCreatedAt ¶
func (*Root) GetLinkKey ¶ added in v2.6.0
func (*Root) GetMetadata ¶
func (*Root) GetPathMetadata ¶ added in v2.6.0
func (*Root) GetUpdatedAt ¶
func (*Root) GetVersion ¶
func (*Root) ProtoMessage ¶
func (*Root) ProtoMessage()
func (*Root) ProtoReflect ¶ added in v2.2.0
func (x *Root) ProtoReflect() protoreflect.Message
type RootRequest ¶
type RootRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*RootRequest) Descriptor
deprecated
func (*RootRequest) Descriptor() ([]byte, []int)
Deprecated: Use RootRequest.ProtoReflect.Descriptor instead.
func (*RootRequest) GetKey ¶
func (x *RootRequest) GetKey() string
func (*RootRequest) ProtoMessage ¶
func (*RootRequest) ProtoMessage()
func (*RootRequest) ProtoReflect ¶ added in v2.2.0
func (x *RootRequest) ProtoReflect() protoreflect.Message
func (*RootRequest) Reset ¶
func (x *RootRequest) Reset()
func (*RootRequest) String ¶
func (x *RootRequest) String() string
type RootResponse ¶
type RootResponse struct { Root *Root `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"` // contains filtered or unexported fields }
func (*RootResponse) Descriptor
deprecated
func (*RootResponse) Descriptor() ([]byte, []int)
Deprecated: Use RootResponse.ProtoReflect.Descriptor instead.
func (*RootResponse) GetRoot ¶
func (x *RootResponse) GetRoot() *Root
func (*RootResponse) ProtoMessage ¶
func (*RootResponse) ProtoMessage()
func (*RootResponse) ProtoReflect ¶ added in v2.2.0
func (x *RootResponse) ProtoReflect() protoreflect.Message
func (*RootResponse) Reset ¶
func (x *RootResponse) Reset()
func (*RootResponse) String ¶
func (x *RootResponse) String() string
type SetDefaultArchiveConfigRequest ¶
type SetDefaultArchiveConfigRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ArchiveConfig *ArchiveConfig `protobuf:"bytes,2,opt,name=archive_config,json=archiveConfig,proto3" json:"archive_config,omitempty"` // contains filtered or unexported fields }
func (*SetDefaultArchiveConfigRequest) Descriptor
deprecated
func (*SetDefaultArchiveConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultArchiveConfigRequest.ProtoReflect.Descriptor instead.
func (*SetDefaultArchiveConfigRequest) GetArchiveConfig ¶
func (x *SetDefaultArchiveConfigRequest) GetArchiveConfig() *ArchiveConfig
func (*SetDefaultArchiveConfigRequest) GetKey ¶
func (x *SetDefaultArchiveConfigRequest) GetKey() string
func (*SetDefaultArchiveConfigRequest) ProtoMessage ¶
func (*SetDefaultArchiveConfigRequest) ProtoMessage()
func (*SetDefaultArchiveConfigRequest) ProtoReflect ¶ added in v2.2.0
func (x *SetDefaultArchiveConfigRequest) ProtoReflect() protoreflect.Message
func (*SetDefaultArchiveConfigRequest) Reset ¶
func (x *SetDefaultArchiveConfigRequest) Reset()
func (*SetDefaultArchiveConfigRequest) String ¶
func (x *SetDefaultArchiveConfigRequest) String() string
type SetDefaultArchiveConfigResponse ¶
type SetDefaultArchiveConfigResponse struct {
// contains filtered or unexported fields
}
func (*SetDefaultArchiveConfigResponse) Descriptor
deprecated
func (*SetDefaultArchiveConfigResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultArchiveConfigResponse.ProtoReflect.Descriptor instead.
func (*SetDefaultArchiveConfigResponse) ProtoMessage ¶
func (*SetDefaultArchiveConfigResponse) ProtoMessage()
func (*SetDefaultArchiveConfigResponse) ProtoReflect ¶ added in v2.2.0
func (x *SetDefaultArchiveConfigResponse) ProtoReflect() protoreflect.Message
func (*SetDefaultArchiveConfigResponse) Reset ¶
func (x *SetDefaultArchiveConfigResponse) Reset()
func (*SetDefaultArchiveConfigResponse) String ¶
func (x *SetDefaultArchiveConfigResponse) String() string
type SetPathRequest ¶
type SetPathRequest 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"` Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"` // contains filtered or unexported fields }
func (*SetPathRequest) Descriptor
deprecated
func (*SetPathRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPathRequest.ProtoReflect.Descriptor instead.
func (*SetPathRequest) GetCid ¶
func (x *SetPathRequest) GetCid() string
func (*SetPathRequest) GetKey ¶
func (x *SetPathRequest) GetKey() string
func (*SetPathRequest) GetPath ¶
func (x *SetPathRequest) GetPath() string
func (*SetPathRequest) ProtoMessage ¶
func (*SetPathRequest) ProtoMessage()
func (*SetPathRequest) ProtoReflect ¶ added in v2.2.0
func (x *SetPathRequest) ProtoReflect() protoreflect.Message
func (*SetPathRequest) Reset ¶
func (x *SetPathRequest) Reset()
func (*SetPathRequest) String ¶
func (x *SetPathRequest) String() string
type SetPathResponse ¶
type SetPathResponse struct { Pinned int64 `protobuf:"varint,1,opt,name=pinned,proto3" json:"pinned,omitempty"` // contains filtered or unexported fields }
func (*SetPathResponse) Descriptor
deprecated
func (*SetPathResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetPathResponse.ProtoReflect.Descriptor instead.
func (*SetPathResponse) GetPinned ¶
func (x *SetPathResponse) GetPinned() int64
func (*SetPathResponse) ProtoMessage ¶
func (*SetPathResponse) ProtoMessage()
func (*SetPathResponse) ProtoReflect ¶ added in v2.2.0
func (x *SetPathResponse) ProtoReflect() protoreflect.Message
func (*SetPathResponse) Reset ¶
func (x *SetPathResponse) Reset()
func (*SetPathResponse) String ¶
func (x *SetPathResponse) String() string
type UnimplementedAPIServiceServer ¶
type UnimplementedAPIServiceServer struct { }
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) Archive ¶
func (*UnimplementedAPIServiceServer) Archive(context.Context, *ArchiveRequest) (*ArchiveResponse, error)
func (*UnimplementedAPIServiceServer) ArchiveWatch ¶
func (*UnimplementedAPIServiceServer) ArchiveWatch(*ArchiveWatchRequest, APIService_ArchiveWatchServer) error
func (*UnimplementedAPIServiceServer) Archives ¶ added in v2.2.0
func (*UnimplementedAPIServiceServer) Archives(context.Context, *ArchivesRequest) (*ArchivesResponse, error)
func (*UnimplementedAPIServiceServer) Create ¶
func (*UnimplementedAPIServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (*UnimplementedAPIServiceServer) DefaultArchiveConfig ¶
func (*UnimplementedAPIServiceServer) DefaultArchiveConfig(context.Context, *DefaultArchiveConfigRequest) (*DefaultArchiveConfigResponse, error)
func (*UnimplementedAPIServiceServer) Links ¶
func (*UnimplementedAPIServiceServer) Links(context.Context, *LinksRequest) (*LinksResponse, error)
func (*UnimplementedAPIServiceServer) List ¶
func (*UnimplementedAPIServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (*UnimplementedAPIServiceServer) ListIpfsPath ¶
func (*UnimplementedAPIServiceServer) ListIpfsPath(context.Context, *ListIpfsPathRequest) (*ListIpfsPathResponse, error)
func (*UnimplementedAPIServiceServer) ListPath ¶
func (*UnimplementedAPIServiceServer) ListPath(context.Context, *ListPathRequest) (*ListPathResponse, error)
func (*UnimplementedAPIServiceServer) MovePath ¶ added in v2.6.4
func (*UnimplementedAPIServiceServer) MovePath(context.Context, *MovePathRequest) (*MovePathResponse, error)
func (*UnimplementedAPIServiceServer) PullIpfsPath ¶
func (*UnimplementedAPIServiceServer) PullIpfsPath(*PullIpfsPathRequest, APIService_PullIpfsPathServer) error
func (*UnimplementedAPIServiceServer) PullPath ¶
func (*UnimplementedAPIServiceServer) PullPath(*PullPathRequest, APIService_PullPathServer) error
func (*UnimplementedAPIServiceServer) PullPathAccessRoles ¶
func (*UnimplementedAPIServiceServer) PullPathAccessRoles(context.Context, *PullPathAccessRolesRequest) (*PullPathAccessRolesResponse, error)
func (*UnimplementedAPIServiceServer) PushPath ¶
func (*UnimplementedAPIServiceServer) PushPath(APIService_PushPathServer) error
func (*UnimplementedAPIServiceServer) PushPathAccessRoles ¶
func (*UnimplementedAPIServiceServer) PushPathAccessRoles(context.Context, *PushPathAccessRolesRequest) (*PushPathAccessRolesResponse, error)
func (*UnimplementedAPIServiceServer) PushPaths ¶ added in v2.6.0
func (*UnimplementedAPIServiceServer) PushPaths(APIService_PushPathsServer) error
func (*UnimplementedAPIServiceServer) Remove ¶
func (*UnimplementedAPIServiceServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error)
func (*UnimplementedAPIServiceServer) RemovePath ¶
func (*UnimplementedAPIServiceServer) RemovePath(context.Context, *RemovePathRequest) (*RemovePathResponse, error)
func (*UnimplementedAPIServiceServer) Root ¶
func (*UnimplementedAPIServiceServer) Root(context.Context, *RootRequest) (*RootResponse, error)
func (*UnimplementedAPIServiceServer) SetDefaultArchiveConfig ¶
func (*UnimplementedAPIServiceServer) SetDefaultArchiveConfig(context.Context, *SetDefaultArchiveConfigRequest) (*SetDefaultArchiveConfigResponse, error)
func (*UnimplementedAPIServiceServer) SetPath ¶
func (*UnimplementedAPIServiceServer) SetPath(context.Context, *SetPathRequest) (*SetPathResponse, error)