SYMBOL INDEX (3439 symbols across 148 files) FILE: api/apitest/apitest.go constant SessionSecret (line 30) | SessionSecret = "hubsession" function MakeTextile (line 32) | func MakeTextile(t *testing.T) core.Config { function DefaultTextileConfig (line 38) | func DefaultTextileConfig(t util.TestingTWithCleanup) core.Config { type Options (line 65) | type Options struct type Option (line 70) | type Option function WithRepoPath (line 72) | func WithRepoPath(repoPath string) Option { function WithoutAutoShutdown (line 78) | func WithoutAutoShutdown() Option { function MakeTextileWithConfig (line 84) | func MakeTextileWithConfig(t util.TestingTWithCleanup, conf core.Config,... function DefaultBillingConfig (line 106) | func DefaultBillingConfig(t util.TestingTWithCleanup) billing.Config { function MakeBillingWithConfig (line 126) | func MakeBillingWithConfig(t util.TestingTWithCleanup, conf billing.Conf... function NewUsername (line 137) | func NewUsername() string { function NewEmail (line 141) | func NewEmail() string { function Signup (line 145) | func Signup(t util.TestingTWithCleanup, client *client.Client, conf core... function Signin (line 162) | func Signin(t *testing.T, client *client.Client, conf core.Config, usern... function ConfirmEmail (line 179) | func ConfirmEmail(t util.TestingTWithCleanup, gurl string, secret string) { function GetMongoUri (line 188) | func GetMongoUri() string { function GetIPFSApiAddr (line 197) | func GetIPFSApiAddr() ma.Multiaddr { function StartServices (line 206) | func StartServices() (cleanup func()) { function checkServices (line 272) | func checkServices() error { FILE: api/billingd/analytics/analytics.go type Client (line 17) | type Client struct method Identify (line 51) | func (c *Client) Identify(key string, accountType mdb.AccountType, act... method TrackEvent (line 77) | func (c *Client) TrackEvent(key string, accountType mdb.AccountType, a... method FormatUnix (line 100) | func (c *Client) FormatUnix(seconds int64) string { function NewClient (line 23) | func NewClient(segmentAPIKey, prefix string, debug bool) (*Client, error) { FILE: api/billingd/analytics/events.go type Event (line 8) | type Event method String (line 28) | func (e Event) String() string { constant SignIn (line 11) | SignIn Event = iota constant AccountDestroyed (line 12) | AccountDestroyed constant KeyAccountCreated (line 13) | KeyAccountCreated constant KeyUserCreated (line 14) | KeyUserCreated constant OrgCreated (line 15) | OrgCreated constant OrgLeave (line 16) | OrgLeave constant OrgDestroyed (line 17) | OrgDestroyed constant OrgInviteCreated (line 18) | OrgInviteCreated constant GracePeriodStart (line 19) | GracePeriodStart constant GracePeriodEnd (line 20) | GracePeriodEnd constant BillingSetup (line 21) | BillingSetup constant BucketCreated (line 22) | BucketCreated constant BucketArchiveCreated (line 23) | BucketArchiveCreated constant MailboxCreated (line 24) | MailboxCreated constant ThreadDbCreated (line 25) | ThreadDbCreated FILE: api/billingd/client/client.go type Client (line 18) | type Client struct method Close (line 36) | func (c *Client) Close() error { method CheckHealth (line 40) | func (c *Client) CheckHealth(ctx context.Context) error { method CreateCustomer (line 45) | func (c *Client) CreateCustomer( method GetCustomer (line 80) | func (c *Client) GetCustomer(ctx context.Context, key thread.PubKey) (... method GetCustomerSession (line 86) | func (c *Client) GetCustomerSession(ctx context.Context, key thread.Pu... method ListDependentCustomers (line 92) | func (c *Client) ListDependentCustomers(ctx context.Context, key threa... method UpdateCustomer (line 105) | func (c *Client) UpdateCustomer( method UpdateCustomerSubscription (line 121) | func (c *Client) UpdateCustomerSubscription( method RecreateCustomerSubscription (line 138) | func (c *Client) RecreateCustomerSubscription(ctx context.Context, key... method DeleteCustomer (line 145) | func (c *Client) DeleteCustomer(ctx context.Context, key thread.PubKey... method GetCustomerUsage (line 152) | func (c *Client) GetCustomerUsage(ctx context.Context, key thread.PubK... method IncCustomerUsage (line 158) | func (c *Client) IncCustomerUsage( method ReportCustomerUsage (line 169) | func (c *Client) ReportCustomerUsage(ctx context.Context, key thread.P... method Identify (line 177) | func (c *Client) Identify( method TrackEvent (line 197) | func (c *Client) TrackEvent( function NewClient (line 24) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { FILE: api/billingd/client/client_test.go constant mib (line 26) | mib = 1024 * 1024 function TestMain (line 29) | func TestMain(m *testing.M) { function TestClient_CheckHealth (line 39) | func TestClient_CheckHealth(t *testing.T) { function TestClient_CreateCustomer (line 45) | func TestClient_CreateCustomer(t *testing.T) { function TestClient_GetCustomer (line 84) | func TestClient_GetCustomer(t *testing.T) { function TestClient_GetCustomerSession (line 100) | func TestClient_GetCustomerSession(t *testing.T) { function TestClient_ListDependentCustomers (line 111) | func TestClient_ListDependentCustomers(t *testing.T) { function TestClient_UpdateCustomer (line 153) | func TestClient_UpdateCustomer(t *testing.T) { function TestClient_UpdateCustomerSubscription (line 185) | func TestClient_UpdateCustomerSubscription(t *testing.T) { function TestClient_RecreateCustomerSubscription (line 201) | func TestClient_RecreateCustomerSubscription(t *testing.T) { function TestClient_DeleteCustomer (line 223) | func TestClient_DeleteCustomer(t *testing.T) { type usageTest (line 233) | type usageTest struct function TestClient_GetCustomerUsage (line 239) | func TestClient_GetCustomerUsage(t *testing.T) { function getCustomerUsage (line 251) | func getCustomerUsage(t *testing.T, test usageTest) { function TestClient_IncCustomerUsage (line 280) | func TestClient_IncCustomerUsage(t *testing.T) { function incCustomerUsage (line 292) | func incCustomerUsage(t *testing.T, test usageTest) { function getProduct (line 400) | func getProduct(t *testing.T, key string) *service.Product { function getUnits (line 410) | func getUnits(size int64, product *service.Product) int64 { function getCost (line 414) | func getCost(units int64, product *service.Product, price float64) float... function setup (line 422) | func setup(t *testing.T) *client.Client { function newKey (line 440) | func newKey(t *testing.T) thread.PubKey { FILE: api/billingd/client/options.go type options (line 8) | type options struct type Option (line 14) | type Option function WithParent (line 17) | func WithParent(key thread.PubKey, email string, accountType mdb.Account... type listOptions (line 25) | type listOptions struct type ListOption (line 30) | type ListOption function WithOffset (line 33) | func WithOffset(offset int64) ListOption { function WithLimit (line 40) | func WithLimit(limit int64) ListOption { FILE: api/billingd/common/common.go function StatusCheck (line 25) | func StatusCheck(status string) error { FILE: api/billingd/gateway/gateway.go constant handlerTimeout (line 26) | handlerTimeout = time.Minute function init (line 28) | func init() { type Gateway (line 33) | type Gateway struct method Start (line 79) | func (g *Gateway) Start() { method Addr (line 106) | func (g *Gateway) Addr() string { method Stop (line 111) | func (g *Gateway) Stop() error { method webhookHandler (line 126) | func (g *Gateway) webhookHandler(c *gin.Context) { type Config (line 41) | type Config struct function NewGateway (line 50) | func NewGateway(conf Config) (*Gateway, error) { constant webhookMaxBodyBytes (line 123) | webhookMaxBodyBytes = int64(65536) FILE: api/billingd/main.go constant daemonName (line 17) | daemonName = "billingd" function init (line 85) | func init() { function main (line 159) | func main() { FILE: api/billingd/migrations/migrations.go function Migrate (line 66) | func Migrate(db *mongo.Database) error { FILE: api/billingd/migrations/migrations_test.go function TestMain (line 16) | func TestMain(m *testing.M) { function TestMigrations_m001 (line 27) | func TestMigrations_m001(t *testing.T) { function setup (line 69) | func setup(t *testing.T, ctx context.Context) *mongo.Database { FILE: api/billingd/pb/billingd.pb.go constant _ (line 23) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 25) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 30) | _ = proto.ProtoPackageIsVersion4 type Period (line 32) | type Period struct method Reset (line 41) | func (x *Period) Reset() { method String (line 50) | func (x *Period) String() string { method ProtoMessage (line 54) | func (*Period) ProtoMessage() {} method ProtoReflect (line 56) | func (x *Period) ProtoReflect() protoreflect.Message { method Descriptor (line 69) | func (*Period) Descriptor() ([]byte, []int) { method GetUnixStart (line 73) | func (x *Period) GetUnixStart() int64 { method GetUnixEnd (line 80) | func (x *Period) GetUnixEnd() int64 { type Usage (line 87) | type Usage struct method Reset (line 101) | func (x *Usage) Reset() { method String (line 110) | func (x *Usage) String() string { method ProtoMessage (line 114) | func (*Usage) ProtoMessage() {} method ProtoReflect (line 116) | func (x *Usage) ProtoReflect() protoreflect.Message { method Descriptor (line 129) | func (*Usage) Descriptor() ([]byte, []int) { method GetDescription (line 133) | func (x *Usage) GetDescription() string { method GetUnits (line 140) | func (x *Usage) GetUnits() int64 { method GetTotal (line 147) | func (x *Usage) GetTotal() int64 { method GetFree (line 154) | func (x *Usage) GetFree() int64 { method GetGrace (line 161) | func (x *Usage) GetGrace() int64 { method GetCost (line 168) | func (x *Usage) GetCost() float64 { method GetPeriod (line 175) | func (x *Usage) GetPeriod() *Period { type CheckHealthRequest (line 182) | type CheckHealthRequest struct method Reset (line 188) | func (x *CheckHealthRequest) Reset() { method String (line 197) | func (x *CheckHealthRequest) String() string { method ProtoMessage (line 201) | func (*CheckHealthRequest) ProtoMessage() {} method ProtoReflect (line 203) | func (x *CheckHealthRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 216) | func (*CheckHealthRequest) Descriptor() ([]byte, []int) { type CheckHealthResponse (line 220) | type CheckHealthResponse struct method Reset (line 226) | func (x *CheckHealthResponse) Reset() { method String (line 235) | func (x *CheckHealthResponse) String() string { method ProtoMessage (line 239) | func (*CheckHealthResponse) ProtoMessage() {} method ProtoReflect (line 241) | func (x *CheckHealthResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 254) | func (*CheckHealthResponse) Descriptor() ([]byte, []int) { type CreateCustomerRequest (line 258) | type CreateCustomerRequest struct method Reset (line 267) | func (x *CreateCustomerRequest) Reset() { method String (line 276) | func (x *CreateCustomerRequest) String() string { method ProtoMessage (line 280) | func (*CreateCustomerRequest) ProtoMessage() {} method ProtoReflect (line 282) | func (x *CreateCustomerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 295) | func (*CreateCustomerRequest) Descriptor() ([]byte, []int) { method GetCustomer (line 299) | func (x *CreateCustomerRequest) GetCustomer() *CreateCustomerRequest_P... method GetParent (line 306) | func (x *CreateCustomerRequest) GetParent() *CreateCustomerRequest_Par... type CreateCustomerResponse (line 313) | type CreateCustomerResponse struct method Reset (line 321) | func (x *CreateCustomerResponse) Reset() { method String (line 330) | func (x *CreateCustomerResponse) String() string { method ProtoMessage (line 334) | func (*CreateCustomerResponse) ProtoMessage() {} method ProtoReflect (line 336) | func (x *CreateCustomerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 349) | func (*CreateCustomerResponse) Descriptor() ([]byte, []int) { method GetCustomerId (line 353) | func (x *CreateCustomerResponse) GetCustomerId() string { type GetCustomerRequest (line 360) | type GetCustomerRequest struct method Reset (line 368) | func (x *GetCustomerRequest) Reset() { method String (line 377) | func (x *GetCustomerRequest) String() string { method ProtoMessage (line 381) | func (*GetCustomerRequest) ProtoMessage() {} method ProtoReflect (line 383) | func (x *GetCustomerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 396) | func (*GetCustomerRequest) Descriptor() ([]byte, []int) { method GetKey (line 400) | func (x *GetCustomerRequest) GetKey() string { type GetCustomerResponse (line 407) | type GetCustomerResponse struct method Reset (line 429) | func (x *GetCustomerResponse) Reset() { method String (line 438) | func (x *GetCustomerResponse) String() string { method ProtoMessage (line 442) | func (*GetCustomerResponse) ProtoMessage() {} method ProtoReflect (line 444) | func (x *GetCustomerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 457) | func (*GetCustomerResponse) Descriptor() ([]byte, []int) { method GetKey (line 461) | func (x *GetCustomerResponse) GetKey() string { method GetCustomerId (line 468) | func (x *GetCustomerResponse) GetCustomerId() string { method GetParentKey (line 475) | func (x *GetCustomerResponse) GetParentKey() string { method GetEmail (line 482) | func (x *GetCustomerResponse) GetEmail() string { method GetAccountType (line 489) | func (x *GetCustomerResponse) GetAccountType() int32 { method GetAccountStatus (line 496) | func (x *GetCustomerResponse) GetAccountStatus() string { method GetSubscriptionStatus (line 503) | func (x *GetCustomerResponse) GetSubscriptionStatus() string { method GetBalance (line 510) | func (x *GetCustomerResponse) GetBalance() int64 { method GetBillable (line 517) | func (x *GetCustomerResponse) GetBillable() bool { method GetDelinquent (line 524) | func (x *GetCustomerResponse) GetDelinquent() bool { method GetCreatedAt (line 531) | func (x *GetCustomerResponse) GetCreatedAt() int64 { method GetGracePeriodEnd (line 538) | func (x *GetCustomerResponse) GetGracePeriodEnd() int64 { method GetInvoicePeriod (line 545) | func (x *GetCustomerResponse) GetInvoicePeriod() *Period { method GetDailyUsage (line 552) | func (x *GetCustomerResponse) GetDailyUsage() map[string]*Usage { method GetDependents (line 559) | func (x *GetCustomerResponse) GetDependents() int64 { type ListDependentCustomersRequest (line 566) | type ListDependentCustomersRequest struct method Reset (line 576) | func (x *ListDependentCustomersRequest) Reset() { method String (line 585) | func (x *ListDependentCustomersRequest) String() string { method ProtoMessage (line 589) | func (*ListDependentCustomersRequest) ProtoMessage() {} method ProtoReflect (line 591) | func (x *ListDependentCustomersRequest) ProtoReflect() protoreflect.Me... method Descriptor (line 604) | func (*ListDependentCustomersRequest) Descriptor() ([]byte, []int) { method GetKey (line 608) | func (x *ListDependentCustomersRequest) GetKey() string { method GetOffset (line 615) | func (x *ListDependentCustomersRequest) GetOffset() int64 { method GetLimit (line 622) | func (x *ListDependentCustomersRequest) GetLimit() int64 { type ListDependentCustomersResponse (line 629) | type ListDependentCustomersResponse struct method Reset (line 638) | func (x *ListDependentCustomersResponse) Reset() { method String (line 647) | func (x *ListDependentCustomersResponse) String() string { method ProtoMessage (line 651) | func (*ListDependentCustomersResponse) ProtoMessage() {} method ProtoReflect (line 653) | func (x *ListDependentCustomersResponse) ProtoReflect() protoreflect.M... method Descriptor (line 666) | func (*ListDependentCustomersResponse) Descriptor() ([]byte, []int) { method GetCustomers (line 670) | func (x *ListDependentCustomersResponse) GetCustomers() []*GetCustomer... method GetNextOffset (line 677) | func (x *ListDependentCustomersResponse) GetNextOffset() int64 { type GetCustomerSessionRequest (line 684) | type GetCustomerSessionRequest struct method Reset (line 692) | func (x *GetCustomerSessionRequest) Reset() { method String (line 701) | func (x *GetCustomerSessionRequest) String() string { method ProtoMessage (line 705) | func (*GetCustomerSessionRequest) ProtoMessage() {} method ProtoReflect (line 707) | func (x *GetCustomerSessionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 720) | func (*GetCustomerSessionRequest) Descriptor() ([]byte, []int) { method GetKey (line 724) | func (x *GetCustomerSessionRequest) GetKey() string { type GetCustomerSessionResponse (line 731) | type GetCustomerSessionResponse struct method Reset (line 739) | func (x *GetCustomerSessionResponse) Reset() { method String (line 748) | func (x *GetCustomerSessionResponse) String() string { method ProtoMessage (line 752) | func (*GetCustomerSessionResponse) ProtoMessage() {} method ProtoReflect (line 754) | func (x *GetCustomerSessionResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 767) | func (*GetCustomerSessionResponse) Descriptor() ([]byte, []int) { method GetUrl (line 771) | func (x *GetCustomerSessionResponse) GetUrl() string { type UpdateCustomerRequest (line 778) | type UpdateCustomerRequest struct method Reset (line 789) | func (x *UpdateCustomerRequest) Reset() { method String (line 798) | func (x *UpdateCustomerRequest) String() string { method ProtoMessage (line 802) | func (*UpdateCustomerRequest) ProtoMessage() {} method ProtoReflect (line 804) | func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 817) | func (*UpdateCustomerRequest) Descriptor() ([]byte, []int) { method GetCustomerId (line 821) | func (x *UpdateCustomerRequest) GetCustomerId() string { method GetBalance (line 828) | func (x *UpdateCustomerRequest) GetBalance() int64 { method GetBillable (line 835) | func (x *UpdateCustomerRequest) GetBillable() bool { method GetDelinquent (line 842) | func (x *UpdateCustomerRequest) GetDelinquent() bool { type UpdateCustomerResponse (line 849) | type UpdateCustomerResponse struct method Reset (line 855) | func (x *UpdateCustomerResponse) Reset() { method String (line 864) | func (x *UpdateCustomerResponse) String() string { method ProtoMessage (line 868) | func (*UpdateCustomerResponse) ProtoMessage() {} method ProtoReflect (line 870) | func (x *UpdateCustomerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 883) | func (*UpdateCustomerResponse) Descriptor() ([]byte, []int) { type UpdateCustomerSubscriptionRequest (line 887) | type UpdateCustomerSubscriptionRequest struct method Reset (line 897) | func (x *UpdateCustomerSubscriptionRequest) Reset() { method String (line 906) | func (x *UpdateCustomerSubscriptionRequest) String() string { method ProtoMessage (line 910) | func (*UpdateCustomerSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 912) | func (x *UpdateCustomerSubscriptionRequest) ProtoReflect() protoreflec... method Descriptor (line 925) | func (*UpdateCustomerSubscriptionRequest) Descriptor() ([]byte, []int) { method GetCustomerId (line 929) | func (x *UpdateCustomerSubscriptionRequest) GetCustomerId() string { method GetStatus (line 936) | func (x *UpdateCustomerSubscriptionRequest) GetStatus() string { method GetInvoicePeriod (line 943) | func (x *UpdateCustomerSubscriptionRequest) GetInvoicePeriod() *Period { type UpdateCustomerSubscriptionResponse (line 950) | type UpdateCustomerSubscriptionResponse struct method Reset (line 956) | func (x *UpdateCustomerSubscriptionResponse) Reset() { method String (line 965) | func (x *UpdateCustomerSubscriptionResponse) String() string { method ProtoMessage (line 969) | func (*UpdateCustomerSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 971) | func (x *UpdateCustomerSubscriptionResponse) ProtoReflect() protorefle... method Descriptor (line 984) | func (*UpdateCustomerSubscriptionResponse) Descriptor() ([]byte, []int) { type RecreateCustomerSubscriptionRequest (line 988) | type RecreateCustomerSubscriptionRequest struct method Reset (line 996) | func (x *RecreateCustomerSubscriptionRequest) Reset() { method String (line 1005) | func (x *RecreateCustomerSubscriptionRequest) String() string { method ProtoMessage (line 1009) | func (*RecreateCustomerSubscriptionRequest) ProtoMessage() {} method ProtoReflect (line 1011) | func (x *RecreateCustomerSubscriptionRequest) ProtoReflect() protorefl... method Descriptor (line 1024) | func (*RecreateCustomerSubscriptionRequest) Descriptor() ([]byte, []in... method GetKey (line 1028) | func (x *RecreateCustomerSubscriptionRequest) GetKey() string { type RecreateCustomerSubscriptionResponse (line 1035) | type RecreateCustomerSubscriptionResponse struct method Reset (line 1041) | func (x *RecreateCustomerSubscriptionResponse) Reset() { method String (line 1050) | func (x *RecreateCustomerSubscriptionResponse) String() string { method ProtoMessage (line 1054) | func (*RecreateCustomerSubscriptionResponse) ProtoMessage() {} method ProtoReflect (line 1056) | func (x *RecreateCustomerSubscriptionResponse) ProtoReflect() protoref... method Descriptor (line 1069) | func (*RecreateCustomerSubscriptionResponse) Descriptor() ([]byte, []i... type DeleteCustomerRequest (line 1073) | type DeleteCustomerRequest struct method Reset (line 1081) | func (x *DeleteCustomerRequest) Reset() { method String (line 1090) | func (x *DeleteCustomerRequest) String() string { method ProtoMessage (line 1094) | func (*DeleteCustomerRequest) ProtoMessage() {} method ProtoReflect (line 1096) | func (x *DeleteCustomerRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1109) | func (*DeleteCustomerRequest) Descriptor() ([]byte, []int) { method GetKey (line 1113) | func (x *DeleteCustomerRequest) GetKey() string { type DeleteCustomerResponse (line 1120) | type DeleteCustomerResponse struct method Reset (line 1126) | func (x *DeleteCustomerResponse) Reset() { method String (line 1135) | func (x *DeleteCustomerResponse) String() string { method ProtoMessage (line 1139) | func (*DeleteCustomerResponse) ProtoMessage() {} method ProtoReflect (line 1141) | func (x *DeleteCustomerResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1154) | func (*DeleteCustomerResponse) Descriptor() ([]byte, []int) { type GetCustomerUsageRequest (line 1158) | type GetCustomerUsageRequest struct method Reset (line 1166) | func (x *GetCustomerUsageRequest) Reset() { method String (line 1175) | func (x *GetCustomerUsageRequest) String() string { method ProtoMessage (line 1179) | func (*GetCustomerUsageRequest) ProtoMessage() {} method ProtoReflect (line 1181) | func (x *GetCustomerUsageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1194) | func (*GetCustomerUsageRequest) Descriptor() ([]byte, []int) { method GetKey (line 1198) | func (x *GetCustomerUsageRequest) GetKey() string { type GetCustomerUsageResponse (line 1205) | type GetCustomerUsageResponse struct method Reset (line 1213) | func (x *GetCustomerUsageResponse) Reset() { method String (line 1222) | func (x *GetCustomerUsageResponse) String() string { method ProtoMessage (line 1226) | func (*GetCustomerUsageResponse) ProtoMessage() {} method ProtoReflect (line 1228) | func (x *GetCustomerUsageResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1241) | func (*GetCustomerUsageResponse) Descriptor() ([]byte, []int) { method GetUsage (line 1245) | func (x *GetCustomerUsageResponse) GetUsage() map[string]*Usage { type IncCustomerUsageRequest (line 1252) | type IncCustomerUsageRequest struct method Reset (line 1261) | func (x *IncCustomerUsageRequest) Reset() { method String (line 1270) | func (x *IncCustomerUsageRequest) String() string { method ProtoMessage (line 1274) | func (*IncCustomerUsageRequest) ProtoMessage() {} method ProtoReflect (line 1276) | func (x *IncCustomerUsageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1289) | func (*IncCustomerUsageRequest) Descriptor() ([]byte, []int) { method GetKey (line 1293) | func (x *IncCustomerUsageRequest) GetKey() string { method GetProductUsage (line 1300) | func (x *IncCustomerUsageRequest) GetProductUsage() map[string]int64 { type IncCustomerUsageResponse (line 1307) | type IncCustomerUsageResponse struct method Reset (line 1315) | func (x *IncCustomerUsageResponse) Reset() { method String (line 1324) | func (x *IncCustomerUsageResponse) String() string { method ProtoMessage (line 1328) | func (*IncCustomerUsageResponse) ProtoMessage() {} method ProtoReflect (line 1330) | func (x *IncCustomerUsageResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1343) | func (*IncCustomerUsageResponse) Descriptor() ([]byte, []int) { method GetDailyUsage (line 1347) | func (x *IncCustomerUsageResponse) GetDailyUsage() map[string]*Usage { type ReportCustomerUsageRequest (line 1354) | type ReportCustomerUsageRequest struct method Reset (line 1362) | func (x *ReportCustomerUsageRequest) Reset() { method String (line 1371) | func (x *ReportCustomerUsageRequest) String() string { method ProtoMessage (line 1375) | func (*ReportCustomerUsageRequest) ProtoMessage() {} method ProtoReflect (line 1377) | func (x *ReportCustomerUsageRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1390) | func (*ReportCustomerUsageRequest) Descriptor() ([]byte, []int) { method GetKey (line 1394) | func (x *ReportCustomerUsageRequest) GetKey() string { type ReportCustomerUsageResponse (line 1401) | type ReportCustomerUsageResponse struct method Reset (line 1407) | func (x *ReportCustomerUsageResponse) Reset() { method String (line 1416) | func (x *ReportCustomerUsageResponse) String() string { method ProtoMessage (line 1420) | func (*ReportCustomerUsageResponse) ProtoMessage() {} method ProtoReflect (line 1422) | func (x *ReportCustomerUsageResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 1435) | func (*ReportCustomerUsageResponse) Descriptor() ([]byte, []int) { type IdentifyRequest (line 1439) | type IdentifyRequest struct method Reset (line 1451) | func (x *IdentifyRequest) Reset() { method String (line 1460) | func (x *IdentifyRequest) String() string { method ProtoMessage (line 1464) | func (*IdentifyRequest) ProtoMessage() {} method ProtoReflect (line 1466) | func (x *IdentifyRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1479) | func (*IdentifyRequest) Descriptor() ([]byte, []int) { method GetKey (line 1483) | func (x *IdentifyRequest) GetKey() string { method GetAccountType (line 1490) | func (x *IdentifyRequest) GetAccountType() int32 { method GetActive (line 1497) | func (x *IdentifyRequest) GetActive() bool { method GetEmail (line 1504) | func (x *IdentifyRequest) GetEmail() string { method GetProperties (line 1511) | func (x *IdentifyRequest) GetProperties() map[string]string { type IdentifyResponse (line 1518) | type IdentifyResponse struct method Reset (line 1524) | func (x *IdentifyResponse) Reset() { method String (line 1533) | func (x *IdentifyResponse) String() string { method ProtoMessage (line 1537) | func (*IdentifyResponse) ProtoMessage() {} method ProtoReflect (line 1539) | func (x *IdentifyResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1552) | func (*IdentifyResponse) Descriptor() ([]byte, []int) { type TrackEventRequest (line 1556) | type TrackEventRequest struct method Reset (line 1568) | func (x *TrackEventRequest) Reset() { method String (line 1577) | func (x *TrackEventRequest) String() string { method ProtoMessage (line 1581) | func (*TrackEventRequest) ProtoMessage() {} method ProtoReflect (line 1583) | func (x *TrackEventRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1596) | func (*TrackEventRequest) Descriptor() ([]byte, []int) { method GetKey (line 1600) | func (x *TrackEventRequest) GetKey() string { method GetAccountType (line 1607) | func (x *TrackEventRequest) GetAccountType() int32 { method GetActive (line 1614) | func (x *TrackEventRequest) GetActive() bool { method GetEvent (line 1621) | func (x *TrackEventRequest) GetEvent() int32 { method GetProperties (line 1628) | func (x *TrackEventRequest) GetProperties() map[string]string { type TrackEventResponse (line 1635) | type TrackEventResponse struct method Reset (line 1641) | func (x *TrackEventResponse) Reset() { method String (line 1650) | func (x *TrackEventResponse) String() string { method ProtoMessage (line 1654) | func (*TrackEventResponse) ProtoMessage() {} method ProtoReflect (line 1656) | func (x *TrackEventResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1669) | func (*TrackEventResponse) Descriptor() ([]byte, []int) { type CreateCustomerRequest_Params (line 1673) | type CreateCustomerRequest_Params struct method Reset (line 1684) | func (x *CreateCustomerRequest_Params) Reset() { method String (line 1693) | func (x *CreateCustomerRequest_Params) String() string { method ProtoMessage (line 1697) | func (*CreateCustomerRequest_Params) ProtoMessage() {} method ProtoReflect (line 1699) | func (x *CreateCustomerRequest_Params) ProtoReflect() protoreflect.Mes... method Descriptor (line 1712) | func (*CreateCustomerRequest_Params) Descriptor() ([]byte, []int) { method GetKey (line 1716) | func (x *CreateCustomerRequest_Params) GetKey() string { method GetEmail (line 1723) | func (x *CreateCustomerRequest_Params) GetEmail() string { method GetAccountType (line 1730) | func (x *CreateCustomerRequest_Params) GetAccountType() int32 { method GetUsername (line 1737) | func (x *CreateCustomerRequest_Params) GetUsername() string { function file_api_billingd_pb_billingd_proto_rawDescGZIP (line 2078) | func file_api_billingd_pb_billingd_proto_rawDescGZIP() []byte { function init (line 2176) | func init() { file_api_billingd_pb_billingd_proto_init() } function file_api_billingd_pb_billingd_proto_init (line 2177) | func file_api_billingd_pb_billingd_proto_init() { constant _ (line 2581) | _ = grpc.SupportPackageIsVersion6 type APIServiceClient (line 2586) | type APIServiceClient interface type aPIServiceClient (line 2603) | type aPIServiceClient struct method CheckHealth (line 2611) | func (c *aPIServiceClient) CheckHealth(ctx context.Context, in *CheckH... method CreateCustomer (line 2620) | func (c *aPIServiceClient) CreateCustomer(ctx context.Context, in *Cre... method GetCustomer (line 2629) | func (c *aPIServiceClient) GetCustomer(ctx context.Context, in *GetCus... method ListDependentCustomers (line 2638) | func (c *aPIServiceClient) ListDependentCustomers(ctx context.Context,... method GetCustomerSession (line 2647) | func (c *aPIServiceClient) GetCustomerSession(ctx context.Context, in ... method UpdateCustomer (line 2656) | func (c *aPIServiceClient) UpdateCustomer(ctx context.Context, in *Upd... method UpdateCustomerSubscription (line 2665) | func (c *aPIServiceClient) UpdateCustomerSubscription(ctx context.Cont... method RecreateCustomerSubscription (line 2674) | func (c *aPIServiceClient) RecreateCustomerSubscription(ctx context.Co... method DeleteCustomer (line 2683) | func (c *aPIServiceClient) DeleteCustomer(ctx context.Context, in *Del... method GetCustomerUsage (line 2692) | func (c *aPIServiceClient) GetCustomerUsage(ctx context.Context, in *G... method IncCustomerUsage (line 2701) | func (c *aPIServiceClient) IncCustomerUsage(ctx context.Context, in *I... method ReportCustomerUsage (line 2710) | func (c *aPIServiceClient) ReportCustomerUsage(ctx context.Context, in... method Identify (line 2719) | func (c *aPIServiceClient) Identify(ctx context.Context, in *IdentifyR... method TrackEvent (line 2728) | func (c *aPIServiceClient) TrackEvent(ctx context.Context, in *TrackEv... function NewAPIServiceClient (line 2607) | func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient { type APIServiceServer (line 2738) | type APIServiceServer interface type UnimplementedAPIServiceServer (line 2756) | type UnimplementedAPIServiceServer struct method CheckHealth (line 2759) | func (*UnimplementedAPIServiceServer) CheckHealth(context.Context, *Ch... method CreateCustomer (line 2762) | func (*UnimplementedAPIServiceServer) CreateCustomer(context.Context, ... method GetCustomer (line 2765) | func (*UnimplementedAPIServiceServer) GetCustomer(context.Context, *Ge... method ListDependentCustomers (line 2768) | func (*UnimplementedAPIServiceServer) ListDependentCustomers(context.C... method GetCustomerSession (line 2771) | func (*UnimplementedAPIServiceServer) GetCustomerSession(context.Conte... method UpdateCustomer (line 2774) | func (*UnimplementedAPIServiceServer) UpdateCustomer(context.Context, ... method UpdateCustomerSubscription (line 2777) | func (*UnimplementedAPIServiceServer) UpdateCustomerSubscription(conte... method RecreateCustomerSubscription (line 2780) | func (*UnimplementedAPIServiceServer) RecreateCustomerSubscription(con... method DeleteCustomer (line 2783) | func (*UnimplementedAPIServiceServer) DeleteCustomer(context.Context, ... method GetCustomerUsage (line 2786) | func (*UnimplementedAPIServiceServer) GetCustomerUsage(context.Context... method IncCustomerUsage (line 2789) | func (*UnimplementedAPIServiceServer) IncCustomerUsage(context.Context... method ReportCustomerUsage (line 2792) | func (*UnimplementedAPIServiceServer) ReportCustomerUsage(context.Cont... method Identify (line 2795) | func (*UnimplementedAPIServiceServer) Identify(context.Context, *Ident... method TrackEvent (line 2798) | func (*UnimplementedAPIServiceServer) TrackEvent(context.Context, *Tra... function RegisterAPIServiceServer (line 2802) | func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer) { function _APIService_CheckHealth_Handler (line 2806) | func _APIService_CheckHealth_Handler(srv interface{}, ctx context.Contex... function _APIService_CreateCustomer_Handler (line 2824) | func _APIService_CreateCustomer_Handler(srv interface{}, ctx context.Con... function _APIService_GetCustomer_Handler (line 2842) | func _APIService_GetCustomer_Handler(srv interface{}, ctx context.Contex... function _APIService_ListDependentCustomers_Handler (line 2860) | func _APIService_ListDependentCustomers_Handler(srv interface{}, ctx con... function _APIService_GetCustomerSession_Handler (line 2878) | func _APIService_GetCustomerSession_Handler(srv interface{}, ctx context... function _APIService_UpdateCustomer_Handler (line 2896) | func _APIService_UpdateCustomer_Handler(srv interface{}, ctx context.Con... function _APIService_UpdateCustomerSubscription_Handler (line 2914) | func _APIService_UpdateCustomerSubscription_Handler(srv interface{}, ctx... function _APIService_RecreateCustomerSubscription_Handler (line 2932) | func _APIService_RecreateCustomerSubscription_Handler(srv interface{}, c... function _APIService_DeleteCustomer_Handler (line 2950) | func _APIService_DeleteCustomer_Handler(srv interface{}, ctx context.Con... function _APIService_GetCustomerUsage_Handler (line 2968) | func _APIService_GetCustomerUsage_Handler(srv interface{}, ctx context.C... function _APIService_IncCustomerUsage_Handler (line 2986) | func _APIService_IncCustomerUsage_Handler(srv interface{}, ctx context.C... function _APIService_ReportCustomerUsage_Handler (line 3004) | func _APIService_ReportCustomerUsage_Handler(srv interface{}, ctx contex... function _APIService_Identify_Handler (line 3022) | func _APIService_Identify_Handler(srv interface{}, ctx context.Context, ... function _APIService_TrackEvent_Handler (line 3040) | func _APIService_TrackEvent_Handler(srv interface{}, ctx context.Context... FILE: api/billingd/service/service.go constant numDaysPerMonth (line 36) | numDaysPerMonth = 30.4167 constant unitPricePrecision (line 37) | unitPricePrecision = 1e12 constant reporterTimeout (line 39) | reporterTimeout = time.Hour constant defaultPageSize (line 41) | defaultPageSize = 25 constant maxPageSize (line 42) | maxPageSize = 1000 constant mib (line 44) | mib = 1024 * 1024 constant gib (line 45) | gib = 1024 * mib constant duplicateKeyMsg (line 47) | duplicateKeyMsg = "E11000 duplicate key error" type Product (line 57) | type Product struct type PriceType (line 73) | type PriceType constant PriceTypeTemporal (line 76) | PriceTypeTemporal PriceType = "temporal" constant PriceTypeIncremental (line 77) | PriceTypeIncremental = "incremental" type FreeQuotaInterval (line 80) | type FreeQuotaInterval constant FreeQuotaMonthly (line 83) | FreeQuotaMonthly FreeQuotaInterval = "monthly" constant FreeQuotaDaily (line 84) | FreeQuotaDaily = "daily" type Customer (line 132) | type Customer struct method AccountStatus (line 162) | func (c *Customer) AccountStatus() string { type Period (line 150) | type Period struct type Usage (line 155) | type Usage struct type Service (line 174) | type Service struct method createPrice (line 362) | func (s *Service) createPrice(client *stripec.API, productName string,... method Start (line 393) | func (s *Service) Start() error { method Stop (line 415) | func (s *Service) Stop() error { method CheckHealth (line 446) | func (s *Service) CheckHealth(_ context.Context, _ *pb.CheckHealthRequ... method CreateCustomer (line 451) | func (s *Service) CreateCustomer(ctx context.Context, req *pb.CreateCu... method createCustomer (line 470) | func (s *Service) createCustomer( method getCustomer (line 518) | func (s *Service) getCustomer(ctx context.Context, key, val string) (*... method createSubscription (line 527) | func (s *Service) createSubscription(cus *Customer) error { method GetCustomer (line 574) | func (s *Service) GetCustomer(ctx context.Context, req *pb.GetCustomer... method dailyUsageToPb (line 590) | func (s *Service) dailyUsageToPb(usage map[string]Usage) map[string]*p... method getSummary (line 663) | func (s *Service) getSummary(cus *Customer, deps int64) map[string]int... method customerToPb (line 682) | func (s *Service) customerToPb(ctx context.Context, doc *Customer) (*p... method GetCustomerSession (line 744) | func (s *Service) GetCustomerSession(ctx context.Context, req *pb.GetC... method ListDependentCustomers (line 767) | func (s *Service) ListDependentCustomers(ctx context.Context, req *pb.... method UpdateCustomer (line 817) | func (s *Service) UpdateCustomer(ctx context.Context, req *pb.UpdateCu... method UpdateCustomerSubscription (line 840) | func (s *Service) UpdateCustomerSubscription(ctx context.Context, req ... method RecreateCustomerSubscription (line 872) | func (s *Service) RecreateCustomerSubscription(ctx context.Context, re... method DeleteCustomer (line 903) | func (s *Service) DeleteCustomer(ctx context.Context, req *pb.DeleteCu... method GetCustomerUsage (line 923) | func (s *Service) GetCustomerUsage( method getPeriodUsageItem (line 958) | func (s *Service) getPeriodUsageItem(id string) (sum *stripe.UsageReco... method IncCustomerUsage (line 977) | func (s *Service) IncCustomerUsage( method handleCustomerUsage (line 984) | func (s *Service) handleCustomerUsage( method handleUsage (line 1030) | func (s *Service) handleUsage(ctx context.Context, cus *Customer, prod... method ReportCustomerUsage (line 1067) | func (s *Service) ReportCustomerUsage( method reportUsage (line 1081) | func (s *Service) reportUsage() error { method reportCustomerUsage (line 1104) | func (s *Service) reportCustomerUsage(ctx context.Context, cus *Custom... method reportUnits (line 1138) | func (s *Service) reportUnits(product Product, usage Usage, parentKey ... method Identify (line 1168) | func (s *Service) Identify(_ context.Context, req *pb.IdentifyRequest)... method TrackEvent (line 1184) | func (s *Service) TrackEvent(_ context.Context, req *pb.TrackEventRequ... type customerLock (line 193) | type customerLock method Key (line 195) | func (l customerLock) Key() string { type Config (line 199) | type Config struct function NewService (line 220) | func NewService(ctx context.Context, config Config) (*Service, error) { function getUnitPrice (line 326) | func getUnitPrice(product Product) float64 { function newStripeClient (line 337) | func newStripeClient(url, key string) (*stripec.API, error) { function periodToPb (line 583) | func periodToPb(period Period) *pb.Period { function getCurrentDayBounds (line 601) | func getCurrentDayBounds() (int64, int64) { function getCost (line 608) | func getCost(product Product, paidUnits int64) float64 { function getUsage (line 615) | func getUsage(product Product, total int64, period Period) *pb.Usage { function getUnits (line 638) | func getUnits(product Product, total int64) (freeUnits, paidUnits int64) { function addProductToSummary (line 651) | func addProductToSummary(summary map[string]interface{}, product Product... FILE: api/bucketsd/client/client.go constant chunkSize (line 26) | chunkSize = 1024 * 32 type Client (line 35) | type Client struct method Close (line 53) | func (c *Client) Close() error { method Create (line 59) | func (c *Client) Create(ctx context.Context, opts ...CreateOption) (*p... method Root (line 77) | func (c *Client) Root(ctx context.Context, key string) (*pb.RootRespon... method Links (line 84) | func (c *Client) Links(ctx context.Context, key, pth string) (*pb.Link... method List (line 92) | func (c *Client) List(ctx context.Context) (*pb.ListResponse, error) { method ListIpfsPath (line 97) | func (c *Client) ListIpfsPath(ctx context.Context, pth path.Path) (*pb... method ListPath (line 102) | func (c *Client) ListPath(ctx context.Context, key, pth string) (*pb.L... method SetPath (line 110) | func (c *Client) SetPath(ctx context.Context, key, pth string, remoteC... method MovePath (line 119) | func (c *Client) MovePath(ctx context.Context, key, pth string, dest s... method PushPath (line 136) | func (c *Client) PushPath( method PushPaths (line 449) | func (c *Client) PushPaths(ctx context.Context, key string, opts ...Op... method PullPath (line 601) | func (c *Client) PullPath(ctx context.Context, key, pth string, writer... method PullIpfsPath (line 637) | func (c *Client) PullIpfsPath(ctx context.Context, pth path.Path, writ... method Remove (line 672) | func (c *Client) Remove(ctx context.Context, key string) error { method RemovePath (line 681) | func (c *Client) RemovePath(ctx context.Context, key, pth string, opts... method PushPathAccessRoles (line 705) | func (c *Client) PushPathAccessRoles(ctx context.Context, key, pth str... method PullPathAccessRoles (line 719) | func (c *Client) PullPathAccessRoles(ctx context.Context, key, pth str... method DefaultArchiveConfig (line 731) | func (c *Client) DefaultArchiveConfig(ctx context.Context, key string)... method SetDefaultArchiveConfig (line 740) | func (c *Client) SetDefaultArchiveConfig(ctx context.Context, key stri... method Archive (line 750) | func (c *Client) Archive(ctx context.Context, key string, opts ...Arch... method Archives (line 762) | func (c *Client) Archives(ctx context.Context, key string) (*pb.Archiv... method ArchiveWatch (line 767) | func (c *Client) ArchiveWatch(ctx context.Context, key string, ch chan... function NewClient (line 41) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { type pushPathResult (line 128) | type pushPathResult struct type PushPathsResult (line 236) | type PushPathsResult struct type PushPathsQueue (line 247) | type PushPathsQueue struct method AddFile (line 278) | func (c *PushPathsQueue) AddFile(pth, name string) error { method AddReader (line 314) | func (c *PushPathsQueue) AddReader(pth string, r io.Reader, size int64... method Size (line 334) | func (c *PushPathsQueue) Size() int64 { method Complete (line 339) | func (c *PushPathsQueue) Complete() int64 { method Next (line 345) | func (c *PushPathsQueue) Next() (ok bool) { method start (line 376) | func (c *PushPathsQueue) start() { method stop (line 407) | func (c *PushPathsQueue) stop() { method Err (line 415) | func (c *PushPathsQueue) Err() error { method Close (line 423) | func (c *PushPathsQueue) Close() error { type pushPath (line 270) | type pushPath struct FILE: api/bucketsd/client/client_test.go function TestMain (line 37) | func TestMain(m *testing.M) { function TestClient_Create (line 47) | func TestClient_Create(t *testing.T) { function TestClient_CreateWithCid (line 79) | func TestClient_CreateWithCid(t *testing.T) { function createWithCid (line 91) | func createWithCid(t *testing.T, ctx context.Context, client *c.Client, ... function TestClient_Root (line 134) | func TestClient_Root(t *testing.T) { function TestClient_Links (line 152) | func TestClient_Links(t *testing.T) { function TestClient_List (line 164) | func TestClient_List(t *testing.T) { function TestClient_ListPath (line 187) | func TestClient_ListPath(t *testing.T) { function listPath (line 199) | func listPath(t *testing.T, ctx context.Context, client *c.Client, priva... function TestClient_ListIpfsPath (line 251) | func TestClient_ListIpfsPath(t *testing.T) { function TestClient_PushPath (line 280) | func TestClient_PushPath(t *testing.T) { function pushPath (line 292) | func pushPath(t *testing.T, ctx context.Context, client *c.Client, priva... function TestClient_PushPaths (line 381) | func TestClient_PushPaths(t *testing.T) { function pushPaths (line 393) | func pushPaths(t *testing.T, ctx context.Context, client *c.Client, priv... function TestClient_PullPath (line 489) | func TestClient_PullPath(t *testing.T) { function pullPath (line 501) | func pullPath(t *testing.T, ctx context.Context, client *c.Client, priva... function TestClient_PullIpfsPath (line 549) | func TestClient_PullIpfsPath(t *testing.T) { function TestClient_SetPath (line 595) | func TestClient_SetPath(t *testing.T) { function setPath (line 605) | func setPath(t *testing.T, private bool) { function TestClient_Move (line 715) | func TestClient_Move(t *testing.T) { function move (line 727) | func move(t *testing.T, ctx context.Context, client *c.Client, private b... function TestClient_Remove (line 815) | func TestClient_Remove(t *testing.T) { function remove (line 827) | func remove(t *testing.T, ctx context.Context, client *c.Client, private... function TestClient_RemovePath (line 849) | func TestClient_RemovePath(t *testing.T) { function removePath (line 861) | func removePath(t *testing.T, ctx context.Context, client *c.Client, pri... function TestClient_PushPathAccessRoles (line 894) | func TestClient_PushPathAccessRoles(t *testing.T) { function pushPathAccessRoles (line 906) | func pushPathAccessRoles( type accessCheck (line 1138) | type accessCheck struct function checkAccess (line 1147) | func checkAccess(t *testing.T, ctx context.Context, client *c.Client, ch... function TestClient_PullPathAccessRoles (line 1189) | func TestClient_PullPathAccessRoles(t *testing.T) { function TestClose (line 1221) | func TestClose(t *testing.T) { function setup (line 1234) | func setup(t *testing.T) (context.Context, *c.Client) { function setupForUsers (line 1246) | func setupForUsers(t *testing.T) (context.Context, context.Context, *tc.... function setupWithConf (line 1263) | func setupWithConf(t *testing.T, conf core.Config) (context.Context, *hc... function newUser (line 1290) | func newUser(t *testing.T, ctx context.Context, threadsclient *tc.Client... FILE: api/bucketsd/client/options.go type createOptions (line 9) | type createOptions struct type CreateOption (line 16) | type CreateOption function WithName (line 19) | func WithName(name string) CreateOption { function WithPrivate (line 26) | func WithPrivate(private bool) CreateOption { function WithCid (line 34) | func WithCid(c cid.Cid) CreateOption { function WithUnfreeze (line 42) | func WithUnfreeze(enabled bool) CreateOption { type options (line 48) | type options struct type Option (line 53) | type Option function WithFastForwardOnly (line 56) | func WithFastForwardOnly(root path.Resolved) Option { function WithProgress (line 63) | func WithProgress(ch chan<- int64) Option { type ArchiveOption (line 69) | type ArchiveOption function WithArchiveConfig (line 72) | func WithArchiveConfig(config *pb.ArchiveConfig) ArchiveOption { function WithSkipAutomaticVerifiedDeal (line 80) | func WithSkipAutomaticVerifiedDeal(enabled bool) ArchiveOption { FILE: api/bucketsd/pb/bucketsd.pb.go constant _ (line 23) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 25) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 30) | _ = proto.ProtoPackageIsVersion4 type PathAccessRole (line 32) | type PathAccessRole method Enum (line 57) | func (x PathAccessRole) Enum() *PathAccessRole { method String (line 63) | func (x PathAccessRole) String() string { method Descriptor (line 67) | func (PathAccessRole) Descriptor() protoreflect.EnumDescriptor { method Type (line 71) | func (PathAccessRole) Type() protoreflect.EnumType { method Number (line 75) | func (x PathAccessRole) Number() protoreflect.EnumNumber { method EnumDescriptor (line 80) | func (PathAccessRole) EnumDescriptor() ([]byte, []int) { constant PathAccessRole_PATH_ACCESS_ROLE_UNSPECIFIED (line 35) | PathAccessRole_PATH_ACCESS_ROLE_UNSPECIFIED PathAccessRole = 0 constant PathAccessRole_PATH_ACCESS_ROLE_READER (line 36) | PathAccessRole_PATH_ACCESS_ROLE_READER PathAccessRole = 1 constant PathAccessRole_PATH_ACCESS_ROLE_WRITER (line 37) | PathAccessRole_PATH_ACCESS_ROLE_WRITER PathAccessRole = 2 constant PathAccessRole_PATH_ACCESS_ROLE_ADMIN (line 38) | PathAccessRole_PATH_ACCESS_ROLE_ADMIN PathAccessRole = 3 type ArchiveStatus (line 84) | type ArchiveStatus method Enum (line 115) | func (x ArchiveStatus) Enum() *ArchiveStatus { method String (line 121) | func (x ArchiveStatus) String() string { method Descriptor (line 125) | func (ArchiveStatus) Descriptor() protoreflect.EnumDescriptor { method Type (line 129) | func (ArchiveStatus) Type() protoreflect.EnumType { method Number (line 133) | func (x ArchiveStatus) Number() protoreflect.EnumNumber { method EnumDescriptor (line 138) | func (ArchiveStatus) EnumDescriptor() ([]byte, []int) { constant ArchiveStatus_ARCHIVE_STATUS_UNSPECIFIED (line 87) | ArchiveStatus_ARCHIVE_STATUS_UNSPECIFIED ArchiveStatus = 0 constant ArchiveStatus_ARCHIVE_STATUS_QUEUED (line 88) | ArchiveStatus_ARCHIVE_STATUS_QUEUED ArchiveStatus = 1 constant ArchiveStatus_ARCHIVE_STATUS_EXECUTING (line 89) | ArchiveStatus_ARCHIVE_STATUS_EXECUTING ArchiveStatus = 2 constant ArchiveStatus_ARCHIVE_STATUS_FAILED (line 90) | ArchiveStatus_ARCHIVE_STATUS_FAILED ArchiveStatus = 3 constant ArchiveStatus_ARCHIVE_STATUS_CANCELED (line 91) | ArchiveStatus_ARCHIVE_STATUS_CANCELED ArchiveStatus = 4 constant ArchiveStatus_ARCHIVE_STATUS_SUCCESS (line 92) | ArchiveStatus_ARCHIVE_STATUS_SUCCESS ArchiveStatus = 5 type Metadata (line 142) | type Metadata struct method Reset (line 152) | func (x *Metadata) Reset() { method String (line 161) | func (x *Metadata) String() string { method ProtoMessage (line 165) | func (*Metadata) ProtoMessage() {} method ProtoReflect (line 167) | func (x *Metadata) ProtoReflect() protoreflect.Message { method Descriptor (line 180) | func (*Metadata) Descriptor() ([]byte, []int) { method GetRoles (line 184) | func (x *Metadata) GetRoles() map[string]PathAccessRole { method GetUpdatedAt (line 191) | func (x *Metadata) GetUpdatedAt() int64 { method GetKey (line 198) | func (x *Metadata) GetKey() string { type Root (line 205) | type Root struct method Reset (line 224) | func (x *Root) Reset() { method String (line 233) | func (x *Root) String() string { method ProtoMessage (line 237) | func (*Root) ProtoMessage() {} method ProtoReflect (line 239) | func (x *Root) ProtoReflect() protoreflect.Message { method Descriptor (line 252) | func (*Root) Descriptor() ([]byte, []int) { method GetKey (line 256) | func (x *Root) GetKey() string { method GetName (line 263) | func (x *Root) GetName() string { method GetPath (line 270) | func (x *Root) GetPath() string { method GetCreatedAt (line 277) | func (x *Root) GetCreatedAt() int64 { method GetUpdatedAt (line 284) | func (x *Root) GetUpdatedAt() int64 { method GetThread (line 291) | func (x *Root) GetThread() string { method GetOwner (line 298) | func (x *Root) GetOwner() string { method GetVersion (line 305) | func (x *Root) GetVersion() int32 { method GetMetadata (line 312) | func (x *Root) GetMetadata() *Metadata { method GetLinkKey (line 319) | func (x *Root) GetLinkKey() string { method GetPathMetadata (line 326) | func (x *Root) GetPathMetadata() map[string]*Metadata { method GetArchives (line 333) | func (x *Root) GetArchives() *Archives { type ListRequest (line 340) | type ListRequest struct method Reset (line 346) | func (x *ListRequest) Reset() { method String (line 355) | func (x *ListRequest) String() string { method ProtoMessage (line 359) | func (*ListRequest) ProtoMessage() {} method ProtoReflect (line 361) | func (x *ListRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 374) | func (*ListRequest) Descriptor() ([]byte, []int) { type ListResponse (line 378) | type ListResponse struct method Reset (line 386) | func (x *ListResponse) Reset() { method String (line 395) | func (x *ListResponse) String() string { method ProtoMessage (line 399) | func (*ListResponse) ProtoMessage() {} method ProtoReflect (line 401) | func (x *ListResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 414) | func (*ListResponse) Descriptor() ([]byte, []int) { method GetRoots (line 418) | func (x *ListResponse) GetRoots() []*Root { type CreateRequest (line 425) | type CreateRequest struct method Reset (line 436) | func (x *CreateRequest) Reset() { method String (line 445) | func (x *CreateRequest) String() string { method ProtoMessage (line 449) | func (*CreateRequest) ProtoMessage() {} method ProtoReflect (line 451) | func (x *CreateRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 464) | func (*CreateRequest) Descriptor() ([]byte, []int) { method GetName (line 468) | func (x *CreateRequest) GetName() string { method GetBootstrapCid (line 475) | func (x *CreateRequest) GetBootstrapCid() string { method GetPrivate (line 482) | func (x *CreateRequest) GetPrivate() bool { method GetUnfreeze (line 489) | func (x *CreateRequest) GetUnfreeze() bool { type CreateResponse (line 496) | type CreateResponse struct method Reset (line 509) | func (x *CreateResponse) Reset() { method String (line 518) | func (x *CreateResponse) String() string { method ProtoMessage (line 522) | func (*CreateResponse) ProtoMessage() {} method ProtoReflect (line 524) | func (x *CreateResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 537) | func (*CreateResponse) Descriptor() ([]byte, []int) { method GetRoot (line 541) | func (x *CreateResponse) GetRoot() *Root { method GetLinks (line 548) | func (x *CreateResponse) GetLinks() *LinksResponse { method GetSeed (line 555) | func (x *CreateResponse) GetSeed() []byte { method GetSeedCid (line 562) | func (x *CreateResponse) GetSeedCid() string { method GetPinned (line 569) | func (x *CreateResponse) GetPinned() int64 { method GetRetrievalId (line 576) | func (x *CreateResponse) GetRetrievalId() string { type RootRequest (line 583) | type RootRequest struct method Reset (line 591) | func (x *RootRequest) Reset() { method String (line 600) | func (x *RootRequest) String() string { method ProtoMessage (line 604) | func (*RootRequest) ProtoMessage() {} method ProtoReflect (line 606) | func (x *RootRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 619) | func (*RootRequest) Descriptor() ([]byte, []int) { method GetKey (line 623) | func (x *RootRequest) GetKey() string { type RootResponse (line 630) | type RootResponse struct method Reset (line 638) | func (x *RootResponse) Reset() { method String (line 647) | func (x *RootResponse) String() string { method ProtoMessage (line 651) | func (*RootResponse) ProtoMessage() {} method ProtoReflect (line 653) | func (x *RootResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 666) | func (*RootResponse) Descriptor() ([]byte, []int) { method GetRoot (line 670) | func (x *RootResponse) GetRoot() *Root { type LinksRequest (line 677) | type LinksRequest struct method Reset (line 686) | func (x *LinksRequest) Reset() { method String (line 695) | func (x *LinksRequest) String() string { method ProtoMessage (line 699) | func (*LinksRequest) ProtoMessage() {} method ProtoReflect (line 701) | func (x *LinksRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 714) | func (*LinksRequest) Descriptor() ([]byte, []int) { method GetKey (line 718) | func (x *LinksRequest) GetKey() string { method GetPath (line 725) | func (x *LinksRequest) GetPath() string { type LinksResponse (line 732) | type LinksResponse struct method Reset (line 742) | func (x *LinksResponse) Reset() { method String (line 751) | func (x *LinksResponse) String() string { method ProtoMessage (line 755) | func (*LinksResponse) ProtoMessage() {} method ProtoReflect (line 757) | func (x *LinksResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 770) | func (*LinksResponse) Descriptor() ([]byte, []int) { method GetUrl (line 774) | func (x *LinksResponse) GetUrl() string { method GetWww (line 781) | func (x *LinksResponse) GetWww() string { method GetIpns (line 788) | func (x *LinksResponse) GetIpns() string { type ListPathRequest (line 795) | type ListPathRequest struct method Reset (line 804) | func (x *ListPathRequest) Reset() { method String (line 813) | func (x *ListPathRequest) String() string { method ProtoMessage (line 817) | func (*ListPathRequest) ProtoMessage() {} method ProtoReflect (line 819) | func (x *ListPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 832) | func (*ListPathRequest) Descriptor() ([]byte, []int) { method GetKey (line 836) | func (x *ListPathRequest) GetKey() string { method GetPath (line 843) | func (x *ListPathRequest) GetPath() string { type ListPathResponse (line 850) | type ListPathResponse struct method Reset (line 859) | func (x *ListPathResponse) Reset() { method String (line 868) | func (x *ListPathResponse) String() string { method ProtoMessage (line 872) | func (*ListPathResponse) ProtoMessage() {} method ProtoReflect (line 874) | func (x *ListPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 887) | func (*ListPathResponse) Descriptor() ([]byte, []int) { method GetItem (line 891) | func (x *ListPathResponse) GetItem() *PathItem { method GetRoot (line 898) | func (x *ListPathResponse) GetRoot() *Root { type PathItem (line 905) | type PathItem struct method Reset (line 920) | func (x *PathItem) Reset() { method String (line 929) | func (x *PathItem) String() string { method ProtoMessage (line 933) | func (*PathItem) ProtoMessage() {} method ProtoReflect (line 935) | func (x *PathItem) ProtoReflect() protoreflect.Message { method Descriptor (line 948) | func (*PathItem) Descriptor() ([]byte, []int) { method GetCid (line 952) | func (x *PathItem) GetCid() string { method GetName (line 959) | func (x *PathItem) GetName() string { method GetPath (line 966) | func (x *PathItem) GetPath() string { method GetSize (line 973) | func (x *PathItem) GetSize() int64 { method GetIsDir (line 980) | func (x *PathItem) GetIsDir() bool { method GetItems (line 987) | func (x *PathItem) GetItems() []*PathItem { method GetItemsCount (line 994) | func (x *PathItem) GetItemsCount() int32 { method GetMetadata (line 1001) | func (x *PathItem) GetMetadata() *Metadata { type ListIpfsPathRequest (line 1008) | type ListIpfsPathRequest struct method Reset (line 1016) | func (x *ListIpfsPathRequest) Reset() { method String (line 1025) | func (x *ListIpfsPathRequest) String() string { method ProtoMessage (line 1029) | func (*ListIpfsPathRequest) ProtoMessage() {} method ProtoReflect (line 1031) | func (x *ListIpfsPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1044) | func (*ListIpfsPathRequest) Descriptor() ([]byte, []int) { method GetPath (line 1048) | func (x *ListIpfsPathRequest) GetPath() string { type ListIpfsPathResponse (line 1055) | type ListIpfsPathResponse struct method Reset (line 1063) | func (x *ListIpfsPathResponse) Reset() { method String (line 1072) | func (x *ListIpfsPathResponse) String() string { method ProtoMessage (line 1076) | func (*ListIpfsPathResponse) ProtoMessage() {} method ProtoReflect (line 1078) | func (x *ListIpfsPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1091) | func (*ListIpfsPathResponse) Descriptor() ([]byte, []int) { method GetItem (line 1095) | func (x *ListIpfsPathResponse) GetItem() *PathItem { type PushPathRequest (line 1102) | type PushPathRequest struct method Reset (line 1113) | func (x *PushPathRequest) Reset() { method String (line 1122) | func (x *PushPathRequest) String() string { method ProtoMessage (line 1126) | func (*PushPathRequest) ProtoMessage() {} method ProtoReflect (line 1128) | func (x *PushPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1141) | func (*PushPathRequest) Descriptor() ([]byte, []int) { method GetPayload (line 1145) | func (m *PushPathRequest) GetPayload() isPushPathRequest_Payload { method GetHeader (line 1152) | func (x *PushPathRequest) GetHeader() *PushPathRequest_Header { method GetChunk (line 1159) | func (x *PushPathRequest) GetChunk() []byte { type isPushPathRequest_Payload (line 1166) | type isPushPathRequest_Payload interface type PushPathRequest_Header_ (line 1170) | type PushPathRequest_Header_ struct method isPushPathRequest_Payload (line 1178) | func (*PushPathRequest_Header_) isPushPathRequest_Payload() {} type PushPathRequest_Chunk (line 1174) | type PushPathRequest_Chunk struct method isPushPathRequest_Payload (line 1180) | func (*PushPathRequest_Chunk) isPushPathRequest_Payload() {} type PushPathResponse (line 1182) | type PushPathResponse struct method Reset (line 1190) | func (x *PushPathResponse) Reset() { method String (line 1199) | func (x *PushPathResponse) String() string { method ProtoMessage (line 1203) | func (*PushPathResponse) ProtoMessage() {} method ProtoReflect (line 1205) | func (x *PushPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1218) | func (*PushPathResponse) Descriptor() ([]byte, []int) { method GetEvent (line 1222) | func (x *PushPathResponse) GetEvent() *PushPathResponse_Event { type PushPathsRequest (line 1229) | type PushPathsRequest struct method Reset (line 1240) | func (x *PushPathsRequest) Reset() { method String (line 1249) | func (x *PushPathsRequest) String() string { method ProtoMessage (line 1253) | func (*PushPathsRequest) ProtoMessage() {} method ProtoReflect (line 1255) | func (x *PushPathsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1268) | func (*PushPathsRequest) Descriptor() ([]byte, []int) { method GetPayload (line 1272) | func (m *PushPathsRequest) GetPayload() isPushPathsRequest_Payload { method GetHeader (line 1279) | func (x *PushPathsRequest) GetHeader() *PushPathsRequest_Header { method GetChunk (line 1286) | func (x *PushPathsRequest) GetChunk() *PushPathsRequest_Chunk { type isPushPathsRequest_Payload (line 1293) | type isPushPathsRequest_Payload interface type PushPathsRequest_Header_ (line 1297) | type PushPathsRequest_Header_ struct method isPushPathsRequest_Payload (line 1305) | func (*PushPathsRequest_Header_) isPushPathsRequest_Payload() {} type PushPathsRequest_Chunk_ (line 1301) | type PushPathsRequest_Chunk_ struct method isPushPathsRequest_Payload (line 1307) | func (*PushPathsRequest_Chunk_) isPushPathsRequest_Payload() {} type PushPathsResponse (line 1309) | type PushPathsResponse struct method Reset (line 1321) | func (x *PushPathsResponse) Reset() { method String (line 1330) | func (x *PushPathsResponse) String() string { method ProtoMessage (line 1334) | func (*PushPathsResponse) ProtoMessage() {} method ProtoReflect (line 1336) | func (x *PushPathsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1349) | func (*PushPathsResponse) Descriptor() ([]byte, []int) { method GetPath (line 1353) | func (x *PushPathsResponse) GetPath() string { method GetCid (line 1360) | func (x *PushPathsResponse) GetCid() string { method GetSize (line 1367) | func (x *PushPathsResponse) GetSize() int64 { method GetPinned (line 1374) | func (x *PushPathsResponse) GetPinned() int64 { method GetRoot (line 1381) | func (x *PushPathsResponse) GetRoot() *Root { type PullPathRequest (line 1388) | type PullPathRequest struct method Reset (line 1397) | func (x *PullPathRequest) Reset() { method String (line 1406) | func (x *PullPathRequest) String() string { method ProtoMessage (line 1410) | func (*PullPathRequest) ProtoMessage() {} method ProtoReflect (line 1412) | func (x *PullPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1425) | func (*PullPathRequest) Descriptor() ([]byte, []int) { method GetKey (line 1429) | func (x *PullPathRequest) GetKey() string { method GetPath (line 1436) | func (x *PullPathRequest) GetPath() string { type PullPathResponse (line 1443) | type PullPathResponse struct method Reset (line 1451) | func (x *PullPathResponse) Reset() { method String (line 1460) | func (x *PullPathResponse) String() string { method ProtoMessage (line 1464) | func (*PullPathResponse) ProtoMessage() {} method ProtoReflect (line 1466) | func (x *PullPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1479) | func (*PullPathResponse) Descriptor() ([]byte, []int) { method GetChunk (line 1483) | func (x *PullPathResponse) GetChunk() []byte { type PullIpfsPathRequest (line 1490) | type PullIpfsPathRequest struct method Reset (line 1498) | func (x *PullIpfsPathRequest) Reset() { method String (line 1507) | func (x *PullIpfsPathRequest) String() string { method ProtoMessage (line 1511) | func (*PullIpfsPathRequest) ProtoMessage() {} method ProtoReflect (line 1513) | func (x *PullIpfsPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1526) | func (*PullIpfsPathRequest) Descriptor() ([]byte, []int) { method GetPath (line 1530) | func (x *PullIpfsPathRequest) GetPath() string { type PullIpfsPathResponse (line 1537) | type PullIpfsPathResponse struct method Reset (line 1545) | func (x *PullIpfsPathResponse) Reset() { method String (line 1554) | func (x *PullIpfsPathResponse) String() string { method ProtoMessage (line 1558) | func (*PullIpfsPathResponse) ProtoMessage() {} method ProtoReflect (line 1560) | func (x *PullIpfsPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1573) | func (*PullIpfsPathResponse) Descriptor() ([]byte, []int) { method GetChunk (line 1577) | func (x *PullIpfsPathResponse) GetChunk() []byte { type SetPathRequest (line 1584) | type SetPathRequest struct method Reset (line 1594) | func (x *SetPathRequest) Reset() { method String (line 1603) | func (x *SetPathRequest) String() string { method ProtoMessage (line 1607) | func (*SetPathRequest) ProtoMessage() {} method ProtoReflect (line 1609) | func (x *SetPathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1622) | func (*SetPathRequest) Descriptor() ([]byte, []int) { method GetKey (line 1626) | func (x *SetPathRequest) GetKey() string { method GetPath (line 1633) | func (x *SetPathRequest) GetPath() string { method GetCid (line 1640) | func (x *SetPathRequest) GetCid() string { type SetPathResponse (line 1647) | type SetPathResponse struct method Reset (line 1655) | func (x *SetPathResponse) Reset() { method String (line 1664) | func (x *SetPathResponse) String() string { method ProtoMessage (line 1668) | func (*SetPathResponse) ProtoMessage() {} method ProtoReflect (line 1670) | func (x *SetPathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1683) | func (*SetPathResponse) Descriptor() ([]byte, []int) { method GetPinned (line 1687) | func (x *SetPathResponse) GetPinned() int64 { type MovePathRequest (line 1694) | type MovePathRequest struct method Reset (line 1704) | func (x *MovePathRequest) Reset() { method String (line 1713) | func (x *MovePathRequest) String() string { method ProtoMessage (line 1717) | func (*MovePathRequest) ProtoMessage() {} method ProtoReflect (line 1719) | func (x *MovePathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1732) | func (*MovePathRequest) Descriptor() ([]byte, []int) { method GetKey (line 1736) | func (x *MovePathRequest) GetKey() string { method GetFromPath (line 1743) | func (x *MovePathRequest) GetFromPath() string { method GetToPath (line 1750) | func (x *MovePathRequest) GetToPath() string { type MovePathResponse (line 1757) | type MovePathResponse struct method Reset (line 1763) | func (x *MovePathResponse) Reset() { method String (line 1772) | func (x *MovePathResponse) String() string { method ProtoMessage (line 1776) | func (*MovePathResponse) ProtoMessage() {} method ProtoReflect (line 1778) | func (x *MovePathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1791) | func (*MovePathResponse) Descriptor() ([]byte, []int) { type RemoveRequest (line 1795) | type RemoveRequest struct method Reset (line 1803) | func (x *RemoveRequest) Reset() { method String (line 1812) | func (x *RemoveRequest) String() string { method ProtoMessage (line 1816) | func (*RemoveRequest) ProtoMessage() {} method ProtoReflect (line 1818) | func (x *RemoveRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1831) | func (*RemoveRequest) Descriptor() ([]byte, []int) { method GetKey (line 1835) | func (x *RemoveRequest) GetKey() string { type RemoveResponse (line 1842) | type RemoveResponse struct method Reset (line 1850) | func (x *RemoveResponse) Reset() { method String (line 1859) | func (x *RemoveResponse) String() string { method ProtoMessage (line 1863) | func (*RemoveResponse) ProtoMessage() {} method ProtoReflect (line 1865) | func (x *RemoveResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1878) | func (*RemoveResponse) Descriptor() ([]byte, []int) { method GetPinned (line 1882) | func (x *RemoveResponse) GetPinned() int64 { type RemovePathRequest (line 1889) | type RemovePathRequest struct method Reset (line 1899) | func (x *RemovePathRequest) Reset() { method String (line 1908) | func (x *RemovePathRequest) String() string { method ProtoMessage (line 1912) | func (*RemovePathRequest) ProtoMessage() {} method ProtoReflect (line 1914) | func (x *RemovePathRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1927) | func (*RemovePathRequest) Descriptor() ([]byte, []int) { method GetKey (line 1931) | func (x *RemovePathRequest) GetKey() string { method GetPath (line 1938) | func (x *RemovePathRequest) GetPath() string { method GetRoot (line 1945) | func (x *RemovePathRequest) GetRoot() string { type RemovePathResponse (line 1952) | type RemovePathResponse struct method Reset (line 1961) | func (x *RemovePathResponse) Reset() { method String (line 1970) | func (x *RemovePathResponse) String() string { method ProtoMessage (line 1974) | func (*RemovePathResponse) ProtoMessage() {} method ProtoReflect (line 1976) | func (x *RemovePathResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1989) | func (*RemovePathResponse) Descriptor() ([]byte, []int) { method GetRoot (line 1993) | func (x *RemovePathResponse) GetRoot() *Root { method GetPinned (line 2000) | func (x *RemovePathResponse) GetPinned() int64 { type PushPathAccessRolesRequest (line 2007) | type PushPathAccessRolesRequest struct method Reset (line 2017) | func (x *PushPathAccessRolesRequest) Reset() { method String (line 2026) | func (x *PushPathAccessRolesRequest) String() string { method ProtoMessage (line 2030) | func (*PushPathAccessRolesRequest) ProtoMessage() {} method ProtoReflect (line 2032) | func (x *PushPathAccessRolesRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 2045) | func (*PushPathAccessRolesRequest) Descriptor() ([]byte, []int) { method GetKey (line 2049) | func (x *PushPathAccessRolesRequest) GetKey() string { method GetPath (line 2056) | func (x *PushPathAccessRolesRequest) GetPath() string { method GetRoles (line 2063) | func (x *PushPathAccessRolesRequest) GetRoles() map[string]PathAccessR... type PushPathAccessRolesResponse (line 2070) | type PushPathAccessRolesResponse struct method Reset (line 2078) | func (x *PushPathAccessRolesResponse) Reset() { method String (line 2087) | func (x *PushPathAccessRolesResponse) String() string { method ProtoMessage (line 2091) | func (*PushPathAccessRolesResponse) ProtoMessage() {} method ProtoReflect (line 2093) | func (x *PushPathAccessRolesResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 2106) | func (*PushPathAccessRolesResponse) Descriptor() ([]byte, []int) { method GetPinned (line 2110) | func (x *PushPathAccessRolesResponse) GetPinned() int64 { type PullPathAccessRolesRequest (line 2117) | type PullPathAccessRolesRequest struct method Reset (line 2126) | func (x *PullPathAccessRolesRequest) Reset() { method String (line 2135) | func (x *PullPathAccessRolesRequest) String() string { method ProtoMessage (line 2139) | func (*PullPathAccessRolesRequest) ProtoMessage() {} method ProtoReflect (line 2141) | func (x *PullPathAccessRolesRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 2154) | func (*PullPathAccessRolesRequest) Descriptor() ([]byte, []int) { method GetKey (line 2158) | func (x *PullPathAccessRolesRequest) GetKey() string { method GetPath (line 2165) | func (x *PullPathAccessRolesRequest) GetPath() string { type PullPathAccessRolesResponse (line 2172) | type PullPathAccessRolesResponse struct method Reset (line 2180) | func (x *PullPathAccessRolesResponse) Reset() { method String (line 2189) | func (x *PullPathAccessRolesResponse) String() string { method ProtoMessage (line 2193) | func (*PullPathAccessRolesResponse) ProtoMessage() {} method ProtoReflect (line 2195) | func (x *PullPathAccessRolesResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 2208) | func (*PullPathAccessRolesResponse) Descriptor() ([]byte, []int) { method GetRoles (line 2212) | func (x *PullPathAccessRolesResponse) GetRoles() map[string]PathAccess... type ArchiveConfig (line 2219) | type ArchiveConfig struct method Reset (line 2236) | func (x *ArchiveConfig) Reset() { method String (line 2245) | func (x *ArchiveConfig) String() string { method ProtoMessage (line 2249) | func (*ArchiveConfig) ProtoMessage() {} method ProtoReflect (line 2251) | func (x *ArchiveConfig) ProtoReflect() protoreflect.Message { method Descriptor (line 2264) | func (*ArchiveConfig) Descriptor() ([]byte, []int) { method GetRepFactor (line 2268) | func (x *ArchiveConfig) GetRepFactor() int32 { method GetDealMinDuration (line 2275) | func (x *ArchiveConfig) GetDealMinDuration() int64 { method GetExcludedMiners (line 2282) | func (x *ArchiveConfig) GetExcludedMiners() []string { method GetTrustedMiners (line 2289) | func (x *ArchiveConfig) GetTrustedMiners() []string { method GetCountryCodes (line 2296) | func (x *ArchiveConfig) GetCountryCodes() []string { method GetRenew (line 2303) | func (x *ArchiveConfig) GetRenew() *ArchiveRenew { method GetMaxPrice (line 2310) | func (x *ArchiveConfig) GetMaxPrice() uint64 { method GetFastRetrieval (line 2317) | func (x *ArchiveConfig) GetFastRetrieval() bool { method GetDealStartOffset (line 2324) | func (x *ArchiveConfig) GetDealStartOffset() int64 { method GetVerifiedDeal (line 2331) | func (x *ArchiveConfig) GetVerifiedDeal() bool { type Archives (line 2338) | type Archives struct method Reset (line 2347) | func (x *Archives) Reset() { method String (line 2356) | func (x *Archives) String() string { method ProtoMessage (line 2360) | func (*Archives) ProtoMessage() {} method ProtoReflect (line 2362) | func (x *Archives) ProtoReflect() protoreflect.Message { method Descriptor (line 2375) | func (*Archives) Descriptor() ([]byte, []int) { method GetCurrent (line 2379) | func (x *Archives) GetCurrent() *Archive { method GetHistory (line 2386) | func (x *Archives) GetHistory() []*Archive { type Archive (line 2393) | type Archive struct method Reset (line 2408) | func (x *Archive) Reset() { method String (line 2417) | func (x *Archive) String() string { method ProtoMessage (line 2421) | func (*Archive) ProtoMessage() {} method ProtoReflect (line 2423) | func (x *Archive) ProtoReflect() protoreflect.Message { method Descriptor (line 2436) | func (*Archive) Descriptor() ([]byte, []int) { method GetCid (line 2440) | func (x *Archive) GetCid() string { method GetJobId (line 2447) | func (x *Archive) GetJobId() string { method GetArchiveStatus (line 2454) | func (x *Archive) GetArchiveStatus() ArchiveStatus { method GetAborted (line 2461) | func (x *Archive) GetAborted() bool { method GetAbortedMsg (line 2468) | func (x *Archive) GetAbortedMsg() string { method GetFailureMsg (line 2475) | func (x *Archive) GetFailureMsg() string { method GetCreatedAt (line 2482) | func (x *Archive) GetCreatedAt() int64 { method GetDealInfo (line 2489) | func (x *Archive) GetDealInfo() []*DealInfo { type DealInfo (line 2496) | type DealInfo struct method Reset (line 2515) | func (x *DealInfo) Reset() { method String (line 2524) | func (x *DealInfo) String() string { method ProtoMessage (line 2528) | func (*DealInfo) ProtoMessage() {} method ProtoReflect (line 2530) | func (x *DealInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 2543) | func (*DealInfo) Descriptor() ([]byte, []int) { method GetProposalCid (line 2547) | func (x *DealInfo) GetProposalCid() string { method GetStateId (line 2554) | func (x *DealInfo) GetStateId() uint64 { method GetStateName (line 2561) | func (x *DealInfo) GetStateName() string { method GetMiner (line 2568) | func (x *DealInfo) GetMiner() string { method GetPieceCid (line 2575) | func (x *DealInfo) GetPieceCid() string { method GetSize (line 2582) | func (x *DealInfo) GetSize() uint64 { method GetPricePerEpoch (line 2589) | func (x *DealInfo) GetPricePerEpoch() uint64 { method GetStartEpoch (line 2596) | func (x *DealInfo) GetStartEpoch() uint64 { method GetDuration (line 2603) | func (x *DealInfo) GetDuration() uint64 { method GetDealId (line 2610) | func (x *DealInfo) GetDealId() uint64 { method GetActivationEpoch (line 2617) | func (x *DealInfo) GetActivationEpoch() int64 { method GetMessage (line 2624) | func (x *DealInfo) GetMessage() string { type ArchiveRenew (line 2631) | type ArchiveRenew struct method Reset (line 2640) | func (x *ArchiveRenew) Reset() { method String (line 2649) | func (x *ArchiveRenew) String() string { method ProtoMessage (line 2653) | func (*ArchiveRenew) ProtoMessage() {} method ProtoReflect (line 2655) | func (x *ArchiveRenew) ProtoReflect() protoreflect.Message { method Descriptor (line 2668) | func (*ArchiveRenew) Descriptor() ([]byte, []int) { method GetEnabled (line 2672) | func (x *ArchiveRenew) GetEnabled() bool { method GetThreshold (line 2679) | func (x *ArchiveRenew) GetThreshold() int32 { type DefaultArchiveConfigRequest (line 2686) | type DefaultArchiveConfigRequest struct method Reset (line 2694) | func (x *DefaultArchiveConfigRequest) Reset() { method String (line 2703) | func (x *DefaultArchiveConfigRequest) String() string { method ProtoMessage (line 2707) | func (*DefaultArchiveConfigRequest) ProtoMessage() {} method ProtoReflect (line 2709) | func (x *DefaultArchiveConfigRequest) ProtoReflect() protoreflect.Mess... method Descriptor (line 2722) | func (*DefaultArchiveConfigRequest) Descriptor() ([]byte, []int) { method GetKey (line 2726) | func (x *DefaultArchiveConfigRequest) GetKey() string { type DefaultArchiveConfigResponse (line 2733) | type DefaultArchiveConfigResponse struct method Reset (line 2741) | func (x *DefaultArchiveConfigResponse) Reset() { method String (line 2750) | func (x *DefaultArchiveConfigResponse) String() string { method ProtoMessage (line 2754) | func (*DefaultArchiveConfigResponse) ProtoMessage() {} method ProtoReflect (line 2756) | func (x *DefaultArchiveConfigResponse) ProtoReflect() protoreflect.Mes... method Descriptor (line 2769) | func (*DefaultArchiveConfigResponse) Descriptor() ([]byte, []int) { method GetArchiveConfig (line 2773) | func (x *DefaultArchiveConfigResponse) GetArchiveConfig() *ArchiveConf... type SetDefaultArchiveConfigRequest (line 2780) | type SetDefaultArchiveConfigRequest struct method Reset (line 2789) | func (x *SetDefaultArchiveConfigRequest) Reset() { method String (line 2798) | func (x *SetDefaultArchiveConfigRequest) String() string { method ProtoMessage (line 2802) | func (*SetDefaultArchiveConfigRequest) ProtoMessage() {} method ProtoReflect (line 2804) | func (x *SetDefaultArchiveConfigRequest) ProtoReflect() protoreflect.M... method Descriptor (line 2817) | func (*SetDefaultArchiveConfigRequest) Descriptor() ([]byte, []int) { method GetKey (line 2821) | func (x *SetDefaultArchiveConfigRequest) GetKey() string { method GetArchiveConfig (line 2828) | func (x *SetDefaultArchiveConfigRequest) GetArchiveConfig() *ArchiveCo... type SetDefaultArchiveConfigResponse (line 2835) | type SetDefaultArchiveConfigResponse struct method Reset (line 2841) | func (x *SetDefaultArchiveConfigResponse) Reset() { method String (line 2850) | func (x *SetDefaultArchiveConfigResponse) String() string { method ProtoMessage (line 2854) | func (*SetDefaultArchiveConfigResponse) ProtoMessage() {} method ProtoReflect (line 2856) | func (x *SetDefaultArchiveConfigResponse) ProtoReflect() protoreflect.... method Descriptor (line 2869) | func (*SetDefaultArchiveConfigResponse) Descriptor() ([]byte, []int) { type ArchiveRequest (line 2873) | type ArchiveRequest struct method Reset (line 2883) | func (x *ArchiveRequest) Reset() { method String (line 2892) | func (x *ArchiveRequest) String() string { method ProtoMessage (line 2896) | func (*ArchiveRequest) ProtoMessage() {} method ProtoReflect (line 2898) | func (x *ArchiveRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2911) | func (*ArchiveRequest) Descriptor() ([]byte, []int) { method GetKey (line 2915) | func (x *ArchiveRequest) GetKey() string { method GetArchiveConfig (line 2922) | func (x *ArchiveRequest) GetArchiveConfig() *ArchiveConfig { method GetSkipAutomaticVerifiedDeal (line 2929) | func (x *ArchiveRequest) GetSkipAutomaticVerifiedDeal() bool { type ArchiveResponse (line 2936) | type ArchiveResponse struct method Reset (line 2942) | func (x *ArchiveResponse) Reset() { method String (line 2951) | func (x *ArchiveResponse) String() string { method ProtoMessage (line 2955) | func (*ArchiveResponse) ProtoMessage() {} method ProtoReflect (line 2957) | func (x *ArchiveResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2970) | func (*ArchiveResponse) Descriptor() ([]byte, []int) { type ArchivesRequest (line 2974) | type ArchivesRequest struct method Reset (line 2982) | func (x *ArchivesRequest) Reset() { method String (line 2991) | func (x *ArchivesRequest) String() string { method ProtoMessage (line 2995) | func (*ArchivesRequest) ProtoMessage() {} method ProtoReflect (line 2997) | func (x *ArchivesRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 3010) | func (*ArchivesRequest) Descriptor() ([]byte, []int) { method GetKey (line 3014) | func (x *ArchivesRequest) GetKey() string { type ArchivesResponse (line 3022) | type ArchivesResponse struct method Reset (line 3031) | func (x *ArchivesResponse) Reset() { method String (line 3040) | func (x *ArchivesResponse) String() string { method ProtoMessage (line 3044) | func (*ArchivesResponse) ProtoMessage() {} method ProtoReflect (line 3046) | func (x *ArchivesResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 3059) | func (*ArchivesResponse) Descriptor() ([]byte, []int) { method GetCurrent (line 3063) | func (x *ArchivesResponse) GetCurrent() *Archive { method GetHistory (line 3070) | func (x *ArchivesResponse) GetHistory() []*Archive { type ArchiveWatchRequest (line 3077) | type ArchiveWatchRequest struct method Reset (line 3085) | func (x *ArchiveWatchRequest) Reset() { method String (line 3094) | func (x *ArchiveWatchRequest) String() string { method ProtoMessage (line 3098) | func (*ArchiveWatchRequest) ProtoMessage() {} method ProtoReflect (line 3100) | func (x *ArchiveWatchRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 3113) | func (*ArchiveWatchRequest) Descriptor() ([]byte, []int) { method GetKey (line 3117) | func (x *ArchiveWatchRequest) GetKey() string { type ArchiveWatchResponse (line 3124) | type ArchiveWatchResponse struct method Reset (line 3132) | func (x *ArchiveWatchResponse) Reset() { method String (line 3141) | func (x *ArchiveWatchResponse) String() string { method ProtoMessage (line 3145) | func (*ArchiveWatchResponse) ProtoMessage() {} method ProtoReflect (line 3147) | func (x *ArchiveWatchResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 3160) | func (*ArchiveWatchResponse) Descriptor() ([]byte, []int) { method GetMsg (line 3164) | func (x *ArchiveWatchResponse) GetMsg() string { type PushPathRequest_Header (line 3171) | type PushPathRequest_Header struct method Reset (line 3181) | func (x *PushPathRequest_Header) Reset() { method String (line 3190) | func (x *PushPathRequest_Header) String() string { method ProtoMessage (line 3194) | func (*PushPathRequest_Header) ProtoMessage() {} method ProtoReflect (line 3196) | func (x *PushPathRequest_Header) ProtoReflect() protoreflect.Message { method Descriptor (line 3209) | func (*PushPathRequest_Header) Descriptor() ([]byte, []int) { method GetKey (line 3213) | func (x *PushPathRequest_Header) GetKey() string { method GetPath (line 3220) | func (x *PushPathRequest_Header) GetPath() string { method GetRoot (line 3227) | func (x *PushPathRequest_Header) GetRoot() string { type PushPathResponse_Event (line 3234) | type PushPathResponse_Event struct method Reset (line 3247) | func (x *PushPathResponse_Event) Reset() { method String (line 3256) | func (x *PushPathResponse_Event) String() string { method ProtoMessage (line 3260) | func (*PushPathResponse_Event) ProtoMessage() {} method ProtoReflect (line 3262) | func (x *PushPathResponse_Event) ProtoReflect() protoreflect.Message { method Descriptor (line 3275) | func (*PushPathResponse_Event) Descriptor() ([]byte, []int) { method GetName (line 3279) | func (x *PushPathResponse_Event) GetName() string { method GetPath (line 3286) | func (x *PushPathResponse_Event) GetPath() string { method GetBytes (line 3293) | func (x *PushPathResponse_Event) GetBytes() int64 { method GetSize (line 3300) | func (x *PushPathResponse_Event) GetSize() string { method GetRoot (line 3307) | func (x *PushPathResponse_Event) GetRoot() *Root { method GetPinned (line 3314) | func (x *PushPathResponse_Event) GetPinned() int64 { type PushPathsRequest_Header (line 3321) | type PushPathsRequest_Header struct method Reset (line 3331) | func (x *PushPathsRequest_Header) Reset() { method String (line 3340) | func (x *PushPathsRequest_Header) String() string { method ProtoMessage (line 3344) | func (*PushPathsRequest_Header) ProtoMessage() {} method ProtoReflect (line 3346) | func (x *PushPathsRequest_Header) ProtoReflect() protoreflect.Message { method Descriptor (line 3359) | func (*PushPathsRequest_Header) Descriptor() ([]byte, []int) { method GetKey (line 3363) | func (x *PushPathsRequest_Header) GetKey() string { method GetRoot (line 3370) | func (x *PushPathsRequest_Header) GetRoot() string { method GetPaths (line 3377) | func (x *PushPathsRequest_Header) GetPaths() []string { type PushPathsRequest_Chunk (line 3384) | type PushPathsRequest_Chunk struct method Reset (line 3393) | func (x *PushPathsRequest_Chunk) Reset() { method String (line 3402) | func (x *PushPathsRequest_Chunk) String() string { method ProtoMessage (line 3406) | func (*PushPathsRequest_Chunk) ProtoMessage() {} method ProtoReflect (line 3408) | func (x *PushPathsRequest_Chunk) ProtoReflect() protoreflect.Message { method Descriptor (line 3421) | func (*PushPathsRequest_Chunk) Descriptor() ([]byte, []int) { method GetPath (line 3425) | func (x *PushPathsRequest_Chunk) GetPath() string { method GetData (line 3432) | func (x *PushPathsRequest_Chunk) GetData() []byte { function file_api_bucketsd_pb_bucketsd_proto_rawDescGZIP (line 3972) | func file_api_bucketsd_pb_bucketsd_proto_rawDescGZIP() []byte { function init (line 4129) | func init() { file_api_bucketsd_pb_bucketsd_proto_init() } function file_api_bucketsd_pb_bucketsd_proto_init (line 4130) | func file_api_bucketsd_pb_bucketsd_proto_init() { constant _ (line 4819) | _ = grpc.SupportPackageIsVersion6 type APIServiceClient (line 4824) | type APIServiceClient interface type aPIServiceClient (line 4849) | type aPIServiceClient struct method List (line 4857) | func (c *aPIServiceClient) List(ctx context.Context, in *ListRequest, ... method Create (line 4866) | func (c *aPIServiceClient) Create(ctx context.Context, in *CreateReque... method Root (line 4875) | func (c *aPIServiceClient) Root(ctx context.Context, in *RootRequest, ... method Links (line 4884) | func (c *aPIServiceClient) Links(ctx context.Context, in *LinksRequest... method ListPath (line 4893) | func (c *aPIServiceClient) ListPath(ctx context.Context, in *ListPathR... method ListIpfsPath (line 4902) | func (c *aPIServiceClient) ListIpfsPath(ctx context.Context, in *ListI... method PushPath (line 4911) | func (c *aPIServiceClient) PushPath(ctx context.Context, opts ...grpc.... method PushPaths (line 4942) | func (c *aPIServiceClient) PushPaths(ctx context.Context, opts ...grpc... method PullPath (line 4973) | func (c *aPIServiceClient) PullPath(ctx context.Context, in *PullPathR... method PullIpfsPath (line 5005) | func (c *aPIServiceClient) PullIpfsPath(ctx context.Context, in *PullI... method SetPath (line 5037) | func (c *aPIServiceClient) SetPath(ctx context.Context, in *SetPathReq... method MovePath (line 5046) | func (c *aPIServiceClient) MovePath(ctx context.Context, in *MovePathR... method Remove (line 5055) | func (c *aPIServiceClient) Remove(ctx context.Context, in *RemoveReque... method RemovePath (line 5064) | func (c *aPIServiceClient) RemovePath(ctx context.Context, in *RemoveP... method PushPathAccessRoles (line 5073) | func (c *aPIServiceClient) PushPathAccessRoles(ctx context.Context, in... method PullPathAccessRoles (line 5082) | func (c *aPIServiceClient) PullPathAccessRoles(ctx context.Context, in... method DefaultArchiveConfig (line 5091) | func (c *aPIServiceClient) DefaultArchiveConfig(ctx context.Context, i... method SetDefaultArchiveConfig (line 5100) | func (c *aPIServiceClient) SetDefaultArchiveConfig(ctx context.Context... method Archive (line 5109) | func (c *aPIServiceClient) Archive(ctx context.Context, in *ArchiveReq... method Archives (line 5118) | func (c *aPIServiceClient) Archives(ctx context.Context, in *ArchivesR... method ArchiveWatch (line 5127) | func (c *aPIServiceClient) ArchiveWatch(ctx context.Context, in *Archi... function NewAPIServiceClient (line 4853) | func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient { type APIService_PushPathClient (line 4920) | type APIService_PushPathClient interface type aPIServicePushPathClient (line 4926) | type aPIServicePushPathClient struct method Send (line 4930) | func (x *aPIServicePushPathClient) Send(m *PushPathRequest) error { method Recv (line 4934) | func (x *aPIServicePushPathClient) Recv() (*PushPathResponse, error) { type APIService_PushPathsClient (line 4951) | type APIService_PushPathsClient interface type aPIServicePushPathsClient (line 4957) | type aPIServicePushPathsClient struct method Send (line 4961) | func (x *aPIServicePushPathsClient) Send(m *PushPathsRequest) error { method Recv (line 4965) | func (x *aPIServicePushPathsClient) Recv() (*PushPathsResponse, error) { type APIService_PullPathClient (line 4988) | type APIService_PullPathClient interface type aPIServicePullPathClient (line 4993) | type aPIServicePullPathClient struct method Recv (line 4997) | func (x *aPIServicePullPathClient) Recv() (*PullPathResponse, error) { type APIService_PullIpfsPathClient (line 5020) | type APIService_PullIpfsPathClient interface type aPIServicePullIpfsPathClient (line 5025) | type aPIServicePullIpfsPathClient struct method Recv (line 5029) | func (x *aPIServicePullIpfsPathClient) Recv() (*PullIpfsPathResponse, ... type APIService_ArchiveWatchClient (line 5142) | type APIService_ArchiveWatchClient interface type aPIServiceArchiveWatchClient (line 5147) | type aPIServiceArchiveWatchClient struct method Recv (line 5151) | func (x *aPIServiceArchiveWatchClient) Recv() (*ArchiveWatchResponse, ... type APIServiceServer (line 5160) | type APIServiceServer interface type UnimplementedAPIServiceServer (line 5186) | type UnimplementedAPIServiceServer struct method List (line 5189) | func (*UnimplementedAPIServiceServer) List(context.Context, *ListReque... method Create (line 5192) | func (*UnimplementedAPIServiceServer) Create(context.Context, *CreateR... method Root (line 5195) | func (*UnimplementedAPIServiceServer) Root(context.Context, *RootReque... method Links (line 5198) | func (*UnimplementedAPIServiceServer) Links(context.Context, *LinksReq... method ListPath (line 5201) | func (*UnimplementedAPIServiceServer) ListPath(context.Context, *ListP... method ListIpfsPath (line 5204) | func (*UnimplementedAPIServiceServer) ListIpfsPath(context.Context, *L... method PushPath (line 5207) | func (*UnimplementedAPIServiceServer) PushPath(APIService_PushPathServ... method PushPaths (line 5210) | func (*UnimplementedAPIServiceServer) PushPaths(APIService_PushPathsSe... method PullPath (line 5213) | func (*UnimplementedAPIServiceServer) PullPath(*PullPathRequest, APISe... method PullIpfsPath (line 5216) | func (*UnimplementedAPIServiceServer) PullIpfsPath(*PullIpfsPathReques... method SetPath (line 5219) | func (*UnimplementedAPIServiceServer) SetPath(context.Context, *SetPat... method MovePath (line 5222) | func (*UnimplementedAPIServiceServer) MovePath(context.Context, *MoveP... method Remove (line 5225) | func (*UnimplementedAPIServiceServer) Remove(context.Context, *RemoveR... method RemovePath (line 5228) | func (*UnimplementedAPIServiceServer) RemovePath(context.Context, *Rem... method PushPathAccessRoles (line 5231) | func (*UnimplementedAPIServiceServer) PushPathAccessRoles(context.Cont... method PullPathAccessRoles (line 5234) | func (*UnimplementedAPIServiceServer) PullPathAccessRoles(context.Cont... method DefaultArchiveConfig (line 5237) | func (*UnimplementedAPIServiceServer) DefaultArchiveConfig(context.Con... method SetDefaultArchiveConfig (line 5240) | func (*UnimplementedAPIServiceServer) SetDefaultArchiveConfig(context.... method Archive (line 5243) | func (*UnimplementedAPIServiceServer) Archive(context.Context, *Archiv... method Archives (line 5246) | func (*UnimplementedAPIServiceServer) Archives(context.Context, *Archi... method ArchiveWatch (line 5249) | func (*UnimplementedAPIServiceServer) ArchiveWatch(*ArchiveWatchReques... function RegisterAPIServiceServer (line 5253) | func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer) { function _APIService_List_Handler (line 5257) | func _APIService_List_Handler(srv interface{}, ctx context.Context, dec ... function _APIService_Create_Handler (line 5275) | func _APIService_Create_Handler(srv interface{}, ctx context.Context, de... function _APIService_Root_Handler (line 5293) | func _APIService_Root_Handler(srv interface{}, ctx context.Context, dec ... function _APIService_Links_Handler (line 5311) | func _APIService_Links_Handler(srv interface{}, ctx context.Context, dec... function _APIService_ListPath_Handler (line 5329) | func _APIService_ListPath_Handler(srv interface{}, ctx context.Context, ... function _APIService_ListIpfsPath_Handler (line 5347) | func _APIService_ListIpfsPath_Handler(srv interface{}, ctx context.Conte... function _APIService_PushPath_Handler (line 5365) | func _APIService_PushPath_Handler(srv interface{}, stream grpc.ServerStr... type APIService_PushPathServer (line 5369) | type APIService_PushPathServer interface type aPIServicePushPathServer (line 5375) | type aPIServicePushPathServer struct method Send (line 5379) | func (x *aPIServicePushPathServer) Send(m *PushPathResponse) error { method Recv (line 5383) | func (x *aPIServicePushPathServer) Recv() (*PushPathRequest, error) { function _APIService_PushPaths_Handler (line 5391) | func _APIService_PushPaths_Handler(srv interface{}, stream grpc.ServerSt... type APIService_PushPathsServer (line 5395) | type APIService_PushPathsServer interface type aPIServicePushPathsServer (line 5401) | type aPIServicePushPathsServer struct method Send (line 5405) | func (x *aPIServicePushPathsServer) Send(m *PushPathsResponse) error { method Recv (line 5409) | func (x *aPIServicePushPathsServer) Recv() (*PushPathsRequest, error) { function _APIService_PullPath_Handler (line 5417) | func _APIService_PullPath_Handler(srv interface{}, stream grpc.ServerStr... type APIService_PullPathServer (line 5425) | type APIService_PullPathServer interface type aPIServicePullPathServer (line 5430) | type aPIServicePullPathServer struct method Send (line 5434) | func (x *aPIServicePullPathServer) Send(m *PullPathResponse) error { function _APIService_PullIpfsPath_Handler (line 5438) | func _APIService_PullIpfsPath_Handler(srv interface{}, stream grpc.Serve... type APIService_PullIpfsPathServer (line 5446) | type APIService_PullIpfsPathServer interface type aPIServicePullIpfsPathServer (line 5451) | type aPIServicePullIpfsPathServer struct method Send (line 5455) | func (x *aPIServicePullIpfsPathServer) Send(m *PullIpfsPathResponse) e... function _APIService_SetPath_Handler (line 5459) | func _APIService_SetPath_Handler(srv interface{}, ctx context.Context, d... function _APIService_MovePath_Handler (line 5477) | func _APIService_MovePath_Handler(srv interface{}, ctx context.Context, ... function _APIService_Remove_Handler (line 5495) | func _APIService_Remove_Handler(srv interface{}, ctx context.Context, de... function _APIService_RemovePath_Handler (line 5513) | func _APIService_RemovePath_Handler(srv interface{}, ctx context.Context... function _APIService_PushPathAccessRoles_Handler (line 5531) | func _APIService_PushPathAccessRoles_Handler(srv interface{}, ctx contex... function _APIService_PullPathAccessRoles_Handler (line 5549) | func _APIService_PullPathAccessRoles_Handler(srv interface{}, ctx contex... function _APIService_DefaultArchiveConfig_Handler (line 5567) | func _APIService_DefaultArchiveConfig_Handler(srv interface{}, ctx conte... function _APIService_SetDefaultArchiveConfig_Handler (line 5585) | func _APIService_SetDefaultArchiveConfig_Handler(srv interface{}, ctx co... function _APIService_Archive_Handler (line 5603) | func _APIService_Archive_Handler(srv interface{}, ctx context.Context, d... function _APIService_Archives_Handler (line 5621) | func _APIService_Archives_Handler(srv interface{}, ctx context.Context, ... function _APIService_ArchiveWatch_Handler (line 5639) | func _APIService_ArchiveWatch_Handler(srv interface{}, stream grpc.Serve... type APIService_ArchiveWatchServer (line 5647) | type APIService_ArchiveWatchServer interface type aPIServiceArchiveWatchServer (line 5652) | type aPIServiceArchiveWatchServer struct method Send (line 5656) | func (x *aPIServiceArchiveWatchServer) Send(m *ArchiveWatchResponse) e... FILE: api/bucketsd/service.go constant chunkSize (line 54) | chunkSize = 1024 * 32 constant pinNotRecursiveMsg (line 56) | pinNotRecursiveMsg = "'from' cid was not recursively pinned already" constant pinAlreadyRecursiveMsg (line 58) | pinAlreadyRecursiveMsg = "'to' cid was already recursively pinned" type ctxKey (line 101) | type ctxKey type Service (line 104) | type Service struct method List (line 131) | func (s *Service) List(ctx context.Context, _ *pb.ListRequest) (*pb.Li... method Create (line 242) | func (s *Service) Create(ctx context.Context, req *pb.CreateRequest) (... method CreateBucket (line 326) | func (s *Service) CreateBucket(ctx context.Context, method createBucket (line 337) | func (s *Service) createBucket( method createPristinePath (line 459) | func (s *Service) createPristinePath( method pinBlocks (line 484) | func (s *Service) pinBlocks(ctx context.Context, nodes []ipld.Node) (c... method addPinnedBytes (line 511) | func (s *Service) addPinnedBytes(ctx context.Context, delta int64) con... method getPinnedBytes (line 528) | func (s *Service) getPinnedBytes(ctx context.Context) int64 { method createBootstrappedPath (line 536) | func (s *Service) createBootstrappedPath( method newDirFromExistingPath (line 610) | func (s *Service) newDirFromExistingPath( method encryptDag (line 708) | func (s *Service) encryptDag( method encryptFileNode (line 863) | func (s *Service) encryptFileNode(ctx context.Context, n ipld.Node, cu... method Root (line 898) | func (s *Service) Root(ctx context.Context, req *pb.RootRequest) (*pb.... method Links (line 921) | func (s *Service) Links(ctx context.Context, req *pb.LinksRequest) (*p... method createLinks (line 938) | func (s *Service) createLinks( method MovePath (line 991) | func (s *Service) MovePath(ctx context.Context, req *pb.MovePathReques... method copyNode (line 1150) | func (s *Service) copyNode( method saveAndPublish (line 1223) | func (s *Service) saveAndPublish(ctx context.Context, dbID thread.ID, ... method SetPath (line 1231) | func (s *Service) SetPath(ctx context.Context, req *pb.SetPathRequest)... method setPathFromExistingCid (line 1289) | func (s *Service) setPathFromExistingCid( method unpinPath (line 1360) | func (s *Service) unpinPath(ctx context.Context, path path.Path) (cont... method addAndPinNodes (line 1378) | func (s *Service) addAndPinNodes(ctx context.Context, nodes []ipld.Nod... method ListPath (line 1385) | func (s *Service) ListPath(ctx context.Context, req *pb.ListPathReques... method listPath (line 1402) | func (s *Service) listPath( method ListIpfsPath (line 1418) | func (s *Service) ListIpfsPath(ctx context.Context, req *pb.ListIpfsPa... method pathToItem (line 1431) | func (s *Service) pathToItem( method getNodeAtPath (line 1449) | func (s *Service) getNodeAtPath(ctx context.Context, pth path.Path, ke... method resolveNodeAtPath (line 1473) | func (s *Service) resolveNodeAtPath(ctx context.Context, pth path.Reso... method nodeToItem (line 1523) | func (s *Service) nodeToItem( method getBucketPath (line 1600) | func (s *Service) getBucketPath( method pathToPb (line 1627) | func (s *Service) pathToPb( method PushPath (line 1648) | func (s *Service) PushPath(server pb.APIService_PushPathServer) (err e... method PushPaths (line 1938) | func (s *Service) PushPaths(server pb.APIService_PushPathsServer) error { method getBucketSize (line 2164) | func (s *Service) getBucketSize(ctx context.Context, buck *tdb.Bucket)... method insertNodeAtPath (line 2245) | func (s *Service) insertNodeAtPath( method unpinBranch (line 2352) | func (s *Service) unpinBranch(ctx context.Context, p path.Resolved, ke... method getNodesToPath (line 2383) | func (s *Service) getNodesToPath( method updateOrAddPin (line 2427) | func (s *Service) updateOrAddPin(ctx context.Context, from, to path.Pa... method dagSize (line 2467) | func (s *Service) dagSize(ctx context.Context, root path.Path) (int64,... method PullPath (line 2478) | func (s *Service) PullPath(req *pb.PullPathRequest, server pb.APIServi... method getPathAndKey (line 2540) | func (s *Service) getPathAndKey( method PullIpfsPath (line 2578) | func (s *Service) PullIpfsPath(req *pb.PullIpfsPathRequest, server pb.... method Remove (line 2611) | func (s *Service) Remove(ctx context.Context, req *pb.RemoveRequest) (... method unpinNodeAndBranch (line 2661) | func (s *Service) unpinNodeAndBranch(ctx context.Context, pth path.Res... method RemovePath (line 2669) | func (s *Service) RemovePath(ctx context.Context, req *pb.RemovePathRe... method removePath (line 2724) | func (s *Service) removePath( method removeNodeAtPath (line 2756) | func (s *Service) removeNodeAtPath( method PushPathAccessRoles (line 2825) | func (s *Service) PushPathAccessRoles( method PullPathAccessRoles (line 2957) | func (s *Service) PullPathAccessRoles( method DefaultArchiveConfig (line 2993) | func (s *Service) DefaultArchiveConfig( method SetDefaultArchiveConfig (line 3017) | func (s *Service) SetDefaultArchiveConfig( method Archive (line 3045) | func (s *Service) Archive(ctx context.Context, req *pb.ArchiveRequest)... method Archives (line 3336) | func (s *Service) Archives(ctx context.Context, req *pb.ArchivesReques... method ArchiveWatch (line 3399) | func (s *Service) ArchiveWatch(req *pb.ArchiveWatchRequest, server pb.... method validateArchiveConfig (line 3497) | func (s *Service) validateArchiveConfig(c *mdb.ArchiveConfig) error { type buckLock (line 125) | type buckLock method Key (line 127) | func (l buckLock) Key() string { function getPbRoot (line 155) | func getPbRoot(dbID thread.ID, buck *tdb.Bucket) (*pb.Root, error) { function metadataToPb (line 189) | func metadataToPb(md tdb.Metadata) (*pb.Metadata, error) { function archivesToPb (line 214) | func archivesToPb(archives tdb.Archives) *pb.Archives { function dealsToPb (line 231) | func dealsToPb(deals []tdb.Deal) []*pb.DealInfo { function makeSeed (line 425) | func makeSeed(key []byte) (ipld.Node, error) { function encryptData (line 442) | func encryptData(data, currentKey, newKey []byte) ([]byte, error) { function newDirWithNode (line 583) | func newDirWithNode(n ipld.Node, name string, key []byte) (ipld.Node, er... function encryptNode (line 593) | func encryptNode(n *dag.ProtoNode, key []byte) (*dag.ProtoNode, error) { type namedNode (line 672) | type namedNode struct type namedNodes (line 679) | type namedNodes struct method Get (line 690) | func (nn *namedNodes) Get(c cid.Cid) *namedNode { method Store (line 696) | func (nn *namedNodes) Store(c cid.Cid, n *namedNode) { function newNamedNodes (line 684) | func newNamedNodes() *namedNodes { function getFileKey (line 851) | func getFileKey(key []byte, pathKeys map[string][]byte, pth string) []by... function decryptNode (line 1482) | func decryptNode(cn ipld.Node, key []byte) (ipld.Node, bool, error) { function decryptData (line 1513) | func decryptData(data, key []byte) ([]byte, error) { function parsePath (line 1592) | func parsePath(pth string) (fpth string, err error) { function cleanPath (line 1615) | func cleanPath(pth string) string { function inflateFilePath (line 1619) | func inflateFilePath(buck *tdb.Bucket, filePath string) (path.Path, erro... type fileAdder (line 1839) | type fileAdder struct type addedFile (line 1844) | type addedFile struct type fileQueue (line 1850) | type fileQueue struct method add (line 1859) | func (q *fileQueue) add( function newFileQueue (line 1855) | func newFileQueue() *fileQueue { type pathNode (line 2374) | type pathNode struct function getLink (line 2416) | func getLink(lnks []*ipld.Link, name string) *ipld.Link { function toPbArchive (line 3361) | func toPbArchive(archive mdb.Archive) (*pb.Archive, error) { function toPbArchiveConfig (line 3430) | func toPbArchiveConfig(config *mdb.ArchiveConfig) *pb.ArchiveConfig { function fromPbArchiveConfig (line 3452) | func fromPbArchiveConfig(pbConfig *pb.ArchiveConfig) *mdb.ArchiveConfig { function toFilConfig (line 3476) | func toFilConfig(config *mdb.ArchiveConfig) *userPb.FilConfig { FILE: api/common/common.go type ctxKey (line 14) | type ctxKey function NewSessionContext (line 17) | func NewSessionContext(ctx context.Context, session string) context.Cont... function SessionFromContext (line 25) | func SessionFromContext(ctx context.Context) (string, bool) { function SessionFromMD (line 31) | func SessionFromMD(ctx context.Context) (session string, ok bool) { function NewOrgSlugContext (line 40) | func NewOrgSlugContext(ctx context.Context, slug string) context.Context { function OrgSlugFromContext (line 48) | func OrgSlugFromContext(ctx context.Context) (string, bool) { function OrgSlugFromMD (line 54) | func OrgSlugFromMD(ctx context.Context) (slug string, ok bool) { function NewAPIKeyContext (line 63) | func NewAPIKeyContext(ctx context.Context, key string) context.Context { function APIKeyFromContext (line 71) | func APIKeyFromContext(ctx context.Context) (string, bool) { function APIKeyFromMD (line 77) | func APIKeyFromMD(ctx context.Context) (key string, ok bool) { function CreateAPISigContext (line 89) | func CreateAPISigContext(ctx context.Context, date time.Time, secret str... function NewAPISigContext (line 106) | func NewAPISigContext(ctx context.Context, msg string, sig []byte) conte... function APISigFromContext (line 116) | func APISigFromContext(ctx context.Context) (msg string, sig []byte, ok ... function APISigFromMD (line 129) | func APISigFromMD(ctx context.Context) (msg string, sig []byte, ok bool) { function ValidateAPISigContext (line 149) | func ValidateAPISigContext(ctx context.Context, secret string) bool { function NewThreadIDContext (line 174) | func NewThreadIDContext(ctx context.Context, id thread.ID) context.Conte... function ThreadIDFromContext (line 182) | func ThreadIDFromContext(ctx context.Context) (thread.ID, bool) { function ThreadIDFromMD (line 188) | func ThreadIDFromMD(ctx context.Context) (id thread.ID, ok bool) { function NewThreadNameContext (line 204) | func NewThreadNameContext(ctx context.Context, name string) context.Cont... function ThreadNameFromContext (line 212) | func ThreadNameFromContext(ctx context.Context) (string, bool) { function ThreadNameFromMD (line 218) | func ThreadNameFromMD(ctx context.Context) (name string, ok bool) { type Credentials (line 227) | type Credentials struct method GetRequestMetadata (line 231) | func (c Credentials) GetRequestMetadata(ctx context.Context, _ ...stri... method RequireTransportSecurity (line 269) | func (c Credentials) RequireTransportSecurity() bool { FILE: api/filecoin/client/client.go type Client (line 11) | type Client struct method Addresses (line 28) | func (c *Client) Addresses(ctx context.Context) (*userPb.AddressesResp... method Balance (line 32) | func (c *Client) Balance(ctx context.Context, addr string) (*userPb.Ba... method SignMessage (line 39) | func (c *Client) SignMessage(ctx context.Context, address string, mess... method VerifyMessage (line 47) | func (c *Client) VerifyMessage(ctx context.Context, address string, me... method CidInfo (line 52) | func (c *Client) CidInfo(ctx context.Context, cid string) (*userPb.Cid... method StorageDealRecords (line 57) | func (c *Client) StorageDealRecords(ctx context.Context, config *userP... method RetrievalDealRecords (line 64) | func (c *Client) RetrievalDealRecords(ctx context.Context, config *use... method Close (line 72) | func (c *Client) Close() error { function NewClient (line 17) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { FILE: api/hubd/client/client.go type Client (line 11) | type Client struct method Close (line 29) | func (c *Client) Close() error { method BuildInfo (line 34) | func (c *Client) BuildInfo(ctx context.Context) (*pb.BuildInfoResponse... method Signup (line 40) | func (c *Client) Signup(ctx context.Context, username, email string) (... method Signin (line 49) | func (c *Client) Signin(ctx context.Context, usernameOrEmail string) (... method Signout (line 56) | func (c *Client) Signout(ctx context.Context) error { method GetSessionInfo (line 62) | func (c *Client) GetSessionInfo(ctx context.Context) (*pb.GetSessionIn... method GetIdentity (line 67) | func (c *Client) GetIdentity(ctx context.Context) (*pb.GetIdentityResp... method CreateKey (line 72) | func (c *Client) CreateKey(ctx context.Context, keyType pb.KeyType, se... method InvalidateKey (line 81) | func (c *Client) InvalidateKey(ctx context.Context, key string) error { method ListKeys (line 87) | func (c *Client) ListKeys(ctx context.Context) (*pb.ListKeysResponse, ... method CreateOrg (line 92) | func (c *Client) CreateOrg(ctx context.Context, name string) (*pb.Crea... method GetOrg (line 97) | func (c *Client) GetOrg(ctx context.Context) (*pb.GetOrgResponse, erro... method ListOrgs (line 102) | func (c *Client) ListOrgs(ctx context.Context) (*pb.ListOrgsResponse, ... method RemoveOrg (line 107) | func (c *Client) RemoveOrg(ctx context.Context) error { method InviteToOrg (line 113) | func (c *Client) InviteToOrg(ctx context.Context, email string) (*pb.I... method LeaveOrg (line 120) | func (c *Client) LeaveOrg(ctx context.Context) error { method SetupBilling (line 127) | func (c *Client) SetupBilling(ctx context.Context) error { method GetBillingSession (line 133) | func (c *Client) GetBillingSession(ctx context.Context) (*pb.GetBillin... method ListBillingUsers (line 138) | func (c *Client) ListBillingUsers(ctx context.Context, opts ...ListOpt... method IsUsernameAvailable (line 151) | func (c *Client) IsUsernameAvailable(ctx context.Context, username str... method IsOrgNameAvailable (line 159) | func (c *Client) IsOrgNameAvailable(ctx context.Context, name string) ... method DestroyAccount (line 166) | func (c *Client) DestroyAccount(ctx context.Context) error { function NewClient (line 17) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { FILE: api/hubd/client/client_test.go function TestMain (line 25) | func TestMain(m *testing.M) { function TestClient_Signup (line 35) | func TestClient_Signup(t *testing.T) { function TestClient_Signin (line 44) | func TestClient_Signin(t *testing.T) { function TestClient_Signout (line 66) | func TestClient_Signout(t *testing.T) { function TestClient_GetSessionInfo (line 84) | func TestClient_GetSessionInfo(t *testing.T) { function TestClient_GetIdentity (line 107) | func TestClient_GetIdentity(t *testing.T) { function TestClient_CreateKey (line 134) | func TestClient_CreateKey(t *testing.T) { function TestClient_InvalidateKey (line 156) | func TestClient_InvalidateKey(t *testing.T) { function TestClient_ListKeys (line 182) | func TestClient_ListKeys(t *testing.T) { function TestClient_CreateOrg (line 207) | func TestClient_CreateOrg(t *testing.T) { function TestClient_GetOrg (line 229) | func TestClient_GetOrg(t *testing.T) { function TestClient_ListOrgs (line 251) | func TestClient_ListOrgs(t *testing.T) { function TestClient_RemoveOrg (line 276) | func TestClient_RemoveOrg(t *testing.T) { function TestClient_InviteToOrg (line 308) | func TestClient_InviteToOrg(t *testing.T) { function TestClient_LeaveOrg (line 331) | func TestClient_LeaveOrg(t *testing.T) { function TestClient_SetupBilling (line 367) | func TestClient_SetupBilling(t *testing.T) { function TestClient_GetBillingSession (line 389) | func TestClient_GetBillingSession(t *testing.T) { function TestClient_IsUsernameAvailable (line 408) | func TestClient_IsUsernameAvailable(t *testing.T) { function TestClient_IsOrgNameAvailable (line 422) | func TestClient_IsOrgNameAvailable(t *testing.T) { function TestClient_DestroyAccount (line 442) | func TestClient_DestroyAccount(t *testing.T) { function TestClose (line 464) | func TestClose(t *testing.T) { function setup (line 476) | func setup(t *testing.T, conf *core.Config) (core.Config, *c.Client, *tc... function setupWithBilling (line 499) | func setupWithBilling(t *testing.T) (core.Config, *c.Client, *tc.Client) { FILE: api/hubd/client/options.go type listOptions (line 3) | type listOptions struct type ListOption (line 8) | type ListOption function WithOffset (line 11) | func WithOffset(offset int64) ListOption { function WithLimit (line 18) | func WithLimit(limit int64) ListOption { FILE: api/hubd/pb/hubd.pb.go constant _ (line 24) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 26) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 31) | _ = proto.ProtoPackageIsVersion4 type KeyType (line 33) | type KeyType method Enum (line 55) | func (x KeyType) Enum() *KeyType { method String (line 61) | func (x KeyType) String() string { method Descriptor (line 65) | func (KeyType) Descriptor() protoreflect.EnumDescriptor { method Type (line 69) | func (KeyType) Type() protoreflect.EnumType { method Number (line 73) | func (x KeyType) Number() protoreflect.EnumNumber { method EnumDescriptor (line 78) | func (KeyType) EnumDescriptor() ([]byte, []int) { constant KeyType_KEY_TYPE_UNSPECIFIED (line 36) | KeyType_KEY_TYPE_UNSPECIFIED KeyType = 0 constant KeyType_KEY_TYPE_ACCOUNT (line 37) | KeyType_KEY_TYPE_ACCOUNT KeyType = 1 constant KeyType_KEY_TYPE_USER (line 38) | KeyType_KEY_TYPE_USER KeyType = 2 type BuildInfoRequest (line 82) | type BuildInfoRequest struct method Reset (line 88) | func (x *BuildInfoRequest) Reset() { method String (line 97) | func (x *BuildInfoRequest) String() string { method ProtoMessage (line 101) | func (*BuildInfoRequest) ProtoMessage() {} method ProtoReflect (line 103) | func (x *BuildInfoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 116) | func (*BuildInfoRequest) Descriptor() ([]byte, []int) { type BuildInfoResponse (line 120) | type BuildInfoResponse struct method Reset (line 133) | func (x *BuildInfoResponse) Reset() { method String (line 142) | func (x *BuildInfoResponse) String() string { method ProtoMessage (line 146) | func (*BuildInfoResponse) ProtoMessage() {} method ProtoReflect (line 148) | func (x *BuildInfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 161) | func (*BuildInfoResponse) Descriptor() ([]byte, []int) { method GetGitCommit (line 165) | func (x *BuildInfoResponse) GetGitCommit() string { method GetGitBranch (line 172) | func (x *BuildInfoResponse) GetGitBranch() string { method GetGitState (line 179) | func (x *BuildInfoResponse) GetGitState() string { method GetGitSummary (line 186) | func (x *BuildInfoResponse) GetGitSummary() string { method GetBuildDate (line 193) | func (x *BuildInfoResponse) GetBuildDate() string { method GetVersion (line 200) | func (x *BuildInfoResponse) GetVersion() string { type SignupRequest (line 207) | type SignupRequest struct method Reset (line 216) | func (x *SignupRequest) Reset() { method String (line 225) | func (x *SignupRequest) String() string { method ProtoMessage (line 229) | func (*SignupRequest) ProtoMessage() {} method ProtoReflect (line 231) | func (x *SignupRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 244) | func (*SignupRequest) Descriptor() ([]byte, []int) { method GetUsername (line 248) | func (x *SignupRequest) GetUsername() string { method GetEmail (line 255) | func (x *SignupRequest) GetEmail() string { type SignupResponse (line 262) | type SignupResponse struct method Reset (line 271) | func (x *SignupResponse) Reset() { method String (line 280) | func (x *SignupResponse) String() string { method ProtoMessage (line 284) | func (*SignupResponse) ProtoMessage() {} method ProtoReflect (line 286) | func (x *SignupResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 299) | func (*SignupResponse) Descriptor() ([]byte, []int) { method GetKey (line 303) | func (x *SignupResponse) GetKey() []byte { method GetSession (line 310) | func (x *SignupResponse) GetSession() string { type SigninRequest (line 317) | type SigninRequest struct method Reset (line 325) | func (x *SigninRequest) Reset() { method String (line 334) | func (x *SigninRequest) String() string { method ProtoMessage (line 338) | func (*SigninRequest) ProtoMessage() {} method ProtoReflect (line 340) | func (x *SigninRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 353) | func (*SigninRequest) Descriptor() ([]byte, []int) { method GetUsernameOrEmail (line 357) | func (x *SigninRequest) GetUsernameOrEmail() string { type SigninResponse (line 364) | type SigninResponse struct method Reset (line 373) | func (x *SigninResponse) Reset() { method String (line 382) | func (x *SigninResponse) String() string { method ProtoMessage (line 386) | func (*SigninResponse) ProtoMessage() {} method ProtoReflect (line 388) | func (x *SigninResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 401) | func (*SigninResponse) Descriptor() ([]byte, []int) { method GetKey (line 405) | func (x *SigninResponse) GetKey() []byte { method GetSession (line 412) | func (x *SigninResponse) GetSession() string { type SignoutRequest (line 419) | type SignoutRequest struct method Reset (line 425) | func (x *SignoutRequest) Reset() { method String (line 434) | func (x *SignoutRequest) String() string { method ProtoMessage (line 438) | func (*SignoutRequest) ProtoMessage() {} method ProtoReflect (line 440) | func (x *SignoutRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 453) | func (*SignoutRequest) Descriptor() ([]byte, []int) { type SignoutResponse (line 457) | type SignoutResponse struct method Reset (line 463) | func (x *SignoutResponse) Reset() { method String (line 472) | func (x *SignoutResponse) String() string { method ProtoMessage (line 476) | func (*SignoutResponse) ProtoMessage() {} method ProtoReflect (line 478) | func (x *SignoutResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 491) | func (*SignoutResponse) Descriptor() ([]byte, []int) { type GetSessionInfoRequest (line 495) | type GetSessionInfoRequest struct method Reset (line 501) | func (x *GetSessionInfoRequest) Reset() { method String (line 510) | func (x *GetSessionInfoRequest) String() string { method ProtoMessage (line 514) | func (*GetSessionInfoRequest) ProtoMessage() {} method ProtoReflect (line 516) | func (x *GetSessionInfoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 529) | func (*GetSessionInfoRequest) Descriptor() ([]byte, []int) { type GetSessionInfoResponse (line 533) | type GetSessionInfoResponse struct method Reset (line 543) | func (x *GetSessionInfoResponse) Reset() { method String (line 552) | func (x *GetSessionInfoResponse) String() string { method ProtoMessage (line 556) | func (*GetSessionInfoResponse) ProtoMessage() {} method ProtoReflect (line 558) | func (x *GetSessionInfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 571) | func (*GetSessionInfoResponse) Descriptor() ([]byte, []int) { method GetKey (line 575) | func (x *GetSessionInfoResponse) GetKey() []byte { method GetUsername (line 582) | func (x *GetSessionInfoResponse) GetUsername() string { method GetEmail (line 589) | func (x *GetSessionInfoResponse) GetEmail() string { type GetIdentityRequest (line 596) | type GetIdentityRequest struct method Reset (line 602) | func (x *GetIdentityRequest) Reset() { method String (line 611) | func (x *GetIdentityRequest) String() string { method ProtoMessage (line 615) | func (*GetIdentityRequest) ProtoMessage() {} method ProtoReflect (line 617) | func (x *GetIdentityRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 630) | func (*GetIdentityRequest) Descriptor() ([]byte, []int) { type GetIdentityResponse (line 634) | type GetIdentityResponse struct method Reset (line 642) | func (x *GetIdentityResponse) Reset() { method String (line 651) | func (x *GetIdentityResponse) String() string { method ProtoMessage (line 655) | func (*GetIdentityResponse) ProtoMessage() {} method ProtoReflect (line 657) | func (x *GetIdentityResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 670) | func (*GetIdentityResponse) Descriptor() ([]byte, []int) { method GetIdentity (line 674) | func (x *GetIdentityResponse) GetIdentity() []byte { type KeyInfo (line 681) | type KeyInfo struct method Reset (line 694) | func (x *KeyInfo) Reset() { method String (line 703) | func (x *KeyInfo) String() string { method ProtoMessage (line 707) | func (*KeyInfo) ProtoMessage() {} method ProtoReflect (line 709) | func (x *KeyInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 722) | func (*KeyInfo) Descriptor() ([]byte, []int) { method GetKey (line 726) | func (x *KeyInfo) GetKey() string { method GetSecret (line 733) | func (x *KeyInfo) GetSecret() string { method GetType (line 740) | func (x *KeyInfo) GetType() KeyType { method GetValid (line 747) | func (x *KeyInfo) GetValid() bool { method GetThreads (line 754) | func (x *KeyInfo) GetThreads() int32 { method GetSecure (line 761) | func (x *KeyInfo) GetSecure() bool { type CreateKeyRequest (line 768) | type CreateKeyRequest struct method Reset (line 777) | func (x *CreateKeyRequest) Reset() { method String (line 786) | func (x *CreateKeyRequest) String() string { method ProtoMessage (line 790) | func (*CreateKeyRequest) ProtoMessage() {} method ProtoReflect (line 792) | func (x *CreateKeyRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 805) | func (*CreateKeyRequest) Descriptor() ([]byte, []int) { method GetType (line 809) | func (x *CreateKeyRequest) GetType() KeyType { method GetSecure (line 816) | func (x *CreateKeyRequest) GetSecure() bool { type CreateKeyResponse (line 823) | type CreateKeyResponse struct method Reset (line 831) | func (x *CreateKeyResponse) Reset() { method String (line 840) | func (x *CreateKeyResponse) String() string { method ProtoMessage (line 844) | func (*CreateKeyResponse) ProtoMessage() {} method ProtoReflect (line 846) | func (x *CreateKeyResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 859) | func (*CreateKeyResponse) Descriptor() ([]byte, []int) { method GetKeyInfo (line 863) | func (x *CreateKeyResponse) GetKeyInfo() *KeyInfo { type InvalidateKeyRequest (line 870) | type InvalidateKeyRequest struct method Reset (line 878) | func (x *InvalidateKeyRequest) Reset() { method String (line 887) | func (x *InvalidateKeyRequest) String() string { method ProtoMessage (line 891) | func (*InvalidateKeyRequest) ProtoMessage() {} method ProtoReflect (line 893) | func (x *InvalidateKeyRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 906) | func (*InvalidateKeyRequest) Descriptor() ([]byte, []int) { method GetKey (line 910) | func (x *InvalidateKeyRequest) GetKey() string { type InvalidateKeyResponse (line 917) | type InvalidateKeyResponse struct method Reset (line 923) | func (x *InvalidateKeyResponse) Reset() { method String (line 932) | func (x *InvalidateKeyResponse) String() string { method ProtoMessage (line 936) | func (*InvalidateKeyResponse) ProtoMessage() {} method ProtoReflect (line 938) | func (x *InvalidateKeyResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 951) | func (*InvalidateKeyResponse) Descriptor() ([]byte, []int) { type ListKeysRequest (line 955) | type ListKeysRequest struct method Reset (line 961) | func (x *ListKeysRequest) Reset() { method String (line 970) | func (x *ListKeysRequest) String() string { method ProtoMessage (line 974) | func (*ListKeysRequest) ProtoMessage() {} method ProtoReflect (line 976) | func (x *ListKeysRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 989) | func (*ListKeysRequest) Descriptor() ([]byte, []int) { type ListKeysResponse (line 993) | type ListKeysResponse struct method Reset (line 1001) | func (x *ListKeysResponse) Reset() { method String (line 1010) | func (x *ListKeysResponse) String() string { method ProtoMessage (line 1014) | func (*ListKeysResponse) ProtoMessage() {} method ProtoReflect (line 1016) | func (x *ListKeysResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1029) | func (*ListKeysResponse) Descriptor() ([]byte, []int) { method GetList (line 1033) | func (x *ListKeysResponse) GetList() []*KeyInfo { type OrgInfo (line 1040) | type OrgInfo struct method Reset (line 1053) | func (x *OrgInfo) Reset() { method String (line 1062) | func (x *OrgInfo) String() string { method ProtoMessage (line 1066) | func (*OrgInfo) ProtoMessage() {} method ProtoReflect (line 1068) | func (x *OrgInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 1081) | func (*OrgInfo) Descriptor() ([]byte, []int) { method GetKey (line 1085) | func (x *OrgInfo) GetKey() []byte { method GetName (line 1092) | func (x *OrgInfo) GetName() string { method GetSlug (line 1099) | func (x *OrgInfo) GetSlug() string { method GetHost (line 1106) | func (x *OrgInfo) GetHost() string { method GetMembers (line 1113) | func (x *OrgInfo) GetMembers() []*OrgInfo_Member { method GetCreatedAt (line 1120) | func (x *OrgInfo) GetCreatedAt() int64 { type CreateOrgRequest (line 1127) | type CreateOrgRequest struct method Reset (line 1135) | func (x *CreateOrgRequest) Reset() { method String (line 1144) | func (x *CreateOrgRequest) String() string { method ProtoMessage (line 1148) | func (*CreateOrgRequest) ProtoMessage() {} method ProtoReflect (line 1150) | func (x *CreateOrgRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1163) | func (*CreateOrgRequest) Descriptor() ([]byte, []int) { method GetName (line 1167) | func (x *CreateOrgRequest) GetName() string { type CreateOrgResponse (line 1174) | type CreateOrgResponse struct method Reset (line 1182) | func (x *CreateOrgResponse) Reset() { method String (line 1191) | func (x *CreateOrgResponse) String() string { method ProtoMessage (line 1195) | func (*CreateOrgResponse) ProtoMessage() {} method ProtoReflect (line 1197) | func (x *CreateOrgResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1210) | func (*CreateOrgResponse) Descriptor() ([]byte, []int) { method GetOrgInfo (line 1214) | func (x *CreateOrgResponse) GetOrgInfo() *OrgInfo { type GetOrgRequest (line 1221) | type GetOrgRequest struct method Reset (line 1227) | func (x *GetOrgRequest) Reset() { method String (line 1236) | func (x *GetOrgRequest) String() string { method ProtoMessage (line 1240) | func (*GetOrgRequest) ProtoMessage() {} method ProtoReflect (line 1242) | func (x *GetOrgRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1255) | func (*GetOrgRequest) Descriptor() ([]byte, []int) { type GetOrgResponse (line 1259) | type GetOrgResponse struct method Reset (line 1267) | func (x *GetOrgResponse) Reset() { method String (line 1276) | func (x *GetOrgResponse) String() string { method ProtoMessage (line 1280) | func (*GetOrgResponse) ProtoMessage() {} method ProtoReflect (line 1282) | func (x *GetOrgResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1295) | func (*GetOrgResponse) Descriptor() ([]byte, []int) { method GetOrgInfo (line 1299) | func (x *GetOrgResponse) GetOrgInfo() *OrgInfo { type ListOrgsRequest (line 1306) | type ListOrgsRequest struct method Reset (line 1312) | func (x *ListOrgsRequest) Reset() { method String (line 1321) | func (x *ListOrgsRequest) String() string { method ProtoMessage (line 1325) | func (*ListOrgsRequest) ProtoMessage() {} method ProtoReflect (line 1327) | func (x *ListOrgsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1340) | func (*ListOrgsRequest) Descriptor() ([]byte, []int) { type ListOrgsResponse (line 1344) | type ListOrgsResponse struct method Reset (line 1352) | func (x *ListOrgsResponse) Reset() { method String (line 1361) | func (x *ListOrgsResponse) String() string { method ProtoMessage (line 1365) | func (*ListOrgsResponse) ProtoMessage() {} method ProtoReflect (line 1367) | func (x *ListOrgsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1380) | func (*ListOrgsResponse) Descriptor() ([]byte, []int) { method GetList (line 1384) | func (x *ListOrgsResponse) GetList() []*OrgInfo { type RemoveOrgRequest (line 1391) | type RemoveOrgRequest struct method Reset (line 1397) | func (x *RemoveOrgRequest) Reset() { method String (line 1406) | func (x *RemoveOrgRequest) String() string { method ProtoMessage (line 1410) | func (*RemoveOrgRequest) ProtoMessage() {} method ProtoReflect (line 1412) | func (x *RemoveOrgRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1425) | func (*RemoveOrgRequest) Descriptor() ([]byte, []int) { type RemoveOrgResponse (line 1429) | type RemoveOrgResponse struct method Reset (line 1435) | func (x *RemoveOrgResponse) Reset() { method String (line 1444) | func (x *RemoveOrgResponse) String() string { method ProtoMessage (line 1448) | func (*RemoveOrgResponse) ProtoMessage() {} method ProtoReflect (line 1450) | func (x *RemoveOrgResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1463) | func (*RemoveOrgResponse) Descriptor() ([]byte, []int) { type InviteToOrgRequest (line 1467) | type InviteToOrgRequest struct method Reset (line 1475) | func (x *InviteToOrgRequest) Reset() { method String (line 1484) | func (x *InviteToOrgRequest) String() string { method ProtoMessage (line 1488) | func (*InviteToOrgRequest) ProtoMessage() {} method ProtoReflect (line 1490) | func (x *InviteToOrgRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1503) | func (*InviteToOrgRequest) Descriptor() ([]byte, []int) { method GetEmail (line 1507) | func (x *InviteToOrgRequest) GetEmail() string { type InviteToOrgResponse (line 1514) | type InviteToOrgResponse struct method Reset (line 1522) | func (x *InviteToOrgResponse) Reset() { method String (line 1531) | func (x *InviteToOrgResponse) String() string { method ProtoMessage (line 1535) | func (*InviteToOrgResponse) ProtoMessage() {} method ProtoReflect (line 1537) | func (x *InviteToOrgResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1550) | func (*InviteToOrgResponse) Descriptor() ([]byte, []int) { method GetToken (line 1554) | func (x *InviteToOrgResponse) GetToken() string { type LeaveOrgRequest (line 1561) | type LeaveOrgRequest struct method Reset (line 1567) | func (x *LeaveOrgRequest) Reset() { method String (line 1576) | func (x *LeaveOrgRequest) String() string { method ProtoMessage (line 1580) | func (*LeaveOrgRequest) ProtoMessage() {} method ProtoReflect (line 1582) | func (x *LeaveOrgRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1595) | func (*LeaveOrgRequest) Descriptor() ([]byte, []int) { type LeaveOrgResponse (line 1599) | type LeaveOrgResponse struct method Reset (line 1605) | func (x *LeaveOrgResponse) Reset() { method String (line 1614) | func (x *LeaveOrgResponse) String() string { method ProtoMessage (line 1618) | func (*LeaveOrgResponse) ProtoMessage() {} method ProtoReflect (line 1620) | func (x *LeaveOrgResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1633) | func (*LeaveOrgResponse) Descriptor() ([]byte, []int) { type SetupBillingRequest (line 1637) | type SetupBillingRequest struct method Reset (line 1643) | func (x *SetupBillingRequest) Reset() { method String (line 1652) | func (x *SetupBillingRequest) String() string { method ProtoMessage (line 1656) | func (*SetupBillingRequest) ProtoMessage() {} method ProtoReflect (line 1658) | func (x *SetupBillingRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1671) | func (*SetupBillingRequest) Descriptor() ([]byte, []int) { type SetupBillingResponse (line 1675) | type SetupBillingResponse struct method Reset (line 1681) | func (x *SetupBillingResponse) Reset() { method String (line 1690) | func (x *SetupBillingResponse) String() string { method ProtoMessage (line 1694) | func (*SetupBillingResponse) ProtoMessage() {} method ProtoReflect (line 1696) | func (x *SetupBillingResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1709) | func (*SetupBillingResponse) Descriptor() ([]byte, []int) { type GetBillingSessionRequest (line 1713) | type GetBillingSessionRequest struct method Reset (line 1719) | func (x *GetBillingSessionRequest) Reset() { method String (line 1728) | func (x *GetBillingSessionRequest) String() string { method ProtoMessage (line 1732) | func (*GetBillingSessionRequest) ProtoMessage() {} method ProtoReflect (line 1734) | func (x *GetBillingSessionRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1747) | func (*GetBillingSessionRequest) Descriptor() ([]byte, []int) { type GetBillingSessionResponse (line 1751) | type GetBillingSessionResponse struct method Reset (line 1759) | func (x *GetBillingSessionResponse) Reset() { method String (line 1768) | func (x *GetBillingSessionResponse) String() string { method ProtoMessage (line 1772) | func (*GetBillingSessionResponse) ProtoMessage() {} method ProtoReflect (line 1774) | func (x *GetBillingSessionResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1787) | func (*GetBillingSessionResponse) Descriptor() ([]byte, []int) { method GetUrl (line 1791) | func (x *GetBillingSessionResponse) GetUrl() string { type ListBillingUsersRequest (line 1798) | type ListBillingUsersRequest struct method Reset (line 1807) | func (x *ListBillingUsersRequest) Reset() { method String (line 1816) | func (x *ListBillingUsersRequest) String() string { method ProtoMessage (line 1820) | func (*ListBillingUsersRequest) ProtoMessage() {} method ProtoReflect (line 1822) | func (x *ListBillingUsersRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1835) | func (*ListBillingUsersRequest) Descriptor() ([]byte, []int) { method GetOffset (line 1839) | func (x *ListBillingUsersRequest) GetOffset() int64 { method GetLimit (line 1846) | func (x *ListBillingUsersRequest) GetLimit() int64 { type ListBillingUsersResponse (line 1853) | type ListBillingUsersResponse struct method Reset (line 1862) | func (x *ListBillingUsersResponse) Reset() { method String (line 1871) | func (x *ListBillingUsersResponse) String() string { method ProtoMessage (line 1875) | func (*ListBillingUsersResponse) ProtoMessage() {} method ProtoReflect (line 1877) | func (x *ListBillingUsersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1890) | func (*ListBillingUsersResponse) Descriptor() ([]byte, []int) { method GetUsers (line 1894) | func (x *ListBillingUsersResponse) GetUsers() []*pb.GetCustomerResponse { method GetNextOffset (line 1901) | func (x *ListBillingUsersResponse) GetNextOffset() int64 { type IsUsernameAvailableRequest (line 1908) | type IsUsernameAvailableRequest struct method Reset (line 1916) | func (x *IsUsernameAvailableRequest) Reset() { method String (line 1925) | func (x *IsUsernameAvailableRequest) String() string { method ProtoMessage (line 1929) | func (*IsUsernameAvailableRequest) ProtoMessage() {} method ProtoReflect (line 1931) | func (x *IsUsernameAvailableRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 1944) | func (*IsUsernameAvailableRequest) Descriptor() ([]byte, []int) { method GetUsername (line 1948) | func (x *IsUsernameAvailableRequest) GetUsername() string { type IsUsernameAvailableResponse (line 1955) | type IsUsernameAvailableResponse struct method Reset (line 1961) | func (x *IsUsernameAvailableResponse) Reset() { method String (line 1970) | func (x *IsUsernameAvailableResponse) String() string { method ProtoMessage (line 1974) | func (*IsUsernameAvailableResponse) ProtoMessage() {} method ProtoReflect (line 1976) | func (x *IsUsernameAvailableResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 1989) | func (*IsUsernameAvailableResponse) Descriptor() ([]byte, []int) { type IsOrgNameAvailableRequest (line 1993) | type IsOrgNameAvailableRequest struct method Reset (line 2001) | func (x *IsOrgNameAvailableRequest) Reset() { method String (line 2010) | func (x *IsOrgNameAvailableRequest) String() string { method ProtoMessage (line 2014) | func (*IsOrgNameAvailableRequest) ProtoMessage() {} method ProtoReflect (line 2016) | func (x *IsOrgNameAvailableRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2029) | func (*IsOrgNameAvailableRequest) Descriptor() ([]byte, []int) { method GetName (line 2033) | func (x *IsOrgNameAvailableRequest) GetName() string { type IsOrgNameAvailableResponse (line 2040) | type IsOrgNameAvailableResponse struct method Reset (line 2049) | func (x *IsOrgNameAvailableResponse) Reset() { method String (line 2058) | func (x *IsOrgNameAvailableResponse) String() string { method ProtoMessage (line 2062) | func (*IsOrgNameAvailableResponse) ProtoMessage() {} method ProtoReflect (line 2064) | func (x *IsOrgNameAvailableResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 2077) | func (*IsOrgNameAvailableResponse) Descriptor() ([]byte, []int) { method GetSlug (line 2081) | func (x *IsOrgNameAvailableResponse) GetSlug() string { method GetHost (line 2088) | func (x *IsOrgNameAvailableResponse) GetHost() string { type DestroyAccountRequest (line 2095) | type DestroyAccountRequest struct method Reset (line 2101) | func (x *DestroyAccountRequest) Reset() { method String (line 2110) | func (x *DestroyAccountRequest) String() string { method ProtoMessage (line 2114) | func (*DestroyAccountRequest) ProtoMessage() {} method ProtoReflect (line 2116) | func (x *DestroyAccountRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 2129) | func (*DestroyAccountRequest) Descriptor() ([]byte, []int) { type DestroyAccountResponse (line 2133) | type DestroyAccountResponse struct method Reset (line 2139) | func (x *DestroyAccountResponse) Reset() { method String (line 2148) | func (x *DestroyAccountResponse) String() string { method ProtoMessage (line 2152) | func (*DestroyAccountResponse) ProtoMessage() {} method ProtoReflect (line 2154) | func (x *DestroyAccountResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 2167) | func (*DestroyAccountResponse) Descriptor() ([]byte, []int) { type OrgInfo_Member (line 2171) | type OrgInfo_Member struct method Reset (line 2181) | func (x *OrgInfo_Member) Reset() { method String (line 2190) | func (x *OrgInfo_Member) String() string { method ProtoMessage (line 2194) | func (*OrgInfo_Member) ProtoMessage() {} method ProtoReflect (line 2196) | func (x *OrgInfo_Member) ProtoReflect() protoreflect.Message { method Descriptor (line 2209) | func (*OrgInfo_Member) Descriptor() ([]byte, []int) { method GetKey (line 2213) | func (x *OrgInfo_Member) GetKey() []byte { method GetUsername (line 2220) | func (x *OrgInfo_Member) GetUsername() string { method GetRole (line 2227) | func (x *OrgInfo_Member) GetRole() string { function file_api_hubd_pb_hubd_proto_rawDescGZIP (line 2521) | func file_api_hubd_pb_hubd_proto_rawDescGZIP() []byte { function init (line 2638) | func init() { file_api_hubd_pb_hubd_proto_init() } function file_api_hubd_pb_hubd_proto_init (line 2639) | func file_api_hubd_pb_hubd_proto_init() { constant _ (line 3212) | _ = grpc.SupportPackageIsVersion6 type APIServiceClient (line 3217) | type APIServiceClient interface type aPIServiceClient (line 3241) | type aPIServiceClient struct method BuildInfo (line 3249) | func (c *aPIServiceClient) BuildInfo(ctx context.Context, in *BuildInf... method Signup (line 3258) | func (c *aPIServiceClient) Signup(ctx context.Context, in *SignupReque... method Signin (line 3267) | func (c *aPIServiceClient) Signin(ctx context.Context, in *SigninReque... method Signout (line 3276) | func (c *aPIServiceClient) Signout(ctx context.Context, in *SignoutReq... method GetSessionInfo (line 3285) | func (c *aPIServiceClient) GetSessionInfo(ctx context.Context, in *Get... method GetIdentity (line 3294) | func (c *aPIServiceClient) GetIdentity(ctx context.Context, in *GetIde... method CreateKey (line 3303) | func (c *aPIServiceClient) CreateKey(ctx context.Context, in *CreateKe... method ListKeys (line 3312) | func (c *aPIServiceClient) ListKeys(ctx context.Context, in *ListKeysR... method InvalidateKey (line 3321) | func (c *aPIServiceClient) InvalidateKey(ctx context.Context, in *Inva... method CreateOrg (line 3330) | func (c *aPIServiceClient) CreateOrg(ctx context.Context, in *CreateOr... method GetOrg (line 3339) | func (c *aPIServiceClient) GetOrg(ctx context.Context, in *GetOrgReque... method ListOrgs (line 3348) | func (c *aPIServiceClient) ListOrgs(ctx context.Context, in *ListOrgsR... method RemoveOrg (line 3357) | func (c *aPIServiceClient) RemoveOrg(ctx context.Context, in *RemoveOr... method InviteToOrg (line 3366) | func (c *aPIServiceClient) InviteToOrg(ctx context.Context, in *Invite... method LeaveOrg (line 3375) | func (c *aPIServiceClient) LeaveOrg(ctx context.Context, in *LeaveOrgR... method SetupBilling (line 3384) | func (c *aPIServiceClient) SetupBilling(ctx context.Context, in *Setup... method GetBillingSession (line 3393) | func (c *aPIServiceClient) GetBillingSession(ctx context.Context, in *... method ListBillingUsers (line 3402) | func (c *aPIServiceClient) ListBillingUsers(ctx context.Context, in *L... method IsUsernameAvailable (line 3411) | func (c *aPIServiceClient) IsUsernameAvailable(ctx context.Context, in... method IsOrgNameAvailable (line 3420) | func (c *aPIServiceClient) IsOrgNameAvailable(ctx context.Context, in ... method DestroyAccount (line 3429) | func (c *aPIServiceClient) DestroyAccount(ctx context.Context, in *Des... function NewAPIServiceClient (line 3245) | func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient { type APIServiceServer (line 3439) | type APIServiceServer interface type UnimplementedAPIServiceServer (line 3464) | type UnimplementedAPIServiceServer struct method BuildInfo (line 3467) | func (*UnimplementedAPIServiceServer) BuildInfo(context.Context, *Buil... method Signup (line 3470) | func (*UnimplementedAPIServiceServer) Signup(context.Context, *SignupR... method Signin (line 3473) | func (*UnimplementedAPIServiceServer) Signin(context.Context, *SigninR... method Signout (line 3476) | func (*UnimplementedAPIServiceServer) Signout(context.Context, *Signou... method GetSessionInfo (line 3479) | func (*UnimplementedAPIServiceServer) GetSessionInfo(context.Context, ... method GetIdentity (line 3482) | func (*UnimplementedAPIServiceServer) GetIdentity(context.Context, *Ge... method CreateKey (line 3485) | func (*UnimplementedAPIServiceServer) CreateKey(context.Context, *Crea... method ListKeys (line 3488) | func (*UnimplementedAPIServiceServer) ListKeys(context.Context, *ListK... method InvalidateKey (line 3491) | func (*UnimplementedAPIServiceServer) InvalidateKey(context.Context, *... method CreateOrg (line 3494) | func (*UnimplementedAPIServiceServer) CreateOrg(context.Context, *Crea... method GetOrg (line 3497) | func (*UnimplementedAPIServiceServer) GetOrg(context.Context, *GetOrgR... method ListOrgs (line 3500) | func (*UnimplementedAPIServiceServer) ListOrgs(context.Context, *ListO... method RemoveOrg (line 3503) | func (*UnimplementedAPIServiceServer) RemoveOrg(context.Context, *Remo... method InviteToOrg (line 3506) | func (*UnimplementedAPIServiceServer) InviteToOrg(context.Context, *In... method LeaveOrg (line 3509) | func (*UnimplementedAPIServiceServer) LeaveOrg(context.Context, *Leave... method SetupBilling (line 3512) | func (*UnimplementedAPIServiceServer) SetupBilling(context.Context, *S... method GetBillingSession (line 3515) | func (*UnimplementedAPIServiceServer) GetBillingSession(context.Contex... method ListBillingUsers (line 3518) | func (*UnimplementedAPIServiceServer) ListBillingUsers(context.Context... method IsUsernameAvailable (line 3521) | func (*UnimplementedAPIServiceServer) IsUsernameAvailable(context.Cont... method IsOrgNameAvailable (line 3524) | func (*UnimplementedAPIServiceServer) IsOrgNameAvailable(context.Conte... method DestroyAccount (line 3527) | func (*UnimplementedAPIServiceServer) DestroyAccount(context.Context, ... function RegisterAPIServiceServer (line 3531) | func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer) { function _APIService_BuildInfo_Handler (line 3535) | func _APIService_BuildInfo_Handler(srv interface{}, ctx context.Context,... function _APIService_Signup_Handler (line 3553) | func _APIService_Signup_Handler(srv interface{}, ctx context.Context, de... function _APIService_Signin_Handler (line 3571) | func _APIService_Signin_Handler(srv interface{}, ctx context.Context, de... function _APIService_Signout_Handler (line 3589) | func _APIService_Signout_Handler(srv interface{}, ctx context.Context, d... function _APIService_GetSessionInfo_Handler (line 3607) | func _APIService_GetSessionInfo_Handler(srv interface{}, ctx context.Con... function _APIService_GetIdentity_Handler (line 3625) | func _APIService_GetIdentity_Handler(srv interface{}, ctx context.Contex... function _APIService_CreateKey_Handler (line 3643) | func _APIService_CreateKey_Handler(srv interface{}, ctx context.Context,... function _APIService_ListKeys_Handler (line 3661) | func _APIService_ListKeys_Handler(srv interface{}, ctx context.Context, ... function _APIService_InvalidateKey_Handler (line 3679) | func _APIService_InvalidateKey_Handler(srv interface{}, ctx context.Cont... function _APIService_CreateOrg_Handler (line 3697) | func _APIService_CreateOrg_Handler(srv interface{}, ctx context.Context,... function _APIService_GetOrg_Handler (line 3715) | func _APIService_GetOrg_Handler(srv interface{}, ctx context.Context, de... function _APIService_ListOrgs_Handler (line 3733) | func _APIService_ListOrgs_Handler(srv interface{}, ctx context.Context, ... function _APIService_RemoveOrg_Handler (line 3751) | func _APIService_RemoveOrg_Handler(srv interface{}, ctx context.Context,... function _APIService_InviteToOrg_Handler (line 3769) | func _APIService_InviteToOrg_Handler(srv interface{}, ctx context.Contex... function _APIService_LeaveOrg_Handler (line 3787) | func _APIService_LeaveOrg_Handler(srv interface{}, ctx context.Context, ... function _APIService_SetupBilling_Handler (line 3805) | func _APIService_SetupBilling_Handler(srv interface{}, ctx context.Conte... function _APIService_GetBillingSession_Handler (line 3823) | func _APIService_GetBillingSession_Handler(srv interface{}, ctx context.... function _APIService_ListBillingUsers_Handler (line 3841) | func _APIService_ListBillingUsers_Handler(srv interface{}, ctx context.C... function _APIService_IsUsernameAvailable_Handler (line 3859) | func _APIService_IsUsernameAvailable_Handler(srv interface{}, ctx contex... function _APIService_IsOrgNameAvailable_Handler (line 3877) | func _APIService_IsOrgNameAvailable_Handler(srv interface{}, ctx context... function _APIService_DestroyAccount_Handler (line 3895) | func _APIService_DestroyAccount_Handler(srv interface{}, ctx context.Con... FILE: api/hubd/service.go type Service (line 43) | type Service struct method BuildInfo (line 59) | func (s *Service) BuildInfo(_ context.Context, _ *pb.BuildInfoRequest)... method Signup (line 70) | func (s *Service) Signup(ctx context.Context, req *pb.SignupRequest) (... method Signin (line 77) | func (s *Service) Signin(ctx context.Context, req *pb.SigninRequest) (... method awaitVerification (line 123) | func (s *Service) awaitVerification(secret string) bool { method powergateAdminCtx (line 145) | func (s *Service) powergateAdminCtx(ctx context.Context) context.Conte... method Signout (line 158) | func (s *Service) Signout(ctx context.Context, _ *pb.SignoutRequest) (... method GetSessionInfo (line 171) | func (s *Service) GetSessionInfo(ctx context.Context, _ *pb.GetSession... method GetIdentity (line 192) | func (s *Service) GetIdentity(ctx context.Context, _ *pb.GetIdentityRe... method CreateKey (line 208) | func (s *Service) CreateKey(ctx context.Context, req *pb.CreateKeyRequ... method InvalidateKey (line 273) | func (s *Service) InvalidateKey(ctx context.Context, req *pb.Invalidat... method ListKeys (line 294) | func (s *Service) ListKeys(ctx context.Context, _ *pb.ListKeysRequest)... method CreateOrg (line 327) | func (s *Service) CreateOrg(ctx context.Context, req *pb.CreateOrgRequ... method GetOrg (line 393) | func (s *Service) GetOrg(ctx context.Context, _ *pb.GetOrgRequest) (*p... method orgToPbOrg (line 412) | func (s *Service) orgToPbOrg(org *mdb.Account) (*pb.OrgInfo, error) { method ListOrgs (line 439) | func (s *Service) ListOrgs(ctx context.Context, _ *pb.ListOrgsRequest)... method RemoveOrg (line 463) | func (s *Service) RemoveOrg(ctx context.Context, _ *pb.RemoveOrgReques... method InviteToOrg (line 506) | func (s *Service) InviteToOrg(ctx context.Context, req *pb.InviteToOrg... method LeaveOrg (line 564) | func (s *Service) LeaveOrg(ctx context.Context, _ *pb.LeaveOrgRequest)... method SetupBilling (line 602) | func (s *Service) SetupBilling(ctx context.Context, _ *pb.SetupBilling... method GetBillingSession (line 638) | func (s *Service) GetBillingSession( method ListBillingUsers (line 658) | func (s *Service) ListBillingUsers( method IsUsernameAvailable (line 685) | func (s *Service) IsUsernameAvailable( method IsOrgNameAvailable (line 697) | func (s *Service) IsOrgNameAvailable( method DestroyAccount (line 713) | func (s *Service) DestroyAccount(ctx context.Context, _ *pb.DestroyAcc... method destroyAccount (line 740) | func (s *Service) destroyAccount(ctx context.Context, a *mdb.Account) ... function getSessionSecret (line 151) | func getSessionSecret(secret string) string { function getAccount (line 828) | func getAccount(ctx context.Context) (*mdb.AccountCtx, error) { function keyTypeToPb (line 836) | func keyTypeToPb(t mdb.APIKeyType) (pb.KeyType, error) { FILE: api/mindexd/client/client.go type Client (line 12) | type Client struct method Close (line 30) | func (c *Client) Close() error { method GetMinerInfo (line 35) | func (c *Client) GetMinerInfo(ctx context.Context, minerAddr string) (... method CalculateDealPrice (line 42) | func (c *Client) CalculateDealPrice(ctx context.Context, minersAddr []... method QueryIndex (line 53) | func (c *Client) QueryIndex(ctx context.Context, params *pb.QueryIndex... function NewClient (line 18) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { FILE: api/mindexd/collector/collector.go type Collector (line 18) | type Collector struct method Subscribe (line 55) | func (c *Collector) Subscribe() <-chan struct{} { method Close (line 66) | func (c *Collector) Close() error { method runDaemon (line 79) | func (c *Collector) runDaemon() { method notifySubscribers (line 113) | func (c *Collector) notifySubscribers() { function New (line 30) | func New(store *store.Store, opts ...Option) (*Collector, error) { FILE: api/mindexd/collector/config.go type config (line 17) | type config struct type Option (line 25) | type Option function WithRunOnStart (line 29) | func WithRunOnStart(enabled bool) Option { function WithFrequency (line 36) | func WithFrequency(freq time.Duration) Option { function WithFetchLimit (line 44) | func WithFetchLimit(limit int) Option { function WithFetchTimeout (line 52) | func WithFetchTimeout(timeout time.Duration) Option { FILE: api/mindexd/collector/daemon.go method collectTargets (line 16) | func (c *Collector) collectTargets(ctx context.Context) int { method collectNewStorageDealRecords (line 61) | func (c *Collector) collectNewStorageDealRecords(ctx context.Context, pc... method collectNewRetrievalRecords (line 103) | func (c *Collector) collectNewRetrievalRecords(ctx context.Context, pc *... function toStorageDealRecords (line 141) | func toStorageDealRecords(rs []*userPb.StorageDealRecord) []model.PowSto... function toRetrievalRecords (line 178) | func toRetrievalRecords(rs []*userPb.RetrievalDealRecord) []model.PowRet... FILE: api/mindexd/indexer/config.go type config (line 14) | type config struct type Option (line 21) | type Option function WithRunOnStart (line 25) | func WithRunOnStart(enabled bool) Option { function WithFrequency (line 33) | func WithFrequency(freq time.Duration) Option { function WithSnapshotMaxAge (line 41) | func WithSnapshotMaxAge(age time.Duration) Option { FILE: api/mindexd/indexer/daemon.go method generateIndex (line 17) | func (i *Indexer) generateIndex(ctx context.Context) error { method updateOnChainMinersInfo (line 46) | func (i *Indexer) updateOnChainMinersInfo(ctx context.Context, miners []... method getActiveMiners (line 77) | func (i *Indexer) getActiveMiners(ctx context.Context) ([]string, error) { method updateTextileMinerInfo (line 92) | func (i *Indexer) updateTextileMinerInfo(ctx context.Context) error { FILE: api/mindexd/indexer/indexer.go type Indexer (line 17) | type Indexer struct method Close (line 55) | func (i *Indexer) Close() error { method runDaemon (line 62) | func (i *Indexer) runDaemon() { function New (line 30) | func New(pow *pow.Client, sub <-chan struct{}, powAdminToken string, sto... FILE: api/mindexd/main.go constant daemonName (line 16) | daemonName = "mindexd" function init (line 100) | func init() { function main (line 184) | func main() { FILE: api/mindexd/migrations/migrations.go function Migrate (line 16) | func Migrate(db *mongo.Database) error { FILE: api/mindexd/model/index.go type MinerInfoSnapshot (line 5) | type MinerInfoSnapshot struct type MinerInfo (line 10) | type MinerInfo struct type MetadataInfo (line 18) | type MetadataInfo struct type FilecoinInfo (line 27) | type FilecoinInfo struct type TextileInfo (line 39) | type TextileInfo struct type TextileDealsSummary (line 46) | type TextileDealsSummary struct type TextileRetrievalSummary (line 53) | type TextileRetrievalSummary struct type TextileRegionInfo (line 60) | type TextileRegionInfo struct type TextileDealsInfo (line 65) | type TextileDealsInfo struct type SealedDurationMins (line 76) | type SealedDurationMins struct type TransferMiBPerSec (line 81) | type TransferMiBPerSec struct type TextileRetrievalsInfo (line 86) | type TextileRetrievalsInfo struct FILE: api/mindexd/model/record.go type PowTarget (line 10) | type PowTarget struct method String (line 17) | func (pt *PowTarget) String() string { type StorageDealRecord (line 21) | type StorageDealRecord struct type RetrievalRecord (line 29) | type RetrievalRecord struct type PowStorageDealRecord (line 37) | type PowStorageDealRecord struct type PowStorageDealRecordDealInfo (line 53) | type PowStorageDealRecordDealInfo struct type PowRetrievalRecord (line 68) | type PowRetrievalRecord struct type PowRetrievalRecordDealInfo (line 81) | type PowRetrievalRecordDealInfo struct FILE: api/mindexd/pb/mindexd.pb.go constant _ (line 26) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 28) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 33) | _ = proto.ProtoPackageIsVersion4 type QueryIndexRequestSortField (line 35) | type QueryIndexRequestSortField method Enum (line 69) | func (x QueryIndexRequestSortField) Enum() *QueryIndexRequestSortField { method String (line 75) | func (x QueryIndexRequestSortField) String() string { method Descriptor (line 79) | func (QueryIndexRequestSortField) Descriptor() protoreflect.EnumDescri... method Type (line 83) | func (QueryIndexRequestSortField) Type() protoreflect.EnumType { method Number (line 87) | func (x QueryIndexRequestSortField) Number() protoreflect.EnumNumber { method EnumDescriptor (line 92) | func (QueryIndexRequestSortField) EnumDescriptor() ([]byte, []int) { constant QueryIndexRequestSortField_TEXTILE_DEALS_TOTAL_SUCCESSFUL (line 38) | QueryIndexRequestSortField_TEXTILE_DEALS_TOTAL_SUCCESSFUL QueryInde... constant QueryIndexRequestSortField_TEXTILE_DEALS_LAST_SUCCESSFUL (line 39) | QueryIndexRequestSortField_TEXTILE_DEALS_LAST_SUCCESSFUL QueryInde... constant QueryIndexRequestSortField_TEXTILE_RETRIEVALS_TOTAL_SUCCESSFUL (line 40) | QueryIndexRequestSortField_TEXTILE_RETRIEVALS_TOTAL_SUCCESSFUL QueryInde... constant QueryIndexRequestSortField_TEXTILE_RETRIEVALS_LAST_SUCCESSFUL (line 41) | QueryIndexRequestSortField_TEXTILE_RETRIEVALS_LAST_SUCCESSFUL QueryInde... constant QueryIndexRequestSortField_ASK_PRICE (line 42) | QueryIndexRequestSortField_ASK_PRICE QueryInde... constant QueryIndexRequestSortField_VERIFIED_ASK_PRICE (line 43) | QueryIndexRequestSortField_VERIFIED_ASK_PRICE QueryInde... constant QueryIndexRequestSortField_ACTIVE_SECTORS (line 44) | QueryIndexRequestSortField_ACTIVE_SECTORS QueryInde... type MinerIndexInfo (line 97) | type MinerIndexInfo struct method Reset (line 109) | func (x *MinerIndexInfo) Reset() { method String (line 118) | func (x *MinerIndexInfo) String() string { method ProtoMessage (line 122) | func (*MinerIndexInfo) ProtoMessage() {} method ProtoReflect (line 124) | func (x *MinerIndexInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 137) | func (*MinerIndexInfo) Descriptor() ([]byte, []int) { method GetMinerAddr (line 141) | func (x *MinerIndexInfo) GetMinerAddr() string { method GetMetadata (line 148) | func (x *MinerIndexInfo) GetMetadata() *MetadataInfo { method GetFilecoin (line 155) | func (x *MinerIndexInfo) GetFilecoin() *FilecoinInfo { method GetTextile (line 162) | func (x *MinerIndexInfo) GetTextile() *TextileInfo { method GetUpdatedAt (line 169) | func (x *MinerIndexInfo) GetUpdatedAt() *timestamp.Timestamp { type MetadataInfo (line 176) | type MetadataInfo struct method Reset (line 184) | func (x *MetadataInfo) Reset() { method String (line 193) | func (x *MetadataInfo) String() string { method ProtoMessage (line 197) | func (*MetadataInfo) ProtoMessage() {} method ProtoReflect (line 199) | func (x *MetadataInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 212) | func (*MetadataInfo) Descriptor() ([]byte, []int) { method GetLocation (line 216) | func (x *MetadataInfo) GetLocation() string { type FilecoinInfo (line 223) | type FilecoinInfo struct method Reset (line 239) | func (x *FilecoinInfo) Reset() { method String (line 248) | func (x *FilecoinInfo) String() string { method ProtoMessage (line 252) | func (*FilecoinInfo) ProtoMessage() {} method ProtoReflect (line 254) | func (x *FilecoinInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 267) | func (*FilecoinInfo) Descriptor() ([]byte, []int) { method GetRelativePower (line 271) | func (x *FilecoinInfo) GetRelativePower() float64 { method GetAskPrice (line 278) | func (x *FilecoinInfo) GetAskPrice() string { method GetAskVerifiedPrice (line 285) | func (x *FilecoinInfo) GetAskVerifiedPrice() string { method GetMinPieceSize (line 292) | func (x *FilecoinInfo) GetMinPieceSize() int64 { method GetMaxPieceSize (line 299) | func (x *FilecoinInfo) GetMaxPieceSize() int64 { method GetSectorSize (line 306) | func (x *FilecoinInfo) GetSectorSize() int64 { method GetActiveSectors (line 313) | func (x *FilecoinInfo) GetActiveSectors() int64 { method GetFaultySectors (line 320) | func (x *FilecoinInfo) GetFaultySectors() int64 { method GetUpdatedAt (line 327) | func (x *FilecoinInfo) GetUpdatedAt() *timestamp.Timestamp { type TextileInfo (line 334) | type TextileInfo struct method Reset (line 345) | func (x *TextileInfo) Reset() { method String (line 354) | func (x *TextileInfo) String() string { method ProtoMessage (line 358) | func (*TextileInfo) ProtoMessage() {} method ProtoReflect (line 360) | func (x *TextileInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 373) | func (*TextileInfo) Descriptor() ([]byte, []int) { method GetRegions (line 377) | func (x *TextileInfo) GetRegions() map[string]*TextileRegionInfo { method GetDealsSummary (line 384) | func (x *TextileInfo) GetDealsSummary() *DealsSummary { method GetRetrievalsSummary (line 391) | func (x *TextileInfo) GetRetrievalsSummary() *RetrievalsSummary { method GetUpdatedAt (line 398) | func (x *TextileInfo) GetUpdatedAt() *timestamp.Timestamp { type TextileRegionInfo (line 405) | type TextileRegionInfo struct method Reset (line 414) | func (x *TextileRegionInfo) Reset() { method String (line 423) | func (x *TextileRegionInfo) String() string { method ProtoMessage (line 427) | func (*TextileRegionInfo) ProtoMessage() {} method ProtoReflect (line 429) | func (x *TextileRegionInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 442) | func (*TextileRegionInfo) Descriptor() ([]byte, []int) { method GetDeals (line 446) | func (x *TextileRegionInfo) GetDeals() *TextileDealsInfo { method GetRetrievals (line 453) | func (x *TextileRegionInfo) GetRetrievals() *TextileRetrievalsInfo { type DealsSummary (line 460) | type DealsSummary struct method Reset (line 471) | func (x *DealsSummary) Reset() { method String (line 480) | func (x *DealsSummary) String() string { method ProtoMessage (line 484) | func (*DealsSummary) ProtoMessage() {} method ProtoReflect (line 486) | func (x *DealsSummary) ProtoReflect() protoreflect.Message { method Descriptor (line 499) | func (*DealsSummary) Descriptor() ([]byte, []int) { method GetTotal (line 503) | func (x *DealsSummary) GetTotal() int64 { method GetLast (line 510) | func (x *DealsSummary) GetLast() *timestamp.Timestamp { method GetFailures (line 517) | func (x *DealsSummary) GetFailures() int64 { method GetLastFailure (line 524) | func (x *DealsSummary) GetLastFailure() *timestamp.Timestamp { type RetrievalsSummary (line 531) | type RetrievalsSummary struct method Reset (line 542) | func (x *RetrievalsSummary) Reset() { method String (line 551) | func (x *RetrievalsSummary) String() string { method ProtoMessage (line 555) | func (*RetrievalsSummary) ProtoMessage() {} method ProtoReflect (line 557) | func (x *RetrievalsSummary) ProtoReflect() protoreflect.Message { method Descriptor (line 570) | func (*RetrievalsSummary) Descriptor() ([]byte, []int) { method GetTotal (line 574) | func (x *RetrievalsSummary) GetTotal() int64 { method GetLast (line 581) | func (x *RetrievalsSummary) GetLast() *timestamp.Timestamp { method GetFailures (line 588) | func (x *RetrievalsSummary) GetFailures() int64 { method GetLastFailure (line 595) | func (x *RetrievalsSummary) GetLastFailure() *timestamp.Timestamp { type TextileDealsInfo (line 602) | type TextileDealsInfo struct method Reset (line 615) | func (x *TextileDealsInfo) Reset() { method String (line 624) | func (x *TextileDealsInfo) String() string { method ProtoMessage (line 628) | func (*TextileDealsInfo) ProtoMessage() {} method ProtoReflect (line 630) | func (x *TextileDealsInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 643) | func (*TextileDealsInfo) Descriptor() ([]byte, []int) { method GetTotal (line 647) | func (x *TextileDealsInfo) GetTotal() int64 { method GetLast (line 654) | func (x *TextileDealsInfo) GetLast() *timestamp.Timestamp { method GetFailures (line 661) | func (x *TextileDealsInfo) GetFailures() int64 { method GetLastFailure (line 668) | func (x *TextileDealsInfo) GetLastFailure() *timestamp.Timestamp { method GetTailTransfers (line 675) | func (x *TextileDealsInfo) GetTailTransfers() []*TransferMiBPerSec { method GetTailSealed (line 682) | func (x *TextileDealsInfo) GetTailSealed() []*SealedDurationMins { type TextileRetrievalsInfo (line 689) | type TextileRetrievalsInfo struct method Reset (line 701) | func (x *TextileRetrievalsInfo) Reset() { method String (line 710) | func (x *TextileRetrievalsInfo) String() string { method ProtoMessage (line 714) | func (*TextileRetrievalsInfo) ProtoMessage() {} method ProtoReflect (line 716) | func (x *TextileRetrievalsInfo) ProtoReflect() protoreflect.Message { method Descriptor (line 729) | func (*TextileRetrievalsInfo) Descriptor() ([]byte, []int) { method GetTotal (line 733) | func (x *TextileRetrievalsInfo) GetTotal() int64 { method GetLast (line 740) | func (x *TextileRetrievalsInfo) GetLast() *timestamp.Timestamp { method GetFailures (line 747) | func (x *TextileRetrievalsInfo) GetFailures() int64 { method GetLastFailure (line 754) | func (x *TextileRetrievalsInfo) GetLastFailure() *timestamp.Timestamp { method GetTailTransfers (line 761) | func (x *TextileRetrievalsInfo) GetTailTransfers() []*TransferMiBPerSec { type TransferMiBPerSec (line 768) | type TransferMiBPerSec struct method Reset (line 777) | func (x *TransferMiBPerSec) Reset() { method String (line 786) | func (x *TransferMiBPerSec) String() string { method ProtoMessage (line 790) | func (*TransferMiBPerSec) ProtoMessage() {} method ProtoReflect (line 792) | func (x *TransferMiBPerSec) ProtoReflect() protoreflect.Message { method Descriptor (line 805) | func (*TransferMiBPerSec) Descriptor() ([]byte, []int) { method GetTransferedAt (line 809) | func (x *TransferMiBPerSec) GetTransferedAt() *timestamp.Timestamp { method GetMibPerSec (line 816) | func (x *TransferMiBPerSec) GetMibPerSec() float64 { type SealedDurationMins (line 823) | type SealedDurationMins struct method Reset (line 832) | func (x *SealedDurationMins) Reset() { method String (line 841) | func (x *SealedDurationMins) String() string { method ProtoMessage (line 845) | func (*SealedDurationMins) ProtoMessage() {} method ProtoReflect (line 847) | func (x *SealedDurationMins) ProtoReflect() protoreflect.Message { method Descriptor (line 860) | func (*SealedDurationMins) Descriptor() ([]byte, []int) { method GetSealedAt (line 864) | func (x *SealedDurationMins) GetSealedAt() *timestamp.Timestamp { method GetDurationSeconds (line 871) | func (x *SealedDurationMins) GetDurationSeconds() int64 { type GetMinersResponse (line 878) | type GetMinersResponse struct method Reset (line 886) | func (x *GetMinersResponse) Reset() { method String (line 895) | func (x *GetMinersResponse) String() string { method ProtoMessage (line 899) | func (*GetMinersResponse) ProtoMessage() {} method ProtoReflect (line 901) | func (x *GetMinersResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 914) | func (*GetMinersResponse) Descriptor() ([]byte, []int) { method GetMinerAddress (line 918) | func (x *GetMinersResponse) GetMinerAddress() string { type QueryIndexRequest (line 926) | type QueryIndexRequest struct method Reset (line 937) | func (x *QueryIndexRequest) Reset() { method String (line 946) | func (x *QueryIndexRequest) String() string { method ProtoMessage (line 950) | func (*QueryIndexRequest) ProtoMessage() {} method ProtoReflect (line 952) | func (x *QueryIndexRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 965) | func (*QueryIndexRequest) Descriptor() ([]byte, []int) { method GetFilters (line 969) | func (x *QueryIndexRequest) GetFilters() *QueryIndexRequestFilters { method GetSort (line 976) | func (x *QueryIndexRequest) GetSort() *QueryIndexRequestSort { method GetLimit (line 983) | func (x *QueryIndexRequest) GetLimit() int32 { method GetOffset (line 990) | func (x *QueryIndexRequest) GetOffset() int64 { type QueryIndexRequestFilters (line 997) | type QueryIndexRequestFilters struct method Reset (line 1005) | func (x *QueryIndexRequestFilters) Reset() { method String (line 1014) | func (x *QueryIndexRequestFilters) String() string { method ProtoMessage (line 1018) | func (*QueryIndexRequestFilters) ProtoMessage() {} method ProtoReflect (line 1020) | func (x *QueryIndexRequestFilters) ProtoReflect() protoreflect.Message { method Descriptor (line 1033) | func (*QueryIndexRequestFilters) Descriptor() ([]byte, []int) { method GetMinerLocation (line 1037) | func (x *QueryIndexRequestFilters) GetMinerLocation() string { type QueryIndexRequestSort (line 1044) | type QueryIndexRequestSort struct method Reset (line 1054) | func (x *QueryIndexRequestSort) Reset() { method String (line 1063) | func (x *QueryIndexRequestSort) String() string { method ProtoMessage (line 1067) | func (*QueryIndexRequestSort) ProtoMessage() {} method ProtoReflect (line 1069) | func (x *QueryIndexRequestSort) ProtoReflect() protoreflect.Message { method Descriptor (line 1082) | func (*QueryIndexRequestSort) Descriptor() ([]byte, []int) { method GetAscending (line 1086) | func (x *QueryIndexRequestSort) GetAscending() bool { method GetTextileRegion (line 1093) | func (x *QueryIndexRequestSort) GetTextileRegion() string { method GetField (line 1100) | func (x *QueryIndexRequestSort) GetField() QueryIndexRequestSortField { type QueryIndexResponse (line 1107) | type QueryIndexResponse struct method Reset (line 1115) | func (x *QueryIndexResponse) Reset() { method String (line 1124) | func (x *QueryIndexResponse) String() string { method ProtoMessage (line 1128) | func (*QueryIndexResponse) ProtoMessage() {} method ProtoReflect (line 1130) | func (x *QueryIndexResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1143) | func (*QueryIndexResponse) Descriptor() ([]byte, []int) { method GetMiners (line 1147) | func (x *QueryIndexResponse) GetMiners() []*QueryIndexResponseMiner { type QueryIndexResponseMiner (line 1154) | type QueryIndexResponseMiner struct method Reset (line 1162) | func (x *QueryIndexResponseMiner) Reset() { method String (line 1171) | func (x *QueryIndexResponseMiner) String() string { method ProtoMessage (line 1175) | func (*QueryIndexResponseMiner) ProtoMessage() {} method ProtoReflect (line 1177) | func (x *QueryIndexResponseMiner) ProtoReflect() protoreflect.Message { method Descriptor (line 1190) | func (*QueryIndexResponseMiner) Descriptor() ([]byte, []int) { method GetMiner (line 1194) | func (x *QueryIndexResponseMiner) GetMiner() *MinerIndexInfo { type GetMinerInfoRequest (line 1202) | type GetMinerInfoRequest struct method Reset (line 1210) | func (x *GetMinerInfoRequest) Reset() { method String (line 1219) | func (x *GetMinerInfoRequest) String() string { method ProtoMessage (line 1223) | func (*GetMinerInfoRequest) ProtoMessage() {} method ProtoReflect (line 1225) | func (x *GetMinerInfoRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1238) | func (*GetMinerInfoRequest) Descriptor() ([]byte, []int) { method GetMinerAddress (line 1242) | func (x *GetMinerInfoRequest) GetMinerAddress() string { type GetMinerInfoResponse (line 1249) | type GetMinerInfoResponse struct method Reset (line 1257) | func (x *GetMinerInfoResponse) Reset() { method String (line 1266) | func (x *GetMinerInfoResponse) String() string { method ProtoMessage (line 1270) | func (*GetMinerInfoResponse) ProtoMessage() {} method ProtoReflect (line 1272) | func (x *GetMinerInfoResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1285) | func (*GetMinerInfoResponse) Descriptor() ([]byte, []int) { method GetInfo (line 1289) | func (x *GetMinerInfoResponse) GetInfo() *MinerIndexInfo { type CalculateDealPriceRequest (line 1297) | type CalculateDealPriceRequest struct method Reset (line 1307) | func (x *CalculateDealPriceRequest) Reset() { method String (line 1316) | func (x *CalculateDealPriceRequest) String() string { method ProtoMessage (line 1320) | func (*CalculateDealPriceRequest) ProtoMessage() {} method ProtoReflect (line 1322) | func (x *CalculateDealPriceRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1335) | func (*CalculateDealPriceRequest) Descriptor() ([]byte, []int) { method GetMinerAddresses (line 1339) | func (x *CalculateDealPriceRequest) GetMinerAddresses() []string { method GetDataSizeBytes (line 1346) | func (x *CalculateDealPriceRequest) GetDataSizeBytes() int64 { method GetDurationDays (line 1353) | func (x *CalculateDealPriceRequest) GetDurationDays() int64 { type CalculateDealPriceResponse (line 1360) | type CalculateDealPriceResponse struct method Reset (line 1370) | func (x *CalculateDealPriceResponse) Reset() { method String (line 1379) | func (x *CalculateDealPriceResponse) String() string { method ProtoMessage (line 1383) | func (*CalculateDealPriceResponse) ProtoMessage() {} method ProtoReflect (line 1385) | func (x *CalculateDealPriceResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 1398) | func (*CalculateDealPriceResponse) Descriptor() ([]byte, []int) { method GetResults (line 1402) | func (x *CalculateDealPriceResponse) GetResults() []*CalculateDealPric... method GetPaddedSize (line 1409) | func (x *CalculateDealPriceResponse) GetPaddedSize() int64 { method GetDurationEpochs (line 1416) | func (x *CalculateDealPriceResponse) GetDurationEpochs() int64 { type CalculateDealPriceMiner (line 1423) | type CalculateDealPriceMiner struct method Reset (line 1435) | func (x *CalculateDealPriceMiner) Reset() { method String (line 1444) | func (x *CalculateDealPriceMiner) String() string { method ProtoMessage (line 1448) | func (*CalculateDealPriceMiner) ProtoMessage() {} method ProtoReflect (line 1450) | func (x *CalculateDealPriceMiner) ProtoReflect() protoreflect.Message { method Descriptor (line 1463) | func (*CalculateDealPriceMiner) Descriptor() ([]byte, []int) { method GetMiner (line 1467) | func (x *CalculateDealPriceMiner) GetMiner() string { method GetTotalCost (line 1474) | func (x *CalculateDealPriceMiner) GetTotalCost() string { method GetVerifiedTotalCost (line 1481) | func (x *CalculateDealPriceMiner) GetVerifiedTotalCost() string { method GetPrice (line 1488) | func (x *CalculateDealPriceMiner) GetPrice() string { method GetVerifiedPrice (line 1495) | func (x *CalculateDealPriceMiner) GetVerifiedPrice() string { function file_api_mindexd_pb_mindexd_proto_rawDescGZIP (line 1845) | func file_api_mindexd_pb_mindexd_proto_rawDescGZIP() []byte { function init (line 1927) | func init() { file_api_mindexd_pb_mindexd_proto_init() } function file_api_mindexd_pb_mindexd_proto_init (line 1928) | func file_api_mindexd_pb_mindexd_proto_init() { constant _ (line 2225) | _ = grpc.SupportPackageIsVersion6 type APIServiceClient (line 2230) | type APIServiceClient interface type aPIServiceClient (line 2236) | type aPIServiceClient struct method QueryIndex (line 2244) | func (c *aPIServiceClient) QueryIndex(ctx context.Context, in *QueryIn... method GetMinerInfo (line 2253) | func (c *aPIServiceClient) GetMinerInfo(ctx context.Context, in *GetMi... method CalculateDealPrice (line 2262) | func (c *aPIServiceClient) CalculateDealPrice(ctx context.Context, in ... function NewAPIServiceClient (line 2240) | func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient { type APIServiceServer (line 2272) | type APIServiceServer interface type UnimplementedAPIServiceServer (line 2279) | type UnimplementedAPIServiceServer struct method QueryIndex (line 2282) | func (*UnimplementedAPIServiceServer) QueryIndex(context.Context, *Que... method GetMinerInfo (line 2285) | func (*UnimplementedAPIServiceServer) GetMinerInfo(context.Context, *G... method CalculateDealPrice (line 2288) | func (*UnimplementedAPIServiceServer) CalculateDealPrice(context.Conte... function RegisterAPIServiceServer (line 2292) | func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer) { function _APIService_QueryIndex_Handler (line 2296) | func _APIService_QueryIndex_Handler(srv interface{}, ctx context.Context... function _APIService_GetMinerInfo_Handler (line 2314) | func _APIService_GetMinerInfo_Handler(srv interface{}, ctx context.Conte... function _APIService_CalculateDealPrice_Handler (line 2332) | func _APIService_CalculateDealPrice_Handler(srv interface{}, ctx context... FILE: api/mindexd/pb/mindexd.pb.gw.go function request_APIService_QueryIndex_0 (line 38) | func request_APIService_QueryIndex_0(ctx context.Context, marshaler runt... function local_request_APIService_QueryIndex_0 (line 54) | func local_request_APIService_QueryIndex_0(ctx context.Context, marshale... function request_APIService_GetMinerInfo_0 (line 70) | func request_APIService_GetMinerInfo_0(ctx context.Context, marshaler ru... function local_request_APIService_GetMinerInfo_0 (line 96) | func local_request_APIService_GetMinerInfo_0(ctx context.Context, marsha... function request_APIService_CalculateDealPrice_0 (line 126) | func request_APIService_CalculateDealPrice_0(ctx context.Context, marsha... function local_request_APIService_CalculateDealPrice_0 (line 142) | func local_request_APIService_CalculateDealPrice_0(ctx context.Context, ... function RegisterAPIServiceHandlerServer (line 162) | func RegisterAPIServiceHandlerServer(ctx context.Context, mux *runtime.S... function RegisterAPIServiceHandlerFromEndpoint (line 238) | func RegisterAPIServiceHandlerFromEndpoint(ctx context.Context, mux *run... function RegisterAPIServiceHandler (line 263) | func RegisterAPIServiceHandler(ctx context.Context, mux *runtime.ServeMu... function RegisterAPIServiceHandlerClient (line 272) | func RegisterAPIServiceHandlerClient(ctx context.Context, mux *runtime.S... FILE: api/mindexd/service/cast.go function toPbMinerIndexInfo (line 13) | func toPbMinerIndexInfo(mi model.MinerInfo) *pb.MinerIndexInfo { function toPbTextileInfo (line 35) | func toPbTextileInfo(t model.TextileInfo) *pb.TextileInfo { function toPbTransferMiBPerSec (line 76) | func toPbTransferMiBPerSec(ts []model.TransferMiBPerSec) []*pb.TransferM... function toPbSealedDurationMins (line 89) | func toPbSealedDurationMins(ss []model.SealedDurationMins) []*pb.SealedD... function fromPbQueryIndexRequestFilters (line 102) | func fromPbQueryIndexRequestFilters(f *pb.QueryIndexRequestFilters) stor... function fromPbQueryIndexRequestSort (line 110) | func fromPbQueryIndexRequestSort(s *pb.QueryIndexRequestSort) (store.Que... function fromPbQueryIndexRequestSortField (line 126) | func fromPbQueryIndexRequestSortField(field pb.QueryIndexRequestSortFiel... function toPbQueryIndexResponse (line 147) | func toPbQueryIndexResponse(ss []model.MinerInfo) *pb.QueryIndexResponse { function formatPbTime (line 160) | func formatPbTime(t time.Time) *timestamppb.Timestamp { FILE: api/mindexd/service/service.go constant epochDurationSeconds (line 34) | epochDurationSeconds = 30 constant queryMaxLimit (line 35) | queryMaxLimit = 50 type Service (line 42) | type Service struct method Start (line 140) | func (s *Service) Start() error { method Stop (line 194) | func (s *Service) Stop() { method QueryIndex (line 229) | func (s *Service) QueryIndex(ctx context.Context, req *pb.QueryIndexRe... method GetMinerInfo (line 251) | func (s *Service) GetMinerInfo(ctx context.Context, req *pb.GetMinerIn... method CalculateDealPrice (line 263) | func (s *Service) CalculateDealPrice(ctx context.Context, req *pb.Calc... type Config (line 55) | type Config struct function NewService (line 76) | func NewService(ctx context.Context, config Config) (*Service, error) { FILE: api/mindexd/store/gen.go type minerRegion (line 18) | type minerRegion struct method UpdateTextileDealsInfo (line 23) | func (s *Store) UpdateTextileDealsInfo(ctx context.Context) error { method UpdateTextileRetrievalsInfo (line 38) | func (s *Store) UpdateTextileRetrievalsInfo(ctx context.Context) error { type regionalGeneralItem (line 53) | type regionalGeneralItem struct method regenerateTextileDealsTailMetrics (line 63) | func (s *Store) regenerateTextileDealsTailMetrics(ctx context.Context, m... method regenerateTextileDealsTotalsAndLasts (line 127) | func (s *Store) regenerateTextileDealsTotalsAndLasts(ctx context.Context... method regenerateTextileRetrievalsTotalsAndLasts (line 164) | func (s *Store) regenerateTextileRetrievalsTotalsAndLasts(ctx context.Co... method regenerateTextileRetrievalsTailMetrics (line 196) | func (s *Store) regenerateTextileRetrievalsTailMetrics(ctx context.Conte... type minerSummary (line 248) | type minerSummary struct method updateTextileRegionAndSummary (line 256) | func (s *Store) updateTextileRegionAndSummary(ctx context.Context, prefi... FILE: api/mindexd/store/gen_test.go function TestMinerIndexGeneration (line 12) | func TestMinerIndexGeneration(t *testing.T) { FILE: api/mindexd/store/index_snapshot.go method GetLastIndexSnapshotTime (line 14) | func (s *Store) GetLastIndexSnapshotTime(ctx context.Context) (time.Time... method GenerateMinerIndexSnapshot (line 35) | func (s *Store) GenerateMinerIndexSnapshot(ctx context.Context) error { FILE: api/mindexd/store/index_snapshot_test.go function TestIndexSnapshot (line 11) | func TestIndexSnapshot(t *testing.T) { FILE: api/mindexd/store/onchain.go method PutFilecoinInfo (line 13) | func (s *Store) PutFilecoinInfo(ctx context.Context, miner string, info ... method PutMetadataLocation (line 26) | func (s *Store) PutMetadataLocation(ctx context.Context, miner string, l... FILE: api/mindexd/store/onchain_test.go function TestPutFilecoinInfo (line 11) | func TestPutFilecoinInfo(t *testing.T) { FILE: api/mindexd/store/query.go type QueryIndexSortField (line 18) | type QueryIndexSortField constant SortFieldTextileDealTotalSuccessful (line 21) | SortFieldTextileDealTotalSuccessful QueryIndexSortField = iota constant SortFieldTextileDealLastSuccessful (line 22) | SortFieldTextileDealLastSuccessful constant SortFieldTextileRetrievalTotalSuccessful (line 23) | SortFieldTextileRetrievalTotalSuccessful constant SortFieldTextileRetrievalLastSuccessful (line 24) | SortFieldTextileRetrievalLastSuccessful constant SortFieldAskPrice (line 25) | SortFieldAskPrice constant SortFieldVerifiedAskPrice (line 26) | SortFieldVerifiedAskPrice constant SortFieldActiveSectors (line 27) | SortFieldActiveSectors type QueryIndexFilters (line 30) | type QueryIndexFilters struct type QueryIndexSort (line 34) | type QueryIndexSort struct method GetMinerInfo (line 40) | func (s *Store) GetMinerInfo(ctx context.Context, miner string) (model.M... method GetAllMiners (line 55) | func (s *Store) GetAllMiners(ctx context.Context) ([]model.MinerInfo, er... method QueryIndex (line 70) | func (s *Store) QueryIndex(ctx context.Context, filters QueryIndexFilter... function buildMongoFiltersAndSort (line 101) | func buildMongoFiltersAndSort(filters QueryIndexFilters, sort QueryIndex... FILE: api/mindexd/store/query_test.go function TestQuery (line 10) | func TestQuery(t *testing.T) { function testPaging (line 42) | func testPaging(s *Store) func(t *testing.T) { function testSort (line 76) | func testSort(s *Store) func(t *testing.T) { function testDealLastSuccess (line 94) | func testDealLastSuccess(s *Store) func(t *testing.T) { function testDealTotalSuccess (line 110) | func testDealTotalSuccess(s *Store) func(t *testing.T) { FILE: api/mindexd/store/records.go method GetPowergateTargets (line 22) | func (s *Store) GetPowergateTargets(ctx context.Context) ([]model.PowTar... method GetLastStorageDealRecordUpdatedAt (line 40) | func (s *Store) GetLastStorageDealRecordUpdatedAt(ctx context.Context, p... method GetLastRetrievalRecordUpdatedAt (line 72) | func (s *Store) GetLastRetrievalRecordUpdatedAt(ctx context.Context, pow... method PersistStorageDealRecords (line 103) | func (s *Store) PersistStorageDealRecords(ctx context.Context, powName, ... method PersistRetrievalRecords (line 140) | func (s *Store) PersistRetrievalRecords(ctx context.Context, powName, re... method getStorageDealRecord (line 175) | func (s *Store) getStorageDealRecord(ctx context.Context, ID string) (mo... method getRetrievalRecord (line 193) | func (s *Store) getRetrievalRecord(ctx context.Context, ID string) (mode... FILE: api/mindexd/store/records_test.go function TestMain (line 16) | func TestMain(m *testing.M) { function TestPersistStorageDealRecord (line 23) | func TestPersistStorageDealRecord(t *testing.T) { function TestPersistRetrievalRecord (line 57) | func TestPersistRetrievalRecord(t *testing.T) { function TestGetLastUpdatedAt (line 94) | func TestGetLastUpdatedAt(t *testing.T) { function setup (line 124) | func setup(t *testing.T, ctx context.Context) *mongo.Database { FILE: api/mindexd/store/store.go type Store (line 17) | type Store struct method ensureIndexes (line 40) | func (s *Store) ensureIndexes() error { function New (line 25) | func New(db *mongo.Database) (*Store, error) { FILE: api/usersd/client/client.go type Client (line 21) | type Client struct method Close (line 39) | func (c *Client) Close() error { method GetThread (line 44) | func (c *Client) GetThread(ctx context.Context, name string) (*pb.GetT... method ListThreads (line 52) | func (c *Client) ListThreads(ctx context.Context) (*pb.ListThreadsResp... method SetupMailbox (line 57) | func (c *Client) SetupMailbox(ctx context.Context) (mailbox thread.ID,... method SendMessage (line 131) | func (c *Client) SendMessage(ctx context.Context, from thread.Identity... method ListInboxMessages (line 170) | func (c *Client) ListInboxMessages(ctx context.Context, opts ...ListOp... method ListSentboxMessages (line 202) | func (c *Client) ListSentboxMessages(ctx context.Context, opts ...List... method ReadInboxMessage (line 260) | func (c *Client) ReadInboxMessage(ctx context.Context, id string) error { method DeleteInboxMessage (line 268) | func (c *Client) DeleteInboxMessage(ctx context.Context, id string) er... method DeleteSentboxMessage (line 276) | func (c *Client) DeleteSentboxMessage(ctx context.Context, id string) ... method GetUsage (line 284) | func (c *Client) GetUsage(ctx context.Context, opts ...UsageOption) (*... method ArchivesLs (line 295) | func (c *Client) ArchivesLs(ctx context.Context) (*pb.ArchivesLsRespon... method ArchivesImport (line 301) | func (c *Client) ArchivesImport(ctx context.Context, dataCid cid.Cid, ... method ArchiveRetrievalLs (line 311) | func (c *Client) ArchiveRetrievalLs(ctx context.Context) (*pb.ArchiveR... method ArchiveRetrievalLogs (line 317) | func (c *Client) ArchiveRetrievalLogs(ctx context.Context, id string, ... function NewClient (line 27) | func NewClient(target string, opts ...grpc.DialOption) (*Client, error) { type Message (line 68) | type Message struct method Open (line 79) | func (m Message) Open(ctx context.Context, id thread.Identity) ([]byte... method IsRead (line 84) | func (m Message) IsRead() bool { method UnmarshalInstance (line 90) | func (m Message) UnmarshalInstance(data []byte) error { function handleMessageList (line 219) | func handleMessageList(list []*pb.Message) ([]Message, error) { function messageFromPb (line 231) | func messageFromPb(m *pb.Message) (msg Message, err error) { FILE: api/usersd/client/client_test.go function TestMain (line 31) | func TestMain(m *testing.M) { function TestClient_GetThread (line 41) | func TestClient_GetThread(t *testing.T) { function TestClient_ListThreads (line 140) | func TestClient_ListThreads(t *testing.T) { function TestClient_SetupMailbox (line 243) | func TestClient_SetupMailbox(t *testing.T) { function TestClient_SendMessage (line 269) | func TestClient_SendMessage(t *testing.T) { function TestClient_ListInboxMessages (line 286) | func TestClient_ListInboxMessages(t *testing.T) { function TestClient_ListSentboxMessages (line 372) | func TestClient_ListSentboxMessages(t *testing.T) { function TestClient_ReadInboxMessage (line 399) | func TestClient_ReadInboxMessage(t *testing.T) { function TestClient_DeleteInboxMessage (line 421) | func TestClient_DeleteInboxMessage(t *testing.T) { function TestClient_DeleteSentboxMessage (line 443) | func TestClient_DeleteSentboxMessage(t *testing.T) { function TestClient_GetUsage (line 465) | func TestClient_GetUsage(t *testing.T) { function TestAccountBuckets (line 490) | func TestAccountBuckets(t *testing.T) { function TestUserBuckets (line 525) | func TestUserBuckets(t *testing.T) { function setup (line 624) | func setup(t *testing.T, conf *core.Config) (core.Config, *c.Client, *hc... function setupWithConf (line 632) | func setupWithConf(t *testing.T, conf core.Config) (core.Config, *c.Clie... function setupWithBilling (line 657) | func setupWithBilling(t *testing.T) (core.Config, *c.Client, *hc.Client,... function setupUserMail (line 668) | func setupUserMail(t *testing.T, client *c.Client, threads *tc.Client, k... function pushPath (line 681) | func pushPath(t *testing.T, ctx context.Context, buckets *bc.Client, key... FILE: api/usersd/client/options.go type listOptions (line 3) | type listOptions struct type ListOption (line 10) | type ListOption function WithSeek (line 13) | func WithSeek(id string) ListOption { function WithLimit (line 20) | func WithLimit(limit int) ListOption { function WithAscending (line 27) | func WithAscending(asc bool) ListOption { type Status (line 34) | type Status constant All (line 38) | All Status = iota constant Read (line 40) | Read constant Unread (line 42) | Unread function WithStatus (line 47) | func WithStatus(s Status) ListOption { type usageOptions (line 53) | type usageOptions struct type UsageOption (line 57) | type UsageOption function WithPubKey (line 60) | func WithPubKey(key string) UsageOption { FILE: api/usersd/pb/usersd.pb.go constant _ (line 24) | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) constant _ (line 26) | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) constant _ (line 31) | _ = proto.ProtoPackageIsVersion4 type ArchiveRetrievalStatus (line 33) | type ArchiveRetrievalStatus method Enum (line 67) | func (x ArchiveRetrievalStatus) Enum() *ArchiveRetrievalStatus { method String (line 73) | func (x ArchiveRetrievalStatus) String() string { method Descriptor (line 77) | func (ArchiveRetrievalStatus) Descriptor() protoreflect.EnumDescriptor { method Type (line 81) | func (ArchiveRetrievalStatus) Type() protoreflect.EnumType { method Number (line 85) | func (x ArchiveRetrievalStatus) Number() protoreflect.EnumNumber { method EnumDescriptor (line 90) | func (ArchiveRetrievalStatus) EnumDescriptor() ([]byte, []int) { constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_UNSPECIFIED (line 36) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_UNSPECIFIED ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_QUEUED (line 37) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_QUEUED ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_EXECUTING (line 38) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_EXECUTING ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_MOVETOBUCKET (line 39) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_MOVETOBUCKET ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_FAILED (line 40) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_FAILED ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_CANCELED (line 41) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_CANCELED ArchiveRetr... constant ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_SUCCESS (line 42) | ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_SUCCESS ArchiveRetr... type ListInboxMessagesRequest_Status (line 94) | type ListInboxMessagesRequest_Status method Enum (line 119) | func (x ListInboxMessagesRequest_Status) Enum() *ListInboxMessagesRequ... method String (line 125) | func (x ListInboxMessagesRequest_Status) String() string { method Descriptor (line 129) | func (ListInboxMessagesRequest_Status) Descriptor() protoreflect.EnumD... method Type (line 133) | func (ListInboxMessagesRequest_Status) Type() protoreflect.EnumType { method Number (line 137) | func (x ListInboxMessagesRequest_Status) Number() protoreflect.EnumNum... method EnumDescriptor (line 142) | func (ListInboxMessagesRequest_Status) EnumDescriptor() ([]byte, []int) { constant ListInboxMessagesRequest_STATUS_UNSPECIFIED (line 97) | ListInboxMessagesRequest_STATUS_UNSPECIFIED ListInboxMessagesRequest_Sta... constant ListInboxMessagesRequest_STATUS_ALL (line 98) | ListInboxMessagesRequest_STATUS_ALL ListInboxMessagesRequest_Sta... constant ListInboxMessagesRequest_STATUS_READ (line 99) | ListInboxMessagesRequest_STATUS_READ ListInboxMessagesRequest_Sta... constant ListInboxMessagesRequest_STATUS_UNREAD (line 100) | ListInboxMessagesRequest_STATUS_UNREAD ListInboxMessagesRequest_Sta... type ListThreadsRequest (line 146) | type ListThreadsRequest struct method Reset (line 152) | func (x *ListThreadsRequest) Reset() { method String (line 161) | func (x *ListThreadsRequest) String() string { method ProtoMessage (line 165) | func (*ListThreadsRequest) ProtoMessage() {} method ProtoReflect (line 167) | func (x *ListThreadsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 180) | func (*ListThreadsRequest) Descriptor() ([]byte, []int) { type ListThreadsResponse (line 184) | type ListThreadsResponse struct method Reset (line 192) | func (x *ListThreadsResponse) Reset() { method String (line 201) | func (x *ListThreadsResponse) String() string { method ProtoMessage (line 205) | func (*ListThreadsResponse) ProtoMessage() {} method ProtoReflect (line 207) | func (x *ListThreadsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 220) | func (*ListThreadsResponse) Descriptor() ([]byte, []int) { method GetList (line 224) | func (x *ListThreadsResponse) GetList() []*GetThreadResponse { type GetThreadRequest (line 231) | type GetThreadRequest struct method Reset (line 239) | func (x *GetThreadRequest) Reset() { method String (line 248) | func (x *GetThreadRequest) String() string { method ProtoMessage (line 252) | func (*GetThreadRequest) ProtoMessage() {} method ProtoReflect (line 254) | func (x *GetThreadRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 267) | func (*GetThreadRequest) Descriptor() ([]byte, []int) { method GetName (line 271) | func (x *GetThreadRequest) GetName() string { type GetThreadResponse (line 278) | type GetThreadResponse struct method Reset (line 288) | func (x *GetThreadResponse) Reset() { method String (line 297) | func (x *GetThreadResponse) String() string { method ProtoMessage (line 301) | func (*GetThreadResponse) ProtoMessage() {} method ProtoReflect (line 303) | func (x *GetThreadResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 316) | func (*GetThreadResponse) Descriptor() ([]byte, []int) { method GetId (line 320) | func (x *GetThreadResponse) GetId() []byte { method GetName (line 327) | func (x *GetThreadResponse) GetName() string { method GetIsDb (line 334) | func (x *GetThreadResponse) GetIsDb() bool { type SetupMailboxRequest (line 341) | type SetupMailboxRequest struct method Reset (line 347) | func (x *SetupMailboxRequest) Reset() { method String (line 356) | func (x *SetupMailboxRequest) String() string { method ProtoMessage (line 360) | func (*SetupMailboxRequest) ProtoMessage() {} method ProtoReflect (line 362) | func (x *SetupMailboxRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 375) | func (*SetupMailboxRequest) Descriptor() ([]byte, []int) { type SetupMailboxResponse (line 379) | type SetupMailboxResponse struct method Reset (line 387) | func (x *SetupMailboxResponse) Reset() { method String (line 396) | func (x *SetupMailboxResponse) String() string { method ProtoMessage (line 400) | func (*SetupMailboxResponse) ProtoMessage() {} method ProtoReflect (line 402) | func (x *SetupMailboxResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 415) | func (*SetupMailboxResponse) Descriptor() ([]byte, []int) { method GetMailboxId (line 419) | func (x *SetupMailboxResponse) GetMailboxId() []byte { type Message (line 426) | type Message struct method Reset (line 440) | func (x *Message) Reset() { method String (line 449) | func (x *Message) String() string { method ProtoMessage (line 453) | func (*Message) ProtoMessage() {} method ProtoReflect (line 455) | func (x *Message) ProtoReflect() protoreflect.Message { method Descriptor (line 468) | func (*Message) Descriptor() ([]byte, []int) { method GetId (line 472) | func (x *Message) GetId() string { method GetFrom (line 479) | func (x *Message) GetFrom() string { method GetTo (line 486) | func (x *Message) GetTo() string { method GetBody (line 493) | func (x *Message) GetBody() []byte { method GetSignature (line 500) | func (x *Message) GetSignature() []byte { method GetCreatedAt (line 507) | func (x *Message) GetCreatedAt() int64 { method GetReadAt (line 514) | func (x *Message) GetReadAt() int64 { type SendMessageRequest (line 521) | type SendMessageRequest struct method Reset (line 533) | func (x *SendMessageRequest) Reset() { method String (line 542) | func (x *SendMessageRequest) String() string { method ProtoMessage (line 546) | func (*SendMessageRequest) ProtoMessage() {} method ProtoReflect (line 548) | func (x *SendMessageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 561) | func (*SendMessageRequest) Descriptor() ([]byte, []int) { method GetTo (line 565) | func (x *SendMessageRequest) GetTo() string { method GetToBody (line 572) | func (x *SendMessageRequest) GetToBody() []byte { method GetToSignature (line 579) | func (x *SendMessageRequest) GetToSignature() []byte { method GetFromBody (line 586) | func (x *SendMessageRequest) GetFromBody() []byte { method GetFromSignature (line 593) | func (x *SendMessageRequest) GetFromSignature() []byte { type SendMessageResponse (line 600) | type SendMessageResponse struct method Reset (line 609) | func (x *SendMessageResponse) Reset() { method String (line 618) | func (x *SendMessageResponse) String() string { method ProtoMessage (line 622) | func (*SendMessageResponse) ProtoMessage() {} method ProtoReflect (line 624) | func (x *SendMessageResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 637) | func (*SendMessageResponse) Descriptor() ([]byte, []int) { method GetId (line 641) | func (x *SendMessageResponse) GetId() string { method GetCreatedAt (line 648) | func (x *SendMessageResponse) GetCreatedAt() int64 { type ListInboxMessagesRequest (line 655) | type ListInboxMessagesRequest struct method Reset (line 666) | func (x *ListInboxMessagesRequest) Reset() { method String (line 675) | func (x *ListInboxMessagesRequest) String() string { method ProtoMessage (line 679) | func (*ListInboxMessagesRequest) ProtoMessage() {} method ProtoReflect (line 681) | func (x *ListInboxMessagesRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 694) | func (*ListInboxMessagesRequest) Descriptor() ([]byte, []int) { method GetSeek (line 698) | func (x *ListInboxMessagesRequest) GetSeek() string { method GetLimit (line 705) | func (x *ListInboxMessagesRequest) GetLimit() int64 { method GetAscending (line 712) | func (x *ListInboxMessagesRequest) GetAscending() bool { method GetStatus (line 719) | func (x *ListInboxMessagesRequest) GetStatus() ListInboxMessagesReques... type ListInboxMessagesResponse (line 726) | type ListInboxMessagesResponse struct method Reset (line 734) | func (x *ListInboxMessagesResponse) Reset() { method String (line 743) | func (x *ListInboxMessagesResponse) String() string { method ProtoMessage (line 747) | func (*ListInboxMessagesResponse) ProtoMessage() {} method ProtoReflect (line 749) | func (x *ListInboxMessagesResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 762) | func (*ListInboxMessagesResponse) Descriptor() ([]byte, []int) { method GetMessages (line 766) | func (x *ListInboxMessagesResponse) GetMessages() []*Message { type ListSentboxMessagesRequest (line 773) | type ListSentboxMessagesRequest struct method Reset (line 783) | func (x *ListSentboxMessagesRequest) Reset() { method String (line 792) | func (x *ListSentboxMessagesRequest) String() string { method ProtoMessage (line 796) | func (*ListSentboxMessagesRequest) ProtoMessage() {} method ProtoReflect (line 798) | func (x *ListSentboxMessagesRequest) ProtoReflect() protoreflect.Messa... method Descriptor (line 811) | func (*ListSentboxMessagesRequest) Descriptor() ([]byte, []int) { method GetSeek (line 815) | func (x *ListSentboxMessagesRequest) GetSeek() string { method GetLimit (line 822) | func (x *ListSentboxMessagesRequest) GetLimit() int64 { method GetAscending (line 829) | func (x *ListSentboxMessagesRequest) GetAscending() bool { type ListSentboxMessagesResponse (line 836) | type ListSentboxMessagesResponse struct method Reset (line 844) | func (x *ListSentboxMessagesResponse) Reset() { method String (line 853) | func (x *ListSentboxMessagesResponse) String() string { method ProtoMessage (line 857) | func (*ListSentboxMessagesResponse) ProtoMessage() {} method ProtoReflect (line 859) | func (x *ListSentboxMessagesResponse) ProtoReflect() protoreflect.Mess... method Descriptor (line 872) | func (*ListSentboxMessagesResponse) Descriptor() ([]byte, []int) { method GetMessages (line 876) | func (x *ListSentboxMessagesResponse) GetMessages() []*Message { type ReadInboxMessageRequest (line 883) | type ReadInboxMessageRequest struct method Reset (line 891) | func (x *ReadInboxMessageRequest) Reset() { method String (line 900) | func (x *ReadInboxMessageRequest) String() string { method ProtoMessage (line 904) | func (*ReadInboxMessageRequest) ProtoMessage() {} method ProtoReflect (line 906) | func (x *ReadInboxMessageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 919) | func (*ReadInboxMessageRequest) Descriptor() ([]byte, []int) { method GetId (line 923) | func (x *ReadInboxMessageRequest) GetId() string { type ReadInboxMessageResponse (line 930) | type ReadInboxMessageResponse struct method Reset (line 938) | func (x *ReadInboxMessageResponse) Reset() { method String (line 947) | func (x *ReadInboxMessageResponse) String() string { method ProtoMessage (line 951) | func (*ReadInboxMessageResponse) ProtoMessage() {} method ProtoReflect (line 953) | func (x *ReadInboxMessageResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 966) | func (*ReadInboxMessageResponse) Descriptor() ([]byte, []int) { method GetReadAt (line 970) | func (x *ReadInboxMessageResponse) GetReadAt() int64 { type DeleteInboxMessageRequest (line 977) | type DeleteInboxMessageRequest struct method Reset (line 985) | func (x *DeleteInboxMessageRequest) Reset() { method String (line 994) | func (x *DeleteInboxMessageRequest) String() string { method ProtoMessage (line 998) | func (*DeleteInboxMessageRequest) ProtoMessage() {} method ProtoReflect (line 1000) | func (x *DeleteInboxMessageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1013) | func (*DeleteInboxMessageRequest) Descriptor() ([]byte, []int) { method GetId (line 1017) | func (x *DeleteInboxMessageRequest) GetId() string { type DeleteInboxMessageResponse (line 1024) | type DeleteInboxMessageResponse struct method Reset (line 1030) | func (x *DeleteInboxMessageResponse) Reset() { method String (line 1039) | func (x *DeleteInboxMessageResponse) String() string { method ProtoMessage (line 1043) | func (*DeleteInboxMessageResponse) ProtoMessage() {} method ProtoReflect (line 1045) | func (x *DeleteInboxMessageResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 1058) | func (*DeleteInboxMessageResponse) Descriptor() ([]byte, []int) { type DeleteSentboxMessageRequest (line 1062) | type DeleteSentboxMessageRequest struct method Reset (line 1070) | func (x *DeleteSentboxMessageRequest) Reset() { method String (line 1079) | func (x *DeleteSentboxMessageRequest) String() string { method ProtoMessage (line 1083) | func (*DeleteSentboxMessageRequest) ProtoMessage() {} method ProtoReflect (line 1085) | func (x *DeleteSentboxMessageRequest) ProtoReflect() protoreflect.Mess... method Descriptor (line 1098) | func (*DeleteSentboxMessageRequest) Descriptor() ([]byte, []int) { method GetId (line 1102) | func (x *DeleteSentboxMessageRequest) GetId() string { type DeleteSentboxMessageResponse (line 1109) | type DeleteSentboxMessageResponse struct method Reset (line 1115) | func (x *DeleteSentboxMessageResponse) Reset() { method String (line 1124) | func (x *DeleteSentboxMessageResponse) String() string { method ProtoMessage (line 1128) | func (*DeleteSentboxMessageResponse) ProtoMessage() {} method ProtoReflect (line 1130) | func (x *DeleteSentboxMessageResponse) ProtoReflect() protoreflect.Mes... method Descriptor (line 1143) | func (*DeleteSentboxMessageResponse) Descriptor() ([]byte, []int) { type GetUsageRequest (line 1147) | type GetUsageRequest struct method Reset (line 1155) | func (x *GetUsageRequest) Reset() { method String (line 1164) | func (x *GetUsageRequest) String() string { method ProtoMessage (line 1168) | func (*GetUsageRequest) ProtoMessage() {} method ProtoReflect (line 1170) | func (x *GetUsageRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1183) | func (*GetUsageRequest) Descriptor() ([]byte, []int) { method GetKey (line 1187) | func (x *GetUsageRequest) GetKey() string { type GetUsageResponse (line 1194) | type GetUsageResponse struct method Reset (line 1203) | func (x *GetUsageResponse) Reset() { method String (line 1212) | func (x *GetUsageResponse) String() string { method ProtoMessage (line 1216) | func (*GetUsageResponse) ProtoMessage() {} method ProtoReflect (line 1218) | func (x *GetUsageResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1231) | func (*GetUsageResponse) Descriptor() ([]byte, []int) { method GetCustomer (line 1235) | func (x *GetUsageResponse) GetCustomer() *pb.GetCustomerResponse { method GetUsage (line 1242) | func (x *GetUsageResponse) GetUsage() *pb.GetCustomerUsageResponse { type ArchivesLsRequest (line 1249) | type ArchivesLsRequest struct method Reset (line 1255) | func (x *ArchivesLsRequest) Reset() { method String (line 1264) | func (x *ArchivesLsRequest) String() string { method ProtoMessage (line 1268) | func (*ArchivesLsRequest) ProtoMessage() {} method ProtoReflect (line 1270) | func (x *ArchivesLsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1283) | func (*ArchivesLsRequest) Descriptor() ([]byte, []int) { type ArchivesLsResponse (line 1287) | type ArchivesLsResponse struct method Reset (line 1295) | func (x *ArchivesLsResponse) Reset() { method String (line 1304) | func (x *ArchivesLsResponse) String() string { method ProtoMessage (line 1308) | func (*ArchivesLsResponse) ProtoMessage() {} method ProtoReflect (line 1310) | func (x *ArchivesLsResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1323) | func (*ArchivesLsResponse) Descriptor() ([]byte, []int) { method GetArchives (line 1327) | func (x *ArchivesLsResponse) GetArchives() []*ArchiveLsItem { type ArchiveLsItem (line 1334) | type ArchiveLsItem struct method Reset (line 1343) | func (x *ArchiveLsItem) Reset() { method String (line 1352) | func (x *ArchiveLsItem) String() string { method ProtoMessage (line 1356) | func (*ArchiveLsItem) ProtoMessage() {} method ProtoReflect (line 1358) | func (x *ArchiveLsItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1371) | func (*ArchiveLsItem) Descriptor() ([]byte, []int) { method GetCid (line 1375) | func (x *ArchiveLsItem) GetCid() string { method GetInfo (line 1382) | func (x *ArchiveLsItem) GetInfo() []*ArchiveLsItemMetadata { type ArchiveLsItemMetadata (line 1389) | type ArchiveLsItemMetadata struct method Reset (line 1397) | func (x *ArchiveLsItemMetadata) Reset() { method String (line 1406) | func (x *ArchiveLsItemMetadata) String() string { method ProtoMessage (line 1410) | func (*ArchiveLsItemMetadata) ProtoMessage() {} method ProtoReflect (line 1412) | func (x *ArchiveLsItemMetadata) ProtoReflect() protoreflect.Message { method Descriptor (line 1425) | func (*ArchiveLsItemMetadata) Descriptor() ([]byte, []int) { method GetDealId (line 1429) | func (x *ArchiveLsItemMetadata) GetDealId() uint64 { type ArchivesImportRequest (line 1436) | type ArchivesImportRequest struct method Reset (line 1445) | func (x *ArchivesImportRequest) Reset() { method String (line 1454) | func (x *ArchivesImportRequest) String() string { method ProtoMessage (line 1458) | func (*ArchivesImportRequest) ProtoMessage() {} method ProtoReflect (line 1460) | func (x *ArchivesImportRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1473) | func (*ArchivesImportRequest) Descriptor() ([]byte, []int) { method GetCid (line 1477) | func (x *ArchivesImportRequest) GetCid() string { method GetDealIds (line 1484) | func (x *ArchivesImportRequest) GetDealIds() []uint64 { type ArchivesImportResponse (line 1491) | type ArchivesImportResponse struct method Reset (line 1497) | func (x *ArchivesImportResponse) Reset() { method String (line 1506) | func (x *ArchivesImportResponse) String() string { method ProtoMessage (line 1510) | func (*ArchivesImportResponse) ProtoMessage() {} method ProtoReflect (line 1512) | func (x *ArchivesImportResponse) ProtoReflect() protoreflect.Message { method Descriptor (line 1525) | func (*ArchivesImportResponse) Descriptor() ([]byte, []int) { type ArchiveRetrievalLsRequest (line 1529) | type ArchiveRetrievalLsRequest struct method Reset (line 1535) | func (x *ArchiveRetrievalLsRequest) Reset() { method String (line 1544) | func (x *ArchiveRetrievalLsRequest) String() string { method ProtoMessage (line 1548) | func (*ArchiveRetrievalLsRequest) ProtoMessage() {} method ProtoReflect (line 1550) | func (x *ArchiveRetrievalLsRequest) ProtoReflect() protoreflect.Message { method Descriptor (line 1563) | func (*ArchiveRetrievalLsRequest) Descriptor() ([]byte, []int) { type ArchiveRetrievalLsResponse (line 1567) | type ArchiveRetrievalLsResponse struct method Reset (line 1575) | func (x *ArchiveRetrievalLsResponse) Reset() { method String (line 1584) | func (x *ArchiveRetrievalLsResponse) String() string { method ProtoMessage (line 1588) | func (*ArchiveRetrievalLsResponse) ProtoMessage() {} method ProtoReflect (line 1590) | func (x *ArchiveRetrievalLsResponse) ProtoReflect() protoreflect.Messa... method Descriptor (line 1603) | func (*ArchiveRetrievalLsResponse) Descriptor() ([]byte, []int) { method GetRetrievals (line 1607) | func (x *ArchiveRetrievalLsResponse) GetRetrievals() []*ArchiveRetriev... type ArchiveRetrievalLsItem (line 1614) | type ArchiveRetrievalLsItem struct method Reset (line 1629) | func (x *ArchiveRetrievalLsItem) Reset() { method String (line 1638) | func (x *ArchiveRetrievalLsItem) String() string { method ProtoMessage (line 1642) | func (*ArchiveRetrievalLsItem) ProtoMessage() {} method ProtoReflect (line 1644) | func (x *ArchiveRetrievalLsItem) ProtoReflect() protoreflect.Message { method Descriptor (line 1657) | func (*ArchiveRetrievalLsItem) Descriptor() ([]byte, []int) { method GetId (line 1661) | func (x *ArchiveRetrievalLsItem) GetId() string { method GetCid (line 1668) | func (x *ArchiveRetrievalLsItem) GetCid() string { method GetStatus (line 1675) | func (x *ArchiveRetrievalLsItem) GetStatus() ArchiveRetrievalStatus { method GetFailureCause (line 1682) | func (x *ArchiveRetrievalLsItem) GetFailureCause() string { method GetCreatedAt (line 1689) | func (x *ArchiveRetrievalLsItem) GetCreatedAt() int64 { method GetRetrievalType (line 1696) | func (m *ArchiveRetrievalLsItem) GetRetrievalType() isArchiveRetrieval... method GetNewBucket (line 1703) | func (x *ArchiveRetrievalLsItem) GetNewBucket() *ArchiveRetrievalLsIte... type isArchiveRetrievalLsItem_RetrievalType (line 1710) | type isArchiveRetrievalLsItem_RetrievalType interface type ArchiveRetrievalLsItem_NewBucket (line 1714) | type ArchiveRetrievalLsItem_NewBucket struct method isArchiveRetrievalLsItem_RetrievalType (line 1718) | func (*ArchiveRetrievalLsItem_NewBucket) isArchiveRetrievalLsItem_Retr... type ArchiveRetrievalLsItemNewBucket (line 1720) | type ArchiveRetrievalLsItemNewBucket struct method Reset (line 1729) | func (x *ArchiveRetrievalLsItemNewBucket) Reset() { method String (line 1738) | func (x *ArchiveRetrievalLsItemNewBucket) String() string { method ProtoMessage (line 1742) | func (*ArchiveRetrievalLsItemNewBucket) ProtoMessage() {} method ProtoReflect (line 1744) | func (x *ArchiveRetrievalLsItemNewBucket) ProtoReflect() protoreflect.... method Descriptor (line 1757) | func (*ArchiveRetrievalLsItemNewBucket) Descriptor() ([]byte, []int) { method GetName (line 1761) | func (x *ArchiveRetrievalLsItemNewBucket) GetName() string { method GetPrivate (line 1768) | func (x *ArchiveRetrievalLsItemNewBucket) GetPrivate() bool { type ArchiveRetrievalLogsRequest (line 1775) | type ArchiveRetrievalLogsRequest struct method Reset (line 1783) | func (x *ArchiveRetrievalLogsRequest) Reset() { method String (line 1792) | func (x *ArchiveRetrievalLogsRequest) String() string { method ProtoMessage (line 1796) | func (*ArchiveRetrievalLogsRequest) ProtoMessage() {} method ProtoReflect (line 1798) | func (x *ArchiveRetrievalLogsRequest) ProtoReflect() protoreflect.Mess... method Descriptor (line 1811) | func (*ArchiveRetrievalLogsRequest) Descriptor() ([]byte, []int) { method GetId (line 1815) | func (x *ArchiveRetrievalLogsRequest) GetId() string { type ArchiveRetrievalLogsResponse (line 1822) | type ArchiveRetrievalLogsResponse struct method Reset (line 1830) | func (x *ArchiveRetrievalLogsResponse) Reset() { method String (line 1839) | func (x *ArchiveRetrievalLogsResponse) String() string { method ProtoMessage (line 1843) | func (*ArchiveRetrievalLogsResponse) ProtoMessage() {} method ProtoReflect (line 1845) | func (x *ArchiveRetrievalLogsResponse) ProtoReflect() protoreflect.Mes... method Descriptor (line 1858) | func (*ArchiveRetrievalLogsResponse) Descriptor() ([]byte, []int) { method GetMsg (line 1862) | func (x *ArchiveRetrievalLogsResponse) GetMsg() string { function file_api_usersd_pb_usersd_proto_rawDescGZIP (line 2157) | func file_api_usersd_pb_usersd_proto_rawDescGZIP() []byte { function init (line 2252) | func init() { file_api_usersd_pb_usersd_proto_init() } function file_api_usersd_pb_usersd_proto_init (line 2253) | func file_api_usersd_pb_usersd_proto_init() { constant _ (line 2685) | _ = grpc.SupportPackageIsVersion6 type APIServiceClient (line 2690) | type APIServiceClient interface type aPIServiceClient (line 2709) | type aPIServiceClient struct method GetThread (line 2717) | func (c *aPIServiceClient) GetThread(ctx context.Context, in *GetThrea... method ListThreads (line 2726) | func (c *aPIServiceClient) ListThreads(ctx context.Context, in *ListTh... method SetupMailbox (line 2735) | func (c *aPIServiceClient) SetupMailbox(ctx context.Context, in *Setup... method SendMessage (line 2744) | func (c *aPIServiceClient) SendMessage(ctx context.Context, in *SendMe... method ListInboxMessages (line 2753) | func (c *aPIServiceClient) ListInboxMessages(ctx context.Context, in *... method ListSentboxMessages (line 2762) | func (c *aPIServiceClient) ListSentboxMessages(ctx context.Context, in... method ReadInboxMessage (line 2771) | func (c *aPIServiceClient) ReadInboxMessage(ctx context.Context, in *R... method DeleteInboxMessage (line 2780) | func (c *aPIServiceClient) DeleteInboxMessage(ctx context.Context, in ... method DeleteSentboxMessage (line 2789) | func (c *aPIServiceClient) DeleteSentboxMessage(ctx context.Context, i... method GetUsage (line 2798) | func (c *aPIServiceClient) GetUsage(ctx context.Context, in *GetUsageR... method ArchivesLs (line 2807) | func (c *aPIServiceClient) ArchivesLs(ctx context.Context, in *Archive... method ArchivesImport (line 2816) | func (c *aPIServiceClient) ArchivesImport(ctx context.Context, in *Arc... method ArchiveRetrievalLs (line 2825) | func (c *aPIServiceClient) ArchiveRetrievalLs(ctx context.Context, in ... method ArchiveRetrievalLogs (line 2834) | func (c *aPIServiceClient) ArchiveRetrievalLogs(ctx context.Context, i... function NewAPIServiceClient (line 2713) | func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient { type APIService_ArchiveRetrievalLogsClient (line 2849) | type APIService_ArchiveRetrievalLogsClient interface type aPIServiceArchiveRetrievalLogsClient (line 2854) | type aPIServiceArchiveRetrievalLogsClient struct method Recv (line 2858) | func (x *aPIServiceArchiveRetrievalLogsClient) Recv() (*ArchiveRetriev... type APIServiceServer (line 2867) | type APIServiceServer interface type UnimplementedAPIServiceServer (line 2887) | type UnimplementedAPIServiceServer struct method GetThread (line 2890) | func (*UnimplementedAPIServiceServer) GetThread(context.Context, *GetT... method ListThreads (line 2893) | func (*UnimplementedAPIServiceServer) ListThreads(context.Context, *Li... method SetupMailbox (line 2896) | func (*UnimplementedAPIServiceServer) SetupMailbox(context.Context, *S... method SendMessage (line 2899) | func (*UnimplementedAPIServiceServer) SendMessage(context.Context, *Se... method ListInboxMessages (line 2902) | func (*UnimplementedAPIServiceServer) ListInboxMessages(context.Contex... method ListSentboxMessages (line 2905) | func (*UnimplementedAPIServiceServer) ListSentboxMessages(context.Cont... method ReadInboxMessage (line 2908) | func (*UnimplementedAPIServiceServer) ReadInboxMessage(context.Context... method DeleteInboxMessage (line 2911) | func (*UnimplementedAPIServiceServer) DeleteInboxMessage(context.Conte... method DeleteSentboxMessage (line 2914) | func (*UnimplementedAPIServiceServer) DeleteSentboxMessage(context.Con... method GetUsage (line 2917) | func (*UnimplementedAPIServiceServer) GetUsage(context.Context, *GetUs... method ArchivesLs (line 2920) | func (*UnimplementedAPIServiceServer) ArchivesLs(context.Context, *Arc... method ArchivesImport (line 2923) | func (*UnimplementedAPIServiceServer) ArchivesImport(context.Context, ... method ArchiveRetrievalLs (line 2926) | func (*UnimplementedAPIServiceServer) ArchiveRetrievalLs(context.Conte... method ArchiveRetrievalLogs (line 2929) | func (*UnimplementedAPIServiceServer) ArchiveRetrievalLogs(*ArchiveRet... function RegisterAPIServiceServer (line 2933) | func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer) { function _APIService_GetThread_Handler (line 2937) | func _APIService_GetThread_Handler(srv interface{}, ctx context.Context,... function _APIService_ListThreads_Handler (line 2955) | func _APIService_ListThreads_Handler(srv interface{}, ctx context.Contex... function _APIService_SetupMailbox_Handler (line 2973) | func _APIService_SetupMailbox_Handler(srv interface{}, ctx context.Conte... function _APIService_SendMessage_Handler (line 2991) | func _APIService_SendMessage_Handler(srv interface{}, ctx context.Contex... function _APIService_ListInboxMessages_Handler (line 3009) | func _APIService_ListInboxMessages_Handler(srv interface{}, ctx context.... function _APIService_ListSentboxMessages_Handler (line 3027) | func _APIService_ListSentboxMessages_Handler(srv interface{}, ctx contex... function _APIService_ReadInboxMessage_Handler (line 3045) | func _APIService_ReadInboxMessage_Handler(srv interface{}, ctx context.C... function _APIService_DeleteInboxMessage_Handler (line 3063) | func _APIService_DeleteInboxMessage_Handler(srv interface{}, ctx context... function _APIService_DeleteSentboxMessage_Handler (line 3081) | func _APIService_DeleteSentboxMessage_Handler(srv interface{}, ctx conte... function _APIService_GetUsage_Handler (line 3099) | func _APIService_GetUsage_Handler(srv interface{}, ctx context.Context, ... function _APIService_ArchivesLs_Handler (line 3117) | func _APIService_ArchivesLs_Handler(srv interface{}, ctx context.Context... function _APIService_ArchivesImport_Handler (line 3135) | func _APIService_ArchivesImport_Handler(srv interface{}, ctx context.Con... function _APIService_ArchiveRetrievalLs_Handler (line 3153) | func _APIService_ArchiveRetrievalLs_Handler(srv interface{}, ctx context... function _APIService_ArchiveRetrievalLogs_Handler (line 3171) | func _APIService_ArchiveRetrievalLogs_Handler(srv interface{}, stream gr... type APIService_ArchiveRetrievalLogsServer (line 3179) | type APIService_ArchiveRetrievalLogsServer interface type aPIServiceArchiveRetrievalLogsServer (line 3184) | type aPIServiceArchiveRetrievalLogsServer struct method Send (line 3188) | func (x *aPIServiceArchiveRetrievalLogsServer) Send(m *ArchiveRetrieva... FILE: api/usersd/service.go type Service (line 31) | type Service struct method GetThread (line 39) | func (s *Service) GetThread(ctx context.Context, req *pb.GetThreadRequ... method ListThreads (line 57) | func (s *Service) ListThreads(ctx context.Context, _ *pb.ListThreadsRe... method SetupMailbox (line 89) | func (s *Service) SetupMailbox(ctx context.Context, _ *pb.SetupMailbox... method SendMessage (line 104) | func (s *Service) SendMessage(ctx context.Context, req *pb.SendMessage... method ListInboxMessages (line 163) | func (s *Service) ListInboxMessages(ctx context.Context, req *pb.ListI... method ListSentboxMessages (line 192) | func (s *Service) ListSentboxMessages(ctx context.Context, req *pb.Lis... method ReadInboxMessage (line 293) | func (s *Service) ReadInboxMessage(ctx context.Context, req *pb.ReadIn... method DeleteInboxMessage (line 317) | func (s *Service) DeleteInboxMessage(ctx context.Context, req *pb.Dele... method DeleteSentboxMessage (line 333) | func (s *Service) DeleteSentboxMessage(ctx context.Context, req *pb.De... method GetUsage (line 349) | func (s *Service) GetUsage(ctx context.Context, req *pb.GetUsageReques... method getMailbox (line 385) | func (s *Service) getMailbox(ctx context.Context, key thread.PubKey) (... method getOrCreateMailbox (line 396) | func (s *Service) getOrCreateMailbox(ctx context.Context, key thread.P... method ArchiveRetrievalLs (line 411) | func (s *Service) ArchiveRetrievalLs(ctx context.Context, _ *pb.Archiv... method ArchivesLs (line 449) | func (s *Service) ArchivesLs(ctx context.Context, _ *pb.ArchivesLsRequ... method ArchivesImport (line 490) | func (s *Service) ArchivesImport(ctx context.Context, req *pb.Archives... method ArchiveRetrievalLogs (line 541) | func (s *Service) ArchiveRetrievalLogs(req *pb.ArchiveRetrievalLogsReq... constant defaultMessagePageSize (line 79) | defaultMessagePageSize = 100 constant maxMessagePageSize (line 80) | maxMessagePageSize = 10000 constant minMessageReadAt (line 81) | minMessageReadAt = float64(0) function inboxMessageToPb (line 221) | func inboxMessageToPb(m *tdb.InboxMessage) (*pb.Message, error) { function sentboxMessageToPb (line 241) | func sentboxMessageToPb(m *tdb.SentboxMessage) (*pb.Message, error) { function getMailboxQuery (line 260) | func getMailboxQuery(seek string, limit int64, asc bool, stat pb.ListInb... function toPbRetrievalStatus (line 567) | func toPbRetrievalStatus(s retrieval.Status) pb.ArchiveRetrievalStatus { FILE: buckets/archive/events.go type TrackedJobType (line 3) | type TrackedJobType constant TrackedJobTypeArchive (line 6) | TrackedJobTypeArchive TrackedJobType = iota constant TrackedJobTypeRetrieval (line 7) | TrackedJobTypeRetrieval type TrackedJobStatus (line 10) | type TrackedJobStatus constant TrackedJobStatusQueued (line 13) | TrackedJobStatusQueued TrackedJobStatus = iota constant TrackedJobStatusExecuting (line 14) | TrackedJobStatusExecuting constant TrackedJobStatusSuccess (line 15) | TrackedJobStatusSuccess constant TrackedJobStatusFailed (line 16) | TrackedJobStatusFailed type JobEvent (line 19) | type JobEvent struct FILE: buckets/archive/retrieval/retrieval.go constant ipfsAddTimeoutDefault (line 26) | ipfsAddTimeoutDefault = 500 constant buckCreationTimeout (line 27) | buckCreationTimeout = time.Minute * 30 constant maxConcurrentBucketCreation (line 28) | maxConcurrentBucketCreation = 10 type BucketCreator (line 38) | type BucketCreator interface type TrackerRetrievalRegistrator (line 49) | type TrackerRetrievalRegistrator interface type Status (line 54) | type Status constant StatusQueued (line 57) | StatusQueued Status = iota constant StatusExecuting (line 58) | StatusExecuting constant StatusMoveToBucket (line 59) | StatusMoveToBucket constant StatusSuccess (line 60) | StatusSuccess constant StatusFailed (line 61) | StatusFailed type Type (line 64) | type Type constant TypeNewBucket (line 67) | TypeNewBucket Type = iota constant TypeExistingBucket (line 68) | TypeExistingBucket type Retrieval (line 71) | type Retrieval struct type FilRetrieval (line 95) | type FilRetrieval struct method SetBucketCreator (line 138) | func (fr *FilRetrieval) SetBucketCreator(bc BucketCreator) { method RunDaemon (line 145) | func (fr *FilRetrieval) RunDaemon() { method CreateForNewBucket (line 157) | func (fr *FilRetrieval) CreateForNewBucket( method createRetrieval (line 201) | func (fr *FilRetrieval) createRetrieval(ctx context.Context, c cid.Cid... method Close (line 302) | func (fr *FilRetrieval) Close() error { method daemon (line 312) | func (fr *FilRetrieval) daemon() { method updateRetrievalStatus (line 339) | func (fr *FilRetrieval) updateRetrievalStatus(ju archive.JobEvent) { method processQueuedMoveToBucket (line 406) | func (fr *FilRetrieval) processQueuedMoveToBucket() { method processMoveToBucket (line 475) | func (fr *FilRetrieval) processMoveToBucket(r Retrieval) error { method save (line 524) | func (fr *FilRetrieval) save(txn datastore.Txn, r Retrieval) error { method GetAllByAccount (line 547) | func (fr *FilRetrieval) GetAllByAccount(accKey string) ([]Retrieval, e... method GetByAccountAndID (line 574) | func (fr *FilRetrieval) GetByAccountAndID(accKey string, jobID string)... method Logs (line 589) | func (fr *FilRetrieval) Logs(ctx context.Context, accKey string, jobID... function NewFilRetrieval (line 113) | func NewFilRetrieval( function dsAccountKey (line 627) | func dsAccountKey(accKey string) datastore.Key { function dsAccountAndIDKey (line 631) | func dsAccountAndIDKey(accKey, jobID string) datastore.Key { function dsMoveToBucketQueueBaseKey (line 635) | func dsMoveToBucketQueueBaseKey() datastore.Key { function dsMoveToBucketQueueKey (line 640) | func dsMoveToBucketQueueKey(accKey, jobID string) datastore.Key { FILE: buckets/archive/tracker/tracker.go constant maxConcurrent (line 25) | maxConcurrent = 20 type Tracker (line 40) | type Tracker struct method TrackArchive (line 88) | func (t *Tracker) TrackArchive( method TrackRetrieval (line 105) | func (t *Tracker) TrackRetrieval(ctx context.Context, accKey, jobID, p... method Close (line 113) | func (t *Tracker) Close() error { method run (line 122) | func (t *Tracker) run() { method checkPendingTrackings (line 137) | func (t *Tracker) checkPendingTrackings() { method processTrackedJob (line 170) | func (t *Tracker) processTrackedJob(a *mdb.TrackedJob) error { method trackRetrievalProgress (line 242) | func (t *Tracker) trackRetrievalProgress(ctx context.Context, accKey, ... method trackArchiveProgress (line 300) | func (t *Tracker) trackArchiveProgress( method updateArchiveStatus (line 362) | func (t *Tracker) updateArchiveStatus( method saveDealsInBucket (line 415) | func (t *Tracker) saveDealsInBucket( function New (line 57) | func New( function prepareFailureMsg (line 452) | func prepareFailureMsg(job *userPb.StorageJob) string { function isJobStatusFinal (line 465) | func isJobStatusFinal(js userPb.JobStatus) bool { FILE: buckets/buckets.go constant CollectionName (line 15) | CollectionName = "buckets" constant SeedName (line 17) | SeedName = ".textileseed" type ctxKey (line 33) | type ctxKey type BucketOwner (line 36) | type BucketOwner struct function NewBucketOwnerContext (line 42) | func NewBucketOwnerContext(ctx context.Context, owner *BucketOwner) cont... function BucketOwnerFromContext (line 46) | func BucketOwnerFromContext(ctx context.Context) (*BucketOwner, bool) { type Role (line 52) | type Role method String (line 78) | func (r Role) String() string { constant None (line 55) | None Role = iota constant Reader (line 56) | Reader constant Writer (line 57) | Writer constant Admin (line 58) | Admin function NewRoleFromString (line 62) | func NewRoleFromString(s string) (Role, error) { function RolesToPb (line 94) | func RolesToPb(in map[string]Role) (map[string]pb.PathAccessRole, error) { function RolesFromPb (line 116) | func RolesFromPb(in map[string]pb.PathAccessRole) (map[string]Role, erro... FILE: buckets/local/access.go method PushPathAccessRoles (line 17) | func (b *Bucket) PushPathAccessRoles( method PullPathAccessRoles (line 34) | func (b *Bucket) PullPathAccessRoles(ctx context.Context, pth string) (r... type PathInvite (line 43) | type PathInvite struct method SendPathInvite (line 51) | func (b *Bucket) SendPathInvite(ctx context.Context, from thread.Identit... FILE: buckets/local/add.go method AddRemoteCid (line 18) | func (b *Bucket) AddRemoteCid(ctx context.Context, c cid.Cid, dest strin... method mergeIpfsPath (line 32) | func (b *Bucket) mergeIpfsPath( method listMergePath (line 100) | func (b *Bucket) listMergePath( method getIpfsFile (line 183) | func (b *Bucket) getIpfsFile( FILE: buckets/local/archive.go type ArchiveConfig (line 14) | type ArchiveConfig struct type ArchiveRenew (line 48) | type ArchiveRenew struct method DefaultArchiveConfig (line 57) | func (b *Bucket) DefaultArchiveConfig(ctx context.Context) (config Archi... method Addresses (line 76) | func (b *Bucket) Addresses(ctx context.Context) (*powPb.AddressesRespons... function fromPbArchiveConfig (line 90) | func fromPbArchiveConfig(pbConfig *pb.ArchiveConfig) ArchiveConfig { method SetDefaultArchiveConfig (line 112) | func (b *Bucket) SetDefaultArchiveConfig(ctx context.Context, config Arc... function toPbArchiveConfig (line 123) | func toPbArchiveConfig(config ArchiveConfig) *pb.ArchiveConfig { type archiveRemoteOptions (line 141) | type archiveRemoteOptions struct type ArchiveRemoteOption (line 146) | type ArchiveRemoteOption function WithArchiveConfig (line 149) | func WithArchiveConfig(config ArchiveConfig) ArchiveRemoteOption { function WithSkipAutomaticVerifiedDeal (line 157) | func WithSkipAutomaticVerifiedDeal(enabled bool) ArchiveRemoteOption { method ArchiveRemote (line 164) | func (b *Bucket) ArchiveRemote(ctx context.Context, opts ...ArchiveRemot... type ArchiveStatusMessage (line 190) | type ArchiveStatusMessage struct type ArchiveMessageType (line 198) | type ArchiveMessageType constant ArchiveMessage (line 202) | ArchiveMessage ArchiveMessageType = iota constant ArchiveError (line 204) | ArchiveError method Archives (line 208) | func (b *Bucket) Archives(ctx context.Context) (*pb.ArchivesResponse, er... method ArchiveWatch (line 220) | func (b *Bucket) ArchiveWatch(ctx context.Context) (<-chan ArchiveStatus... FILE: buckets/local/bucket.go type Event (line 35) | type Event struct type EventType (line 49) | type EventType constant EventProgress (line 53) | EventProgress EventType = iota constant EventFileComplete (line 55) | EventFileComplete constant EventFileRemoved (line 57) | EventFileRemoved type Bucket (line 72) | type Bucket struct method Key (line 86) | func (b *Bucket) Key() string { method Thread (line 91) | func (b *Bucket) Thread() (id thread.ID, err error) { method Path (line 100) | func (b *Bucket) Path() (string, error) { method Cwd (line 109) | func (b *Bucket) Cwd() string { method ConfDir (line 114) | func (b *Bucket) ConfDir() string { method Context (line 119) | func (b *Bucket) Context(ctx context.Context) (context.Context, error) { method LocalSize (line 132) | func (b *Bucket) LocalSize() (int64, error) { method RetrievalID (line 164) | func (b *Bucket) RetrievalID() string { method Info (line 218) | func (b *Bucket) Info(ctx context.Context) (info Info, err error) { method Roots (line 323) | func (b *Bucket) Roots(ctx context.Context) (roots Roots, err error) { method RemoteLinks (line 351) | func (b *Bucket) RemoteLinks(ctx context.Context, pth string) (links L... method DBInfo (line 370) | func (b *Bucket) DBInfo(ctx context.Context) (info db.Info, cc db.Coll... method CatRemotePath (line 391) | func (b *Bucket) CatRemotePath(ctx context.Context, pth string, w io.W... method Destroy (line 400) | func (b *Bucket) Destroy(ctx context.Context) error { method loadLocalRepo (line 419) | func (b *Bucket) loadLocalRepo(ctx context.Context, pth, name string, ... method setRepoCidVersion (line 433) | func (b *Bucket) setRepoCidVersion(ctx context.Context) error { method containsPath (line 445) | func (b *Bucket) containsPath(pth string) (c bool, err error) { method getRemoteRoot (line 461) | func (b *Bucket) getRemoteRoot(ctx context.Context) (cid.Cid, error) { type Info (line 169) | type Info struct type Path (line 184) | type Path struct method MarshalJSON (line 188) | func (p Path) MarshalJSON() ([]byte, error) { type Metadata (line 193) | type Metadata struct type Archives (line 200) | type Archives struct type Archive (line 206) | type Archive struct type Deal (line 212) | type Deal struct function pbRootToInfo (line 230) | func pbRootToInfo(r *pb.Root) (info Info, err error) { function pbMetadataToInfo (line 262) | func pbMetadataToInfo(pbm map[string]*pb.Metadata) (map[string]Metadata,... function pbArchivesToInfo (line 281) | func pbArchivesToInfo(pba *pb.Archives) *Archives { function pbDealsToInfo (line 304) | func pbDealsToInfo(pbd []*pb.DealInfo) []Deal { type Roots (line 317) | type Roots struct type Links (line 341) | type Links struct FILE: buckets/local/bucket_test.go function TestBucket (line 30) | func TestBucket(t *testing.T) { function TestBucket_PushLocal (line 160) | func TestBucket_PushLocal(t *testing.T) { function TestBucket_PullRemote (line 181) | func TestBucket_PullRemote(t *testing.T) { function TestBucket_AddRemoteCid (line 256) | func TestBucket_AddRemoteCid(t *testing.T) { function TestBucket_RemotePaths (line 274) | func TestBucket_RemotePaths(t *testing.T) { function TestBucket_DiffLocal (line 349) | func TestBucket_DiffLocal(t *testing.T) { function TestBucket_Watch (line 405) | func TestBucket_Watch(t *testing.T) { function TestBucket_AccessRoles (line 510) | func TestBucket_AccessRoles(t *testing.T) { function addRandomFile (line 548) | func addRandomFile(t *testing.T, buck *Bucket, pth string, size int64) s... FILE: buckets/local/buckets.go function DefaultConfConfig (line 34) | func DefaultConfConfig() cmd.ConfConfig { type Buckets (line 44) | type Buckets struct method Context (line 65) | func (b *Buckets) Context(ctx context.Context) context.Context { method Clients (line 73) | func (b *Buckets) Clients() *cmd.Clients { method NewConfigFromCmd (line 92) | func (b *Buckets) NewConfigFromCmd(c *cobra.Command, pth string) (conf... method NewBucket (line 115) | func (b *Buckets) NewBucket(ctx context.Context, conf Config, opts ...... method repoName (line 276) | func (b *Buckets) repoName() string { method GetLocalBucket (line 281) | func (b *Buckets) GetLocalBucket(ctx context.Context, conf Config) (*B... method RemoteBuckets (line 323) | func (b *Buckets) RemoteBuckets(ctx context.Context, id thread.ID) (li... function NewBuckets (line 51) | func NewBuckets(clients *cmd.Clients, config cmd.ConfConfig) *Buckets { type AuthFunc (line 57) | type AuthFunc function NewBucketsWithAuth (line 60) | func NewBucketsWithAuth(clients *cmd.Clients, config cmd.ConfConfig, aut... type Config (line 78) | type Config struct FILE: buckets/local/buckets_test.go function TestMain (line 26) | func TestMain(m *testing.M) { function TestBuckets_NewBucket (line 36) | func TestBuckets_NewBucket(t *testing.T) { function TestBuckets_NewConfigFromCmd (line 158) | func TestBuckets_NewConfigFromCmd(t *testing.T) { function initCmd (line 236) | func initCmd(t *testing.T, buckets *Buckets, key string, tid thread.ID, ... function setup (line 264) | func setup(t *testing.T) *Buckets { function getConf (line 277) | func getConf(t *testing.T, bucks *Buckets) Config { function newDir (line 288) | func newDir(t *testing.T) string { function createIpfsFolder (line 297) | func createIpfsFolder(t *testing.T) (pth path.Resolved) { type eventCollector (line 313) | type eventCollector struct method collect (line 319) | func (c *eventCollector) collect(events chan Event) { method check (line 332) | func (c *eventCollector) check(t *testing.T, numFilesAdded, numFilesRe... FILE: buckets/local/crypto.go method EncryptLocalPath (line 14) | func (b *Bucket) EncryptLocalPath(pth string, key []byte, w io.Writer) e... method DecryptLocalPath (line 20) | func (b *Bucket) DecryptLocalPath(pth string, key []byte, w io.Writer) e... method EncryptLocalPathWithPassword (line 27) | func (b *Bucket) EncryptLocalPathWithPassword(pth, password string, w io... method DecryptLocalPathWithPassword (line 34) | func (b *Bucket) DecryptLocalPathWithPassword(pth, password string, w io... type encryptFunc (line 38) | type encryptFunc type decryptFunc (line 39) | type decryptFunc function encryptLocalPath (line 41) | func encryptLocalPath(pth string, keyOrPassword []byte, fn encryptFunc, ... function decryptLocalPath (line 65) | func decryptLocalPath(pth string, keyOrPassword []byte, fn decryptFunc, ... method DecryptRemotePath (line 90) | func (b *Bucket) DecryptRemotePath(ctx context.Context, pth string, key ... method DecryptRemotePathWithPassword (line 97) | func (b *Bucket) DecryptRemotePathWithPassword(ctx context.Context, pth,... method decryptRemotePath (line 101) | func (b *Bucket) decryptRemotePath( FILE: buckets/local/diff.go type Change (line 19) | type Change struct function ChangeType (line 27) | func ChangeType(t du.ChangeType) string { function ChangeColor (line 41) | func ChangeColor(t du.ChangeType) func(arg interface{}) aurora2.Value { method DiffLocal (line 55) | func (b *Bucket) DiffLocal() ([]Change, error) { method walkPath (line 101) | func (b *Bucket) walkPath(pth string) (names []string, err error) { FILE: buckets/local/list.go type BucketItem (line 16) | type BucketItem struct method ListRemotePath (line 27) | func (b *Bucket) ListRemotePath(ctx context.Context, pth string) (items ... function pbItemToItem (line 60) | func pbItemToItem(pi *pb.PathItem) (item BucketItem, err error) { FILE: buckets/local/options.go type newOptions (line 7) | type newOptions struct type NewOption (line 17) | type NewOption function WithName (line 20) | func WithName(name string) NewOption { function WithPrivate (line 27) | func WithPrivate(private bool) NewOption { function WithCid (line 34) | func WithCid(c cid.Cid) NewOption { function WithUnfreeze (line 41) | func WithUnfreeze(enabled bool) NewOption { type InitStrategy (line 48) | type InitStrategy constant Hybrid (line 52) | Hybrid InitStrategy = iota constant Soft (line 54) | Soft constant Hard (line 56) | Hard function WithStrategy (line 60) | func WithStrategy(strategy InitStrategy) NewOption { function WithInitEvents (line 68) | func WithInitEvents(ch chan<- Event) NewOption { type pathOptions (line 74) | type pathOptions struct type PathOption (line 82) | type PathOption type ConfirmDiffFunc (line 85) | type ConfirmDiffFunc function WithConfirm (line 88) | func WithConfirm(f ConfirmDiffFunc) PathOption { function WithForce (line 95) | func WithForce(b bool) PathOption { function WithHard (line 102) | func WithHard(b bool) PathOption { function WithEvents (line 109) | func WithEvents(ch chan<- Event) PathOption { type addOptions (line 115) | type addOptions struct type SelectMergeFunc (line 121) | type SelectMergeFunc type MergeStrategy (line 124) | type MergeStrategy constant Skip (line 128) | Skip MergeStrategy = "Skip" constant Merge (line 130) | Merge = "Merge" constant Replace (line 132) | Replace = "Replace" type AddOption (line 136) | type AddOption function WithSelectMerge (line 139) | func WithSelectMerge(f SelectMergeFunc) AddOption { function WithAddEvents (line 146) | func WithAddEvents(ch chan<- Event) AddOption { type watchOptions (line 152) | type watchOptions struct type WatchOption (line 158) | type WatchOption function WithOffline (line 161) | func WithOffline(offline bool) WatchOption { function WithWatchEvents (line 168) | func WithWatchEvents(ch chan<- Event) WatchOption { FILE: buckets/local/pull.go method PullRemote (line 24) | func (b *Bucket) PullRemote(ctx context.Context, opts ...PathOption) (ro... method getPath (line 89) | func (b *Bucket) getPath( method handleChanges (line 130) | func (b *Bucket) handleChanges( method diffPath (line 192) | func (b *Bucket) diffPath( type object (line 245) | type object struct method listPath (line 252) | func (b *Bucket) listPath( method getFile (line 302) | func (b *Bucket) getFile(ctx context.Context, key string, o object, even... function handlePullProgress (line 340) | func handlePullProgress(global chan<- int64, fsize int64) (chan<- int64,... function handleAllPullProgress (line 366) | func handleAllPullProgress(os []object, events chan<- Event) chan<- int64 { FILE: buckets/local/push.go method PushLocal (line 17) | func (b *Bucket) PushLocal(ctx context.Context, opts ...PathOption) (roo... type pendingFile (line 117) | type pendingFile struct method AddRemoteFiles (line 124) | func (b *Bucket) AddRemoteFiles( method RemoveRemoteFile (line 208) | func (b *Bucket) RemoveRemoteFile( FILE: buckets/local/repo.go function init (line 36) | func init() { type pathMap (line 55) | type pathMap struct type Repo (line 61) | type Repo struct method Path (line 95) | func (b *Repo) Path() string { method Root (line 100) | func (b *Repo) Root() (local, remote cid.Cid, err error) { method GetPathMap (line 124) | func (b *Repo) GetPathMap(pth string) (local, remote cid.Cid, err erro... method getPathMap (line 137) | func (b *Repo) getPathMap(k ds.Key) (m pathMap, err error) { method CidVersion (line 151) | func (b *Repo) CidVersion() int { method SetCidVersion (line 157) | func (b *Repo) SetCidVersion(v int) { method Save (line 162) | func (b *Repo) Save(ctx context.Context) error { method setLocalPath (line 176) | func (b *Repo) setLocalPath(pth string, local cid.Cid) error { method putPathMap (line 193) | func (b *Repo) putPathMap(k ds.Key, pm pathMap) error { method recursiveAddPath (line 204) | func (b *Repo) recursiveAddPath( method SaveFile (line 294) | func (b *Repo) SaveFile(ctx context.Context, pth string, name string) ... method HashFile (line 326) | func (b *Repo) HashFile(pth string) (cid.Cid, error) { method GetNode (line 344) | func (b *Repo) GetNode(ctx context.Context, c cid.Cid) (ipld.Node, err... method Diff (line 349) | func (b *Repo) Diff(ctx context.Context, pth string) (diff []*du.Chang... method SetRemotePath (line 378) | func (b *Repo) SetRemotePath(pth string, remote cid.Cid) error { method MatchPath (line 395) | func (b *Repo) MatchPath(pth string, local, remote cid.Cid) (bool, err... method RemovePath (line 411) | func (b *Repo) RemovePath(ctx context.Context, pth string) error { method Close (line 432) | func (b *Repo) Close() error { function NewRepo (line 72) | func NewRepo(pth, name string, layout options.Layout) (*Repo, error) { function getPathKey (line 115) | func getPathKey(pth string) (key ds.Key, err error) { function copyLinks (line 267) | func copyLinks(ctx context.Context, nd ipld.Node, from, to ipld.DAGServi... function Ignore (line 443) | func Ignore(pth string, ig *ignore.GitIgnore) bool { function IgnoreFile (line 456) | func IgnoreFile(pth string) (*ignore.GitIgnore, error) { function addFile (line 468) | func addFile(dag ipld.DAGService, layout options.Layout, prefix cid.Pref... function Diff (line 504) | func Diff(ctx context.Context, ds ipld.DAGService, a, b ipld.Node) ([]*d... function getChange (line 579) | func getChange(a, b ipld.Node) ([]*du.Change, error) { function isFileNode (line 592) | func isFileNode(n ipld.Node) bool { function stashChanges (line 601) | func stashChanges(diff []Change) error { function applyChanges (line 613) | func applyChanges(diff []Change) error { FILE: buckets/local/repo_test.go function TestNewRepo (line 22) | func TestNewRepo(t *testing.T) { function TestRepo_SetCidVersion (line 26) | func TestRepo_SetCidVersion(t *testing.T) { function TestRepo_Save (line 50) | func TestRepo_Save(t *testing.T) { function TestRepo_SaveFile (line 71) | func TestRepo_SaveFile(t *testing.T) { function checkLinks (line 92) | func checkLinks(t *testing.T, repo *Repo, n ipld.Node) { function TestRepo_HashFile (line 104) | func TestRepo_HashFile(t *testing.T) { function TestRepo_Diff (line 113) | func TestRepo_Diff(t *testing.T) { function TestRepo_Get (line 220) | func TestRepo_Get(t *testing.T) { function TestRepo_SetRemotePath (line 235) | func TestRepo_SetRemotePath(t *testing.T) { function TestRepo_MatchPath (line 249) | func TestRepo_MatchPath(t *testing.T) { function TestRepo_RemovePath (line 268) | func TestRepo_RemovePath(t *testing.T) { function makeRepo (line 281) | func makeRepo(t *testing.T, root string, layout options.Layout) *Repo { function makeCid (line 292) | func makeCid(t *testing.T, s string) cid.Cid { FILE: buckets/local/watch.go constant fileSystemWatchInterval (line 15) | fileSystemWatchInterval = time.Millisecond * 100 constant reconnectInterval (line 16) | reconnectInterval = time.Second * 5 method Watch (line 24) | func (b *Bucket) Watch(ctx context.Context, opts ...WatchOption) (<-chan... method watchWhileConnected (line 42) | func (b *Bucket) watchWhileConnected(ctx context.Context, pevents chan<-... method watchPush (line 127) | func (b *Bucket) watchPush(ctx context.Context, events chan<- Event) err... method watchPull (line 149) | func (b *Bucket) watchPull(ctx context.Context, events chan<- Event) err... FILE: buildinfo/buildinfo.go function Summary (line 21) | func Summary() string { FILE: cmd/buck/cli/add.go function getSelectMergeStrategy (line 44) | func getSelectMergeStrategy(auto bool) local.SelectMergeFunc { FILE: cmd/buck/cli/cli.go constant Name (line 16) | Name = "buck" type Format (line 22) | type Format constant DefaultFormat (line 25) | DefaultFormat Format = "default" constant JSONFormat (line 26) | JSONFormat = "json" function Init (line 29) | func Init(baseCmd *cobra.Command) { function SetBucks (line 109) | func SetBucks(b *local.Buckets) { function printLinks (line 238) | func printLinks(reply local.Links, format Format) { FILE: cmd/buck/cli/push.go constant nonFastForwardMsg (line 14) | nonFastForwardMsg = "the root of your bucket is behind (try `%s` before ... FILE: cmd/buck/cli/util.go function getConfirm (line 14) | func getConfirm(label string, auto bool) local.ConfirmDiffFunc { function handleEvents (line 34) | func handleEvents(events chan local.Event) { constant _KiB (line 84) | _KiB = 1024 constant _MiB (line 85) | _MiB = 1048576 constant _GiB (line 86) | _GiB = 1073741824 constant _TiB (line 87) | _TiB = 1099511627776 constant _kB (line 89) | _kB = 1e3 constant _MB (line 90) | _MB = 1e6 constant _GB (line 91) | _GB = 1e9 constant _TB (line 92) | _TB = 1e12 function formatBytes (line 96) | func formatBytes(i int64, useSIPrefix bool) (result string) { FILE: cmd/buck/cli/watch.go function handleWatchEvents (line 47) | func handleWatchEvents(events chan local.Event) { FILE: cmd/buck/main.go constant defaultTarget (line 10) | defaultTarget = "127.0.0.1:3006" function init (line 14) | func init() { function main (line 20) | func main() { FILE: cmd/buckd/main.go constant daemonName (line 17) | daemonName = "buckd" function init (line 130) | func init() { function main (line 242) | func main() { FILE: cmd/cmd.go type Flag (line 43) | type Flag struct type Config (line 49) | type Config struct type ConfConfig (line 60) | type ConfConfig struct method NewConfig (line 68) | func (cc ConfConfig) NewConfig(pth string, flags map[string]Flag, glob... type Clients (line 84) | type Clients struct method Close (line 153) | func (c *Clients) Close() { method ListThreads (line 188) | func (c *Clients) ListThreads(ctx context.Context, dbsOnly bool) []Thr... method SelectThread (line 243) | func (c *Clients) SelectThread(ctx context.Context, label, successMsg ... function NewClients (line 95) | func NewClients(hubTarget string, isHub bool, minerIndexTarget string) *... type Thread (line 177) | type Thread struct function GetThreadType (line 234) | func GetThreadType(isDB bool) string { FILE: cmd/config.go function InitConfigCmd (line 17) | func InitConfigCmd(rootCmd *cobra.Command, v *viper.Viper, dir string) { constant maxSearchHeight (line 39) | maxSearchHeight = 50 function InitConfig (line 42) | func InitConfig(conf *Config) func() { function FindConfigFile (line 50) | func FindConfigFile(conf *Config, pth string) bool { function initConfig (line 65) | func initConfig(v *viper.Viper, file, pre, cdir, name, envPre string, gl... function WriteConfig (line 90) | func WriteConfig(c *cobra.Command, v *viper.Viper, name string) { function WriteConfigToHome (line 115) | func WriteConfigToHome(config *Config) { function BindFlags (line 127) | func BindFlags(v *viper.Viper, root *cobra.Command, flags map[string]Fla... function GetFlagOrEnvValue (line 139) | func GetFlagOrEnvValue(c *cobra.Command, k, envPre string) (v string) { function ExpandConfigVars (line 153) | func ExpandConfigVars(v *viper.Viper, flags map[string]Flag) { function AddrFromStr (line 164) | func AddrFromStr(str string) ma.Multiaddr { FILE: cmd/hub/cli/billing.go function getUsageRow (line 115) | func getUsageRow(usage *pb.Usage) []string { function listUsers (line 157) | func listUsers(limit, offset int64) { FILE: cmd/hub/cli/cli.go constant Name (line 19) | Name = "hub" function Init (line 71) | func Init(rootCmd *cobra.Command) { function Config (line 123) | func Config() *cmd.Config { function SetClients (line 127) | func SetClients(c *cmd.Clients) { function Auth (line 131) | func Auth(ctx context.Context) context.Context { FILE: cmd/hub/cli/fil.go function init (line 13) | func init() { constant addrsWarning (line 25) | addrsWarning = "Funds in this wallet are for network and storage fees on... constant addrsGetVerified (line 26) | addrsGetVerified = "Get your address verified on https://plus.fil.org/la... FILE: cmd/hub/cli/fil_index.go function init (line 20) | func init() { function peekAndFormatDealsTransferTimes (line 152) | func peekAndFormatDealsTransferTimes(ti *pb.TextileInfo) string { function peekAndFormatRetrievalsTransferTimes (line 172) | func peekAndFormatRetrievalsTransferTimes(ti *pb.TextileInfo) string { function peekAndFormatSealingTimes (line 192) | func peekAndFormatSealingTimes(ti *pb.TextileInfo) string { function attoFilToFil (line 359) | func attoFilToFil(attoFil string) string { function prettyFormatPbTime (line 371) | func prettyFormatPbTime(t *timestamppb.Timestamp) string { function prettyFormatTime (line 380) | func prettyFormatTime(t *time.Time) string { function mapSortField (line 388) | func mapSortField(field string) pb.QueryIndexRequestSortField { function isoLocationToCountryName (line 409) | func isoLocationToCountryName(isoCode string) string { FILE: cmd/hub/cli/keys.go type keyItem (line 135) | type keyItem struct function selectKey (line 141) | func selectKey(ctx context.Context, label, successMsg string) *keyItem { function keyTypeToString (line 173) | func keyTypeToString(t pb.KeyType) (s string) { FILE: cmd/hub/cli/orgs.go type orgItem (line 206) | type orgItem struct function selectOrg (line 212) | func selectOrg(ctx context.Context, label, successMsg string) *orgItem { FILE: cmd/hub/cli/update.go function install (line 15) | func install(assetURL string) error { FILE: cmd/hub/cli/version.go function getLatestRelease (line 16) | func getLatestRelease() (*su.Release, error) { function getAPIVersion (line 40) | func getAPIVersion() (string, error) { FILE: cmd/hub/main.go function init (line 23) | func init() { function main (line 28) | func main() { FILE: cmd/hubd/main.go constant daemonName (line 19) | daemonName = "hubd" constant mib (line 21) | mib = 1024 * 1024 constant gib (line 22) | gib = 1024 * mib function init (line 193) | func init() { function main (line 366) | func main() { FILE: cmd/output.go function Message (line 22) | func Message(format string, args ...interface{}) { function Warn (line 29) | func Warn(format string, args ...interface{}) { function Success (line 37) | func Success(format string, args ...interface{}) { function JSON (line 42) | func JSON(data interface{}) { function End (line 48) | func End(format string, args ...interface{}) { function Error (line 53) | func Error(err error, args ...interface{}) { function Fatal (line 88) | func Fatal(err error, args ...interface{}) { function ErrCheck (line 93) | func ErrCheck(err error, args ...interface{}) { function RenderTable (line 99) | func RenderTable(header []string, data [][]string) { function RenderTableWithoutNewLines (line 105) | func RenderTableWithoutNewLines(header []string, data [][]string) { function HandleInterrupt (line 128) | func HandleInterrupt(stop func()) { function SetupDefaultLoggingConfig (line 137) | func SetupDefaultLoggingConfig(file string) error { FILE: cmd/watch.go type WatchState (line 14) | type WatchState struct type ConnectionState (line 25) | type ConnectionState method String (line 34) | func (cs ConnectionState) String() string { constant Offline (line 29) | Offline ConnectionState = iota constant Online (line 31) | Online type WatchFunc (line 46) | type WatchFunc function Watch (line 55) | func Watch(ctx context.Context, watchFunc WatchFunc, reconnectInterval t... function IsConnectionError (line 86) | func IsConnectionError(err error) bool { FILE: core/auth_interceptor.go method authFunc (line 19) | func (t *Textile) authFunc(ctx context.Context) (context.Context, error) { method noAuthFunc (line 48) | func (t *Textile) noAuthFunc(ctx context.Context) (context.Context, erro... method newAuthCtx (line 62) | func (t *Textile) newAuthCtx(ctx context.Context, method string, touchSe... FILE: core/core.go type Textile (line 133) | type Textile struct method Bootstrap (line 576) | func (t *Textile) Bootstrap() { method Close (line 580) | func (t *Textile) Close() error { method HostID (line 665) | func (t *Textile) HostID() peer.ID { type Config (line 164) | type Config struct function NewTextile (line 217) | func NewTextile(ctx context.Context, conf Config, opts ...Option) (*Text... function createServiceDesciptor (line 669) | func createServiceDesciptor(file string, serviceName string) (*desc.Serv... FILE: core/options.go type Options (line 3) | type Options struct type Option (line 9) | type Option function WithBadgerThreadsPersistence (line 11) | func WithBadgerThreadsPersistence(repoPath string) Option { function WithMongoThreadsPersistence (line 17) | func WithMongoThreadsPersistence(uri, db string) Option { FILE: core/pow_interceptor.go function powInterceptor (line 20) | func powInterceptor( function createPowStub (line 120) | func createPowStub(target string) (*grpcdynamic.Stub, error) { FILE: core/stats_handler.go type StatsHandler (line 14) | type StatsHandler struct method HandleRPC (line 23) | func (h *StatsHandler) HandleRPC(ctx context.Context, st stats.RPCStat... method TagRPC (line 162) | func (h *StatsHandler) TagRPC(ctx context.Context, info *stats.RPCTagI... method HandleConn (line 206) | func (h *StatsHandler) HandleConn(context.Context, stats.ConnStats) {} method TagConn (line 208) | func (h *StatsHandler) TagConn(ctx context.Context, _ *stats.ConnTagIn... type statsCtxKey (line 153) | type statsCtxKey type requestStats (line 155) | type requestStats struct function handleStats (line 190) | func handleStats(ctx context.Context, egress, reads, writes int64) conte... function getStats (line 201) | func getStats(ctx context.Context) *requestStats { FILE: core/thread_interceptor.go method threadInterceptor (line 22) | func (t *Textile) threadInterceptor() grpc.UnaryServerInterceptor { method checkThreadOwner (line 161) | func (t *Textile) checkThreadOwner( function getThreadIDFromRequest (line 200) | func getThreadIDFromRequest(method string, req interface{}) (thread.ID, ... FILE: core/thread_interceptor_test.go function TestMain (line 31) | func TestMain(m *testing.M) { function Test_ThreadsDB (line 41) | func Test_ThreadsDB(t *testing.T) { function TestClient_ThreadsNet (line 85) | func TestClient_ThreadsNet(t *testing.T) { function setup (line 148) | func setup(t *testing.T, conf *core.Config) (core.Config, *hc.Client, *t... function setupWithConf (line 156) | func setupWithConf(t *testing.T, conf core.Config) (core.Config, *hc.Cli... type Comment (line 176) | type Comment struct type Dog (line 180) | type Dog struct FILE: core/usage_interceptor.go type preFunc (line 26) | type preFunc type postFunc (line 27) | type postFunc function unaryServerInterceptor (line 29) | func unaryServerInterceptor(pre preFunc, post postFunc) grpc.UnaryServer... function streamServerInterceptor (line 55) | func streamServerInterceptor(pre preFunc, post postFunc) grpc.StreamServ... method preUsageFunc (line 79) | func (t *Textile) preUsageFunc(ctx context.Context, method string) (cont... function usageExhausted (line 221) | func usageExhausted(cus *pb.GetCustomerResponse, key string, now time.Ti... method postUsageFunc (line 232) | func (t *Textile) postUsageFunc(ctx context.Context, method string) error { method getAccountCtxEmail (line 292) | func (t *Textile) getAccountCtxEmail(ctx context.Context, account *mdb.A... FILE: dns/dns.go constant IPFSGateway (line 15) | IPFSGateway = "cloudflare-ipfs.com" type Manager (line 18) | type Manager struct method NewCNAME (line 47) | func (m *Manager) NewCNAME(name string, target string) (*cf.DNSRecord,... method NewTXT (line 62) | func (m *Manager) NewTXT(name string, content string) (*cf.DNSRecord, ... method NewDNSLink (line 76) | func (m *Manager) NewDNSLink(subdomain string, hash string) ([]*cf.DNS... method UpdateRecord (line 96) | func (m *Manager) UpdateRecord(id, rtype, name, content string) error { method DeleteRecord (line 109) | func (m *Manager) DeleteRecord(id string) error { function NewManager (line 26) | func NewManager(domain string, zoneID string, token string, debug bool) ... function CreateDNSLinkName (line 118) | func CreateDNSLinkName(subdomain string) string { function CreateDNSLinkContent (line 123) | func CreateDNSLinkContent(hash string) string { FILE: email/email.go type Client (line 14) | type Client struct method ConfirmAddress (line 48) | func (c *Client) ConfirmAddress(ctx context.Context, id, username, ema... method InviteAddress (line 73) | func (c *Client) InviteAddress(ctx context.Context, id, org, from, to,... type Config (line 20) | type Config struct function NewClient (line 27) | func NewClient(conf Config) (*Client, error) { FILE: gateway/buckets.go type fileSystem (line 26) | type fileSystem struct method Exists (line 30) | func (f *fileSystem) Exists(prefix, path string) bool { method renderBucket (line 39) | func (g *Gateway) renderBucket(c *gin.Context, ctx context.Context, thre... method renderBucketPath (line 74) | func (g *Gateway) renderBucketPath(c *gin.Context, ctx context.Context, ... type serveBucketFS (line 135) | type serveBucketFS interface type bucketFS (line 142) | type bucketFS struct method GetThread (line 194) | func (f *bucketFS) GetThread(ctx context.Context, bkey string) (id thr... method Exists (line 202) | func (f *bucketFS) Exists(ctx context.Context, key, pth string) (ok bo... method GetPathWithContentType (line 222) | func (f *bucketFS) GetPathWithContentType(ctx context.Context, key, pt... method ValidHost (line 231) | func (f *bucketFS) ValidHost() string { function serveBucket (line 149) | func serveBucket(fs serveBucketFS) gin.HandlerFunc { method renderWWWBucket (line 236) | func (g *Gateway) renderWWWBucket(c *gin.Context, key string) { function getContentTypeFromPullPath (line 275) | func getContentTypeFromPullPath(ctx context.Context, client *bucketsclie... function bucketFromHost (line 292) | func bucketFromHost(host, valid string) (key string, err error) { FILE: gateway/gateway.go constant handlerTimeout (line 41) | handlerTimeout = time.Minute function init (line 43) | func init() { type link (line 48) | type link struct type Gateway (line 56) | type Gateway struct method Start (line 146) | func (g *Gateway) Start() { method Addr (line 228) | func (g *Gateway) Addr() string { method Stop (line 233) | func (g *Gateway) Stop() error { method subdomainOptionHandler (line 249) | func (g *Gateway) subdomainOptionHandler(c *gin.Context) { method dashboardHandler (line 266) | func (g *Gateway) dashboardHandler(c *gin.Context) { method confirmEmail (line 271) | func (g *Gateway) confirmEmail(c *gin.Context) { method consentInvite (line 281) | func (g *Gateway) consentInvite(c *gin.Context) { method subdomainHandler (line 364) | func (g *Gateway) subdomainHandler(c *gin.Context) { method toSubdomainURL (line 445) | func (g *Gateway) toSubdomainURL(r *http.Request) (redirURL string, ok... type Config (line 78) | type Config struct function NewGateway (line 95) | func NewGateway(conf Config) (*Gateway, error) { function loadTemplate (line 209) | func loadTemplate() (*template.Template, error) { function render404 (line 344) | func render404(c *gin.Context) { function renderError (line 349) | func renderError(c *gin.Context, code int, err error) { function formatError (line 357) | func formatError(err error) string { function isSubdomainNamespace (line 424) | func isSubdomainNamespace(ns string) bool { function isPeerIDNamespace (line 434) | func isPeerIDNamespace(ns string) bool { function throttle (line 520) | func throttle(maxEventsPerSec int, maxBurstSize int) gin.HandlerFunc { FILE: gateway/ipfs.go method ipfsHandler (line 22) | func (g *Gateway) ipfsHandler(c *gin.Context) { method renderIPFSPath (line 28) | func (g *Gateway) renderIPFSPath(c *gin.Context, base, pth string) { function detectReaderContentType (line 105) | func detectReaderContentType(r io.Reader, pth string) (string, io.Reader... method openPath (line 133) | func (g *Gateway) openPath(ctx context.Context, pth path.Path) (io.ReadC... method ipnsHandler (line 150) | func (g *Gateway) ipnsHandler(c *gin.Context) { method renderIPNSKey (line 154) | func (g *Gateway) renderIPNSKey(c *gin.Context, key, pth string) { method p2pHandler (line 166) | func (g *Gateway) p2pHandler(c *gin.Context) { method renderP2PKey (line 170) | func (g *Gateway) renderP2PKey(c *gin.Context, key string) { method ipldHandler (line 186) | func (g *Gateway) ipldHandler(c *gin.Context) { method renderIPLDPath (line 191) | func (g *Gateway) renderIPLDPath(c *gin.Context, pth string) { FILE: gateway/threads.go method collectionHandler (line 17) | func (g *Gateway) collectionHandler(c *gin.Context) { method renderCollection (line 27) | func (g *Gateway) renderCollection(c *gin.Context, threadID thread.ID, c... method instanceHandler (line 52) | func (g *Gateway) instanceHandler(c *gin.Context) { method renderInstance (line 64) | func (g *Gateway) renderInstance(c *gin.Context, threadID thread.ID, col... FILE: integrationtest/pg/pg_test.go function TestMain (line 37) | func TestMain(m *testing.M) { function TestCreateBucket (line 43) | func TestCreateBucket(t *testing.T) { function TestArchiveTracker (line 62) | func TestArchiveTracker(t *testing.T) { function TestArchiveBucketWorkflow (line 108) | func TestArchiveBucketWorkflow(t *testing.T) { function TestArchivesLs (line 173) | func TestArchivesLs(t *testing.T) { function TestArchivesImport (line 240) | func TestArchivesImport(t *testing.T) { function TestArchiveUnfreeze (line 286) | func TestArchiveUnfreeze(t *testing.T) { function TestArchiveWatch (line 403) | func TestArchiveWatch(t *testing.T) { function TestFailingArchive (line 437) | func TestFailingArchive(t *testing.T) { function archiveFinalState (line 461) | func archiveFinalState(ctx context.Context, t util.TestingTWithCleanup, ... function addDataFileToBucket (line 489) | func addDataFileToBucket(ctx context.Context, t util.TestingTWithCleanup... function setup (line 503) | func setup(t util.TestingTWithCleanup) (context.Context, core.Config, *h... function createInfra (line 510) | func createInfra(t util.TestingTWithCleanup) (*hc.Client, *uc.Client, *t... function createAccount (line 539) | func createAccount(t util.TestingTWithCleanup, hubclient *hc.Client, thr... function reSetup (line 550) | func reSetup(t util.TestingTWithCleanup, conf core.Config, repo string) ... FILE: integrationtest/pg/pow_client_test.go function TestPowClient (line 19) | func TestPowClient(t *testing.T) { function setupPowClient (line 53) | func setupPowClient(t util.TestingTWithCleanup) (context.Context, core.C... FILE: integrationtest/pg/powergate.go function StartPowergate (line 23) | func StartPowergate(t util.TestingTWithCleanup) (*pc.Client, *httpapi.Ht... FILE: ipns/ipns.go constant nameLen (line 27) | nameLen = 16 constant publishTimeout (line 29) | publishTimeout = time.Minute * 2 constant maxCancelPublishTries (line 31) | maxCancelPublishTries = 10 constant listKeysTimeout (line 33) | listKeysTimeout = time.Hour type Manager (line 37) | type Manager struct method StartRepublishing (line 77) | func (m *Manager) StartRepublishing(schedule string) error { method CreateKey (line 91) | func (m *Manager) CreateKey(ctx context.Context, dbID thread.ID, path ... method RemoveKey (line 107) | func (m *Manager) RemoveKey(ctx context.Context, keyID string) error { method Publish (line 121) | func (m *Manager) Publish(pth path.Path, keyID string) { method Close (line 138) | func (m *Manager) Close() { method cancel (line 147) | func (m *Manager) cancel() { method publish (line 157) | func (m *Manager) publish(pth path.Path, keyID string) { method publishUnsafe (line 200) | func (m *Manager) publishUnsafe(ctx context.Context, pth path.Path, ke... method getSemaphore (line 213) | func (m *Manager) getSemaphore(key string) chan struct{} { method republish (line 225) | func (m *Manager) republish() error { function NewManager (line 51) | func NewManager( FILE: mail/local/mail.go function DefaultConfConfig (line 33) | func DefaultConfConfig() cmd.ConfConfig { type Mail (line 43) | type Mail struct method Clients (line 54) | func (m *Mail) Clients() *cmd.Clients { method NewConfigFromCmd (line 76) | func (m *Mail) NewConfigFromCmd(c *cobra.Command, pth string) (conf Co... method NewMailbox (line 99) | func (m *Mail) NewMailbox(ctx context.Context, conf Config) (box *Mail... method GetLocalMailbox (line 161) | func (m *Mail) GetLocalMailbox(_ context.Context, pth string) (*Mailbo... function NewMail (line 49) | func NewMail(clients *cmd.Clients, config cmd.ConfConfig) *Mail { type Config (line 59) | type Config struct FILE: mail/local/mail_test.go function TestMain (line 24) | func TestMain(m *testing.M) { function TestMail_NewMailbox (line 34) | func TestMail_NewMailbox(t *testing.T) { function TestBuckets_NewConfigFromCmd (line 49) | func TestBuckets_NewConfigFromCmd(t *testing.T) { function initCmd (line 133) | func initCmd( function setup (line 169) | func setup(t *testing.T) (m *Mail, key string, secret string) { function getConf (line 188) | func getConf(t *testing.T, key, secret string) Config { function createIdentity (line 197) | func createIdentity(t *testing.T) thread.Identity { function newDir (line 205) | func newDir(t *testing.T) string { FILE: mail/local/mailbox.go type Mailbox (line 19) | type Mailbox struct method Identity (line 28) | func (m *Mailbox) Identity() thread.Identity { method SendMessage (line 33) | func (m *Mailbox) SendMessage(ctx context.Context, to thread.PubKey, b... method ListInboxMessages (line 44) | func (m *Mailbox) ListInboxMessages(ctx context.Context, opts ...clien... method ListSentboxMessages (line 54) | func (m *Mailbox) ListSentboxMessages(ctx context.Context, opts ...cli... method WatchInbox (line 90) | func (m *Mailbox) WatchInbox(ctx context.Context, mevents chan<- Mailb... method WatchSentbox (line 111) | func (m *Mailbox) WatchSentbox(ctx context.Context, mevents chan<- Mai... method listenWhileConnected (line 129) | func (m *Mailbox) listenWhileConnected(ctx context.Context, boxID thre... method ReadInboxMessage (line 194) | func (m *Mailbox) ReadInboxMessage(ctx context.Context, id string) err... method DeleteInboxMessage (line 203) | func (m *Mailbox) DeleteInboxMessage(ctx context.Context, id string) e... method DeleteSentboxMessage (line 212) | func (m *Mailbox) DeleteSentboxMessage(ctx context.Context, id string)... method loadIdentity (line 221) | func (m *Mailbox) loadIdentity() error { method context (line 237) | func (m *Mailbox) context(ctx context.Context) (context.Context, error) { constant reconnectInterval (line 62) | reconnectInterval = time.Second * 5 type MailboxEvent (line 65) | type MailboxEvent struct type MailboxEventType (line 75) | type MailboxEventType constant NewMessage (line 79) | NewMessage MailboxEventType = iota constant MessageRead (line 81) | MessageRead constant MessageDeleted (line 83) | MessageDeleted FILE: mail/local/mailbox_test.go function TestMailbox_Identity (line 16) | func TestMailbox_Identity(t *testing.T) { function TestMailbox_SendMessage (line 25) | func TestMailbox_SendMessage(t *testing.T) { function TestMailbox_Watch (line 59) | func TestMailbox_Watch(t *testing.T) { type eventCollector (line 120) | type eventCollector struct method collect (line 127) | func (c *eventCollector) collect(events chan MailboxEvent) { method check (line 142) | func (c *eventCollector) check(t *testing.T, numNew, numRead, numDelet... FILE: mail/mail.go constant ThreadName (line 5) | ThreadName = "hubmail" constant InboxCollectionName (line 8) | InboxCollectionName = "inbox" constant SentboxCollectionName (line 11) | SentboxCollectionName = "sentbox" FILE: mongodb/accounts.go function init (line 28) | func init() { type Account (line 32) | type Account struct type AccountType (line 45) | type AccountType constant Dev (line 48) | Dev AccountType = iota constant Org (line 49) | Org constant User (line 50) | User type Member (line 53) | type Member struct type Role (line 59) | type Role method String (line 66) | func (r Role) String() (s string) { constant OrgOwner (line 62) | OrgOwner Role = iota constant OrgMember (line 63) | OrgMember type AccountCtx (line 76) | type AccountCtx struct method Owner (line 103) | func (ac *AccountCtx) Owner() *Account { function NewAccountContext (line 81) | func NewAccountContext(ctx context.Context, user, org *Account) context.... function AccountCtxForAccount (line 88) | func AccountCtxForAccount(account *Account) *AccountCtx { function AccountFromContext (line 98) | func AccountFromContext(ctx context.Context) (*AccountCtx, bool) { type Accounts (line 110) | type Accounts struct method CreateDev (line 137) | func (a *Accounts) CreateDev(ctx context.Context, username, email stri... method CreateOrg (line 177) | func (a *Accounts) CreateOrg(ctx context.Context, name string, members... method CreateUser (line 242) | func (a *Accounts) CreateUser(ctx context.Context, key thread.PubKey, ... method Get (line 265) | func (a *Accounts) Get(ctx context.Context, key thread.PubKey) (*Accou... method GetByUsername (line 281) | func (a *Accounts) GetByUsername(ctx context.Context, username string)... method GetByUsernameOrEmail (line 293) | func (a *Accounts) GetByUsernameOrEmail(ctx context.Context, usernameO... method ValidateUsername (line 314) | func (a *Accounts) ValidateUsername(username string) error { method IsUsernameAvailable (line 321) | func (a *Accounts) IsUsernameAvailable(ctx context.Context, username s... method IsNameAvailable (line 335) | func (a *Accounts) IsNameAvailable(ctx context.Context, name string) (... method SetToken (line 348) | func (a *Accounts) SetToken(ctx context.Context, key thread.PubKey, to... method UpdatePowInfo (line 363) | func (a *Accounts) UpdatePowInfo(ctx context.Context, key thread.PubKe... method ListByMember (line 384) | func (a *Accounts) ListByMember(ctx context.Context, member thread.Pub... method ListByOwner (line 413) | func (a *Accounts) ListByOwner(ctx context.Context, owner thread.PubKe... method ListMembers (line 442) | func (a *Accounts) ListMembers(ctx context.Context, members []Member) ... method IsOwner (line 474) | func (a *Accounts) IsOwner(ctx context.Context, username string, membe... method IsMember (line 491) | func (a *Accounts) IsMember(ctx context.Context, username string, memb... method AddMember (line 508) | func (a *Accounts) AddMember(ctx context.Context, username string, mem... method RemoveMember (line 525) | func (a *Accounts) RemoveMember(ctx context.Context, username string, ... method Delete (line 579) | func (a *Accounts) Delete(ctx context.Context, key thread.PubKey) error { function NewAccounts (line 114) | func NewAccounts(ctx context.Context, db *mongo.Database) (*Accounts, er... function decodeAccount (line 594) | func decodeAccount(raw bson.M) (*Account, error) { FILE: mongodb/accounts_test.go function TestAccounts_CreateDev (line 15) | func TestAccounts_CreateDev(t *testing.T) { function TestAccounts_CreateOrg (line 45) | func TestAccounts_CreateOrg(t *testing.T) { function TestAccounts_CreateUser (line 79) | func TestAccounts_CreateUser(t *testing.T) { function TestAccounts_Get (line 99) | func TestAccounts_Get(t *testing.T) { function TestAccounts_GetByUsernameOrEmail (line 114) | func TestAccounts_GetByUsernameOrEmail(t *testing.T) { function TestAccounts_ValidateUsername (line 134) | func TestAccounts_ValidateUsername(t *testing.T) { function TestAccounts_GetByUsername (line 161) | func TestAccounts_GetByUsername(t *testing.T) { function TestAccounts_IsUsernameAvailable (line 180) | func TestAccounts_IsUsernameAvailable(t *testing.T) { function TestAccounts_IsNameAvailable (line 195) | func TestAccounts_IsNameAvailable(t *testing.T) { function TestAccounts_SetToken (line 218) | func TestAccounts_SetToken(t *testing.T) { function TestAccounts_UpdatePowInfo (line 238) | func TestAccounts_UpdatePowInfo(t *testing.T) { function TestAccounts_ListByMember (line 259) | func TestAccounts_ListByMember(t *testing.T) { function TestAccounts_ListByOwner (line 279) | func TestAccounts_ListByOwner(t *testing.T) { function TestAccounts_ListMembers (line 311) | func TestAccounts_ListMembers(t *testing.T) { function TestAccounts_IsOwner (line 328) | func TestAccounts_IsOwner(t *testing.T) { function TestAccounts_IsMember (line 359) | func TestAccounts_IsMember(t *testing.T) { function TestAccounts_AddMember (line 392) | func TestAccounts_AddMember(t *testing.T) { function TestAccounts_RemoveMember (line 426) | func TestAccounts_RemoveMember(t *testing.T) { function TestAccounts_Delete (line 459) | func TestAccounts_Delete(t *testing.T) { FILE: mongodb/apikeys.go constant keyLen (line 15) | keyLen = 16 constant secretLen (line 16) | secretLen = 24 type APIKeyType (line 19) | type APIKeyType constant AccountKey (line 22) | AccountKey APIKeyType = iota constant UserKey (line 23) | UserKey type APIKey (line 26) | type APIKey struct function NewAPIKeyContext (line 36) | func NewAPIKeyContext(ctx context.Context, key *APIKey) context.Context { function APIKeyFromContext (line 40) | func APIKeyFromContext(ctx context.Context) (*APIKey, bool) { type APIKeys (line 45) | type APIKeys struct method Create (line 59) | func (k *APIKeys) Create(ctx context.Context, owner thread.PubKey, key... method Get (line 87) | func (k *APIKeys) Get(ctx context.Context, key string) (*APIKey, error) { method ListByOwner (line 99) | func (k *APIKeys) ListByOwner(ctx context.Context, owner thread.PubKey... method Invalidate (line 127) | func (k *APIKeys) Invalidate(ctx context.Context, key string) error { method DeleteByOwner (line 138) | func (k *APIKeys) DeleteByOwner(ctx context.Context, owner thread.PubK... function NewAPIKeys (line 49) | func NewAPIKeys(ctx context.Context, db *mongo.Database) (*APIKeys, erro... function decodeAPIKey (line 147) | func decodeAPIKey(raw bson.M) (*APIKey, error) { FILE: mongodb/apikeys_test.go function TestAPIKeys_Create (line 15) | func TestAPIKeys_Create(t *testing.T) { function TestAPIKeys_Get (line 29) | func TestAPIKeys_Get(t *testing.T) { function TestAPIKeys_ListByOwner (line 44) | func TestAPIKeys_ListByOwner(t *testing.T) { function TestAPIKeys_Invalidate (line 67) | func TestAPIKeys_Invalidate(t *testing.T) { function TestAPIKeys_DeleteByOwner (line 84) | func TestAPIKeys_DeleteByOwner(t *testing.T) { FILE: mongodb/archivetracking.go type TrackedJob (line 16) | type TrackedJob struct type trackedJob (line 37) | type trackedJob struct type ArchiveTracking (line 56) | type ArchiveTracking struct method CreateArchive (line 67) | func (at *ArchiveTracking) CreateArchive(ctx context.Context, dbID thr... method CreateRetrieval (line 91) | func (at *ArchiveTracking) CreateRetrieval(ctx context.Context, accKey... method GetReadyToCheck (line 108) | func (at *ArchiveTracking) GetReadyToCheck(ctx context.Context, n int6... method Get (line 131) | func (at *ArchiveTracking) Get(ctx context.Context, jid string) (*Trac... method Finalize (line 144) | func (at *ArchiveTracking) Finalize(ctx context.Context, jid string, c... method Reschedule (line 160) | func (at *ArchiveTracking) Reschedule(ctx context.Context, jid string,... function NewArchiveTracking (line 60) | func NewArchiveTracking(_ context.Context, db *mongo.Database) (*Archive... function cast (line 177) | func cast(ta *trackedJob) (*TrackedJob, error) { function castSlice (line 210) | func castSlice(tas []*trackedJob) ([]*TrackedJob, error) { FILE: mongodb/archivetracking_test.go function TestArchiveTracking_Create (line 16) | func TestArchiveTracking_Create(t *testing.T) { function TestArchiveTracking_Get (line 33) | func TestArchiveTracking_Get(t *testing.T) { function TestArchiveTracking_GetReadyToCheck (line 61) | func TestArchiveTracking_GetReadyToCheck(t *testing.T) { function TestArchiveTracking_Finalize (line 94) | func TestArchiveTracking_Finalize(t *testing.T) { function TestArchiveTracking_Reschedule (line 123) | func TestArchiveTracking_Reschedule(t *testing.T) { FILE: mongodb/bucketarchives.go type BucketArchive (line 10) | type BucketArchive struct type Archives (line 16) | type Archives struct type Archive (line 21) | type Archive struct type DealInfo (line 32) | type DealInfo struct type ArchiveConfig (line 51) | type ArchiveConfig struct type ArchiveRenew (line 85) | type ArchiveRenew struct type BucketArchives (line 93) | type BucketArchives struct method Create (line 102) | func (k *BucketArchives) Create(ctx context.Context, bucketKey string)... method Replace (line 110) | func (k *BucketArchives) Replace(ctx context.Context, ba *BucketArchiv... method GetOrCreate (line 121) | func (k *BucketArchives) GetOrCreate(ctx context.Context, bucketKey st... function NewBucketArchives (line 97) | func NewBucketArchives(_ context.Context, db *mongo.Database) (*BucketAr... FILE: mongodb/bucketarchives_test.go function TestBucketArchives_Create (line 13) | func TestBucketArchives_Create(t *testing.T) { function TestBucketArchives_Get (line 23) | func TestBucketArchives_Get(t *testing.T) { function TestBucketArchives_Replace (line 37) | func TestBucketArchives_Replace(t *testing.T) { FILE: mongodb/collections.go constant tokenLen (line 13) | tokenLen = 44 constant DuplicateErrMsg (line 15) | DuplicateErrMsg = "E11000 duplicate key error" type ctxKey (line 18) | type ctxKey type Collections (line 20) | type Collections struct method Close (line 83) | func (c *Collections) Close() error { function NewCollections (line 35) | func NewCollections(ctx context.Context, uri, database string, hub bool)... FILE: mongodb/collections_test.go function TestMain (line 15) | func TestMain(m *testing.M) { function newDB (line 25) | func newDB(t *testing.T) *mongo.Database { FILE: mongodb/common.go type PowInfo (line 8) | type PowInfo struct constant key (line 14) | key = "pow_info" constant idKey (line 15) | idKey = "id" constant tokenKey (line 16) | tokenKey = "token" function encodePowInfo (line 19) | func encodePowInfo(data bson.M, powInfo *PowInfo) { function decodePowInfo (line 28) | func decodePowInfo(raw primitive.M) *PowInfo { FILE: mongodb/invites.go constant inviteDur (line 15) | inviteDur = time.Hour * 24 * 7 * 30 type Invite (line 18) | type Invite struct type Invites (line 27) | type Invites struct method Create (line 47) | func (i *Invites) Create(ctx context.Context, from thread.PubKey, org,... method Get (line 73) | func (i *Invites) Get(ctx context.Context, token string) (*Invite, err... method ListByEmail (line 85) | func (i *Invites) ListByEmail(ctx context.Context, email string) ([]In... method Accept (line 109) | func (i *Invites) Accept(ctx context.Context, token string) error { method Delete (line 120) | func (i *Invites) Delete(ctx context.Context, token string) error { method DeleteByFrom (line 131) | func (i *Invites) DeleteByFrom(ctx context.Context, from thread.PubKey... method DeleteByOrg (line 140) | func (i *Invites) DeleteByOrg(ctx context.Context, org string) error { method DeleteByFromAndOrg (line 145) | func (i *Invites) DeleteByFromAndOrg(ctx context.Context, from thread.... function NewInvites (line 31) | func NewInvites(ctx context.Context, db *mongo.Database) (*Invites, erro... function decodeInvite (line 154) | func decodeInvite(raw bson.M) (*Invite, error) { FILE: mongodb/invites_test.go function TestInvites_Create (line 16) | func TestInvites_Create(t *testing.T) { function TestInvites_Get (line 28) | func TestInvites_Get(t *testing.T) { function TestInvites_ListByEmail (line 43) | func TestInvites_ListByEmail(t *testing.T) { function TestInvites_Accept (line 63) | func TestInvites_Accept(t *testing.T) { function TestInvites_Delete (line 81) | func TestInvites_Delete(t *testing.T) { function TestInvites_DeleteByFrom (line 97) | func TestInvites_DeleteByFrom(t *testing.T) { function TestInvites_DeleteByOrg (line 113) | func TestInvites_DeleteByOrg(t *testing.T) { function TestInvites_DeleteByFromAndOrg (line 129) | func TestInvites_DeleteByFromAndOrg(t *testing.T) { FILE: mongodb/ipnskeys.go type IPNSKey (line 13) | type IPNSKey struct type IPNSKeys (line 21) | type IPNSKeys struct method Create (line 38) | func (k *IPNSKeys) Create(ctx context.Context, name, cid string, threa... method Get (line 49) | func (k *IPNSKeys) Get(ctx context.Context, name string) (*IPNSKey, er... method GetByCid (line 61) | func (k *IPNSKeys) GetByCid(ctx context.Context, cid string) (*IPNSKey... method ListByThreadID (line 73) | func (k *IPNSKeys) ListByThreadID(ctx context.Context, threadID thread... method List (line 97) | func (k *IPNSKeys) List(ctx context.Context) ([]IPNSKey, error) { method SetPath (line 122) | func (k *IPNSKeys) SetPath(ctx context.Context, pth string, name strin... method Delete (line 137) | func (k *IPNSKeys) Delete(ctx context.Context, name string) error { function NewIPNSKeys (line 25) | func NewIPNSKeys(ctx context.Context, db *mongo.Database) (*IPNSKeys, er... function decodeIPNSKey (line 148) | func decodeIPNSKey(raw bson.M) (*IPNSKey, error) { FILE: mongodb/ipnskeys_test.go function TestIPNSKeys_Create (line 13) | func TestIPNSKeys_Create(t *testing.T) { function TestIPNSKeys_Get (line 22) | func TestIPNSKeys_Get(t *testing.T) { function TestIPNSKeys_GetByCid (line 38) | func TestIPNSKeys_GetByCid(t *testing.T) { function TestIPNSKeys_SetPath (line 54) | func TestIPNSKeys_SetPath(t *testing.T) { function TestIPNSKeys_ListByThreadID (line 77) | func TestIPNSKeys_ListByThreadID(t *testing.T) { function TestIPNSKeys_Delete (line 97) | func TestIPNSKeys_Delete(t *testing.T) { FILE: mongodb/migrations/migrations.go function Migrate (line 233) | func Migrate(db *mongo.Database) error { FILE: mongodb/migrations/migrations_test.go function TestMain (line 18) | func TestMain(m *testing.M) { function TestMigrations_m001 (line 29) | func TestMigrations_m001(t *testing.T) { function TestMigrations_m002 (line 74) | func TestMigrations_m002(t *testing.T) { function TestMigrations_m003 (line 119) | func TestMigrations_m003(t *testing.T) { function TestMigrations_m004 (line 153) | func TestMigrations_m004(t *testing.T) { function TestMigrations_m005 (line 186) | func TestMigrations_m005(t *testing.T) { function setup (line 356) | func setup(t *testing.T, ctx context.Context) *mongo.Database { FILE: mongodb/sessions.go constant sessionDur (line 15) | sessionDur = time.Hour * 24 * 7 * 30 * 6 type Session (line 18) | type Session struct function NewSessionContext (line 24) | func NewSessionContext(ctx context.Context, session *Session) context.Co... function SessionFromContext (line 28) | func SessionFromContext(ctx context.Context) (*Session, bool) { type Sessions (line 33) | type Sessions struct method Create (line 47) | func (s *Sessions) Create(ctx context.Context, owner thread.PubKey) (*... method Get (line 67) | func (s *Sessions) Get(ctx context.Context, id string) (*Session, erro... method Touch (line 79) | func (s *Sessions) Touch(ctx context.Context, id string) error { method Delete (line 91) | func (s *Sessions) Delete(ctx context.Context, id string) error { method DeleteByOwner (line 102) | func (s *Sessions) DeleteByOwner(ctx context.Context, owner thread.Pub... function NewSessions (line 37) | func NewSessions(ctx context.Context, db *mongo.Database) (*Sessions, er... function decodeSession (line 111) | func decodeSession(raw bson.M) (*Session, error) { FILE: mongodb/sessions_test.go function TestSessions_Create (line 16) | func TestSessions_Create(t *testing.T) { function TestSessions_Get (line 28) | func TestSessions_Get(t *testing.T) { function TestSessions_Touch (line 43) | func TestSessions_Touch(t *testing.T) { function TestSessions_Delete (line 61) | func TestSessions_Delete(t *testing.T) { function TestSessions_DeleteByOwner (line 77) | func TestSessions_DeleteByOwner(t *testing.T) { FILE: mongodb/threads.go function init (line 23) | func init() { type Thread (line 27) | type Thread struct type Threads (line 36) | type Threads struct method Create (line 59) | func (t *Threads) Create(ctx context.Context, id thread.ID, owner thre... method Get (line 92) | func (t *Threads) Get(ctx context.Context, id thread.ID, owner thread.... method GetByName (line 108) | func (t *Threads) GetByName(ctx context.Context, name string, owner th... method ListByOwner (line 124) | func (t *Threads) ListByOwner(ctx context.Context, owner thread.PubKey... method ListByKey (line 152) | func (t *Threads) ListByKey(ctx context.Context, key string) ([]Thread... method Delete (line 176) | func (t *Threads) Delete(ctx context.Context, id thread.ID, owner thre... method DeleteByOwner (line 191) | func (t *Threads) DeleteByOwner(ctx context.Context, owner thread.PubK... function NewThreads (line 40) | func NewThreads(ctx context.Context, db *mongo.Database) (*Threads, erro... function decodeThread (line 200) | func decodeThread(raw bson.M) (*Thread, error) { FILE: mongodb/threads_test.go function TestThreads_Create (line 17) | func TestThreads_Create(t *testing.T) { function TestThreads_Get (line 40) | func TestThreads_Get(t *testing.T) { function TestThreads_GetByName (line 58) | func TestThreads_GetByName(t *testing.T) { function TestThreads_ListByOwner (line 75) | func TestThreads_ListByOwner(t *testing.T) { function TestThreads_ListByKey (line 99) | func TestThreads_ListByKey(t *testing.T) { function TestThreads_Delete (line 126) | func TestThreads_Delete(t *testing.T) { function TestThreads_DeleteByOwner (line 143) | func TestThreads_DeleteByOwner(t *testing.T) { FILE: threaddb/buckets.go constant Version (line 25) | Version = 1 type Bucket (line 36) | type Bucket struct method IsPrivate (line 99) | func (b *Bucket) IsPrivate() bool { method GetLinkEncryptionKey (line 106) | func (b *Bucket) GetLinkEncryptionKey() []byte { method GetFileEncryptionKeyForPath (line 113) | func (b *Bucket) GetFileEncryptionKeyForPath(pth string) ([]byte, erro... method GetFileEncryptionKeysForPrefix (line 134) | func (b *Bucket) GetFileEncryptionKeysForPrefix(pre string) (map[strin... method RotateFileEncryptionKeysForPrefix (line 153) | func (b *Bucket) RotateFileEncryptionKeysForPrefix(pre string) error { method GetMetadataForPath (line 176) | func (b *Bucket) GetMetadataForPath(pth string, requireKey bool) (md M... method SetMetadataAtPath (line 209) | func (b *Bucket) SetMetadataAtPath(pth string, md Metadata) { method UnsetMetadataWithPrefix (line 233) | func (b *Bucket) UnsetMetadataWithPrefix(pre string) { method ensureNoNulls (line 246) | func (b *Bucket) ensureNoNulls() { method Copy (line 259) | func (b *Bucket) Copy() *Bucket { type Metadata (line 50) | type Metadata struct method SetFileEncryptionKey (line 74) | func (m *Metadata) SetFileEncryptionKey(key []byte) { function NewDefaultMetadata (line 57) | func NewDefaultMetadata(owner thread.PubKey, key []byte, ts time.Time) M... type Archives (line 81) | type Archives struct type Archive (line 87) | type Archive struct type Deal (line 93) | type Deal struct function keyBytes (line 125) | func keyBytes(k string) []byte { function copyArchives (line 285) | func copyArchives(archive Archive) Archive { type BucketOptions (line 297) | type BucketOptions struct type BucketOption (line 304) | type BucketOption function WithNewBucketName (line 308) | func WithNewBucketName(n string) BucketOption { function WithNewBucketKey (line 315) | func WithNewBucketKey(k []byte) BucketOption { function WithNewBucketToken (line 322) | func WithNewBucketToken(t thread.Token) BucketOption { function init (line 328) | func init() { type Buckets (line 471) | type Buckets struct method New (line 499) | func (b *Buckets) New( method GetSafe (line 555) | func (b *Buckets) GetSafe(ctx context.Context, dbID thread.ID, key str... method IsArchivingEnabled (line 564) | func (b *Buckets) IsArchivingEnabled() bool { method ArchiveStatus (line 570) | func (b *Buckets) ArchiveStatus(ctx context.Context, key string) (user... method ArchiveWatch (line 595) | func (b *Buckets) ArchiveWatch(ctx context.Context, key string, powTok... method Close (line 635) | func (b *Buckets) Close() error { function NewBuckets (line 483) | func NewBuckets(tc *dbc.Client, pgc *powc.Client, col *mdb.BucketArchive... FILE: threaddb/mail.go type InboxMessage (line 44) | type InboxMessage struct type SentboxMessage (line 55) | type SentboxMessage struct function init (line 64) | func init() { type Mail (line 81) | type Mail struct method NewMailbox (line 103) | func (m *Mail) NewMailbox(ctx context.Context, opts ...Option) (thread... function NewMail (line 88) | func NewMail(tc *dbc.Client) (*Mail, error) { FILE: threaddb/threaddb.go type Collection (line 14) | type Collection struct method Create (line 35) | func (c *Collection) Create(ctx context.Context, dbID thread.ID, insta... method Get (line 61) | func (c *Collection) Get(ctx context.Context, dbID thread.ID, key stri... method List (line 77) | func (c *Collection) List(ctx context.Context, dbID thread.ID, query *... method Save (line 97) | func (c *Collection) Save(ctx context.Context, dbID thread.ID, instanc... method Verify (line 113) | func (c *Collection) Verify(ctx context.Context, dbID thread.ID, insta... method Delete (line 129) | func (c *Collection) Delete(ctx context.Context, dbID thread.ID, id st... method WriteTxn (line 167) | func (c *Collection) WriteTxn(ctx context.Context, dbID thread.ID, opt... method addCollection (line 234) | func (c *Collection) addCollection(ctx context.Context, dbID thread.ID... method updateCollection (line 238) | func (c *Collection) updateCollection(ctx context.Context, dbID thread... type Options (line 20) | type Options struct type Option (line 25) | type Option function WithToken (line 28) | func WithToken(t thread.Token) Option { type WriteTxn (line 138) | type WriteTxn struct method Verify (line 190) | func (t *WriteTxn) Verify(ctx context.Context, instance interface{}) e... method Save (line 202) | func (t *WriteTxn) Save(ctx context.Context, instance interface{}) err... method Delete (line 214) | func (t *WriteTxn) Delete(_ context.Context, id string) error { method Discard (line 219) | func (t *WriteTxn) Discard() { method End (line 227) | func (t *WriteTxn) End(err error) error { function isColNotFoundErr (line 242) | func isColNotFoundErr(err error) bool { function isInvalidSchemaErr (line 249) | func isInvalidSchemaErr(err error) bool { FILE: util/ctxutil.go function NewClonedContext (line 10) | func NewClonedContext(ctx context.Context) context.Context { type valueOnlyContext (line 14) | type valueOnlyContext struct method Deadline (line 16) | func (valueOnlyContext) Deadline() (deadline time.Time, ok bool) { ret... method Done (line 17) | func (valueOnlyContext) Done() <-chan struct{} { ret... method Err (line 18) | func (valueOnlyContext) Err() error { ret... FILE: util/flakyt.go type TestingTWithCleanup (line 12) | type TestingTWithCleanup interface type FlakyT (line 19) | type FlakyT struct method Errorf (line 35) | func (ft *FlakyT) Errorf(format string, args ...interface{}) { method FailNow (line 40) | func (ft *FlakyT) FailNow() { method TempDir (line 48) | func (ft *FlakyT) TempDir() string { method Cleanup (line 53) | func (ft *FlakyT) Cleanup(cls func()) { function NewFlakyT (line 26) | func NewFlakyT(t *testing.T) *FlakyT { function RunFlaky (line 60) | func RunFlaky(t *testing.T, f func(ft *FlakyT)) { FILE: util/util.go function init (line 15) | func init() { function ToValidName (line 20) | func ToValidName(str string) (name string, ok bool) { function GenerateRandomBytes (line 29) | func GenerateRandomBytes(n int) []byte { function MakeToken (line 38) | func MakeToken(n int) string { function MustParseAddr (line 47) | func MustParseAddr(str string) ma.Multiaddr { function NewResolvedPath (line 55) | func NewResolvedPath(s string) (path.Resolved, error) { function ParsePath (line 67) | func ParsePath(p path.Path) (resolved path.Resolved, fpath string, err e... function ByteCountDecimal (line 83) | func ByteCountDecimal(b int64) string {