dbx

package
v0.34.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: AGPL-3.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WrapErr = func(err *Error) error { return err }
	Logger  func(format string, args ...interface{})
)

Functions

func DeleteAll

func DeleteAll(ctx context.Context, db *DB) (int64, error)

Types

type AccountingRollup

type AccountingRollup struct {
	Id             int64
	NodeId         []byte
	StartTime      time.Time
	PutTotal       int64
	GetTotal       int64
	GetAuditTotal  int64
	GetRepairTotal int64
	PutRepairTotal int64
	AtRestTotal    float64
}

type AccountingRollup_AtRestTotal_Field

type AccountingRollup_AtRestTotal_Field struct {
	// contains filtered or unexported fields
}

type AccountingRollup_GetAuditTotal_Field

type AccountingRollup_GetAuditTotal_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_GetAuditTotal

func AccountingRollup_GetAuditTotal(v int64) AccountingRollup_GetAuditTotal_Field

type AccountingRollup_GetRepairTotal_Field

type AccountingRollup_GetRepairTotal_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_GetRepairTotal

func AccountingRollup_GetRepairTotal(v int64) AccountingRollup_GetRepairTotal_Field

type AccountingRollup_GetTotal_Field

type AccountingRollup_GetTotal_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_GetTotal

func AccountingRollup_GetTotal(v int64) AccountingRollup_GetTotal_Field

type AccountingRollup_Id_Field

type AccountingRollup_Id_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_Id

func AccountingRollup_Id(v int64) AccountingRollup_Id_Field

type AccountingRollup_NodeId_Field

type AccountingRollup_NodeId_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_NodeId

func AccountingRollup_NodeId(v []byte) AccountingRollup_NodeId_Field

type AccountingRollup_PutRepairTotal_Field

type AccountingRollup_PutRepairTotal_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_PutRepairTotal

func AccountingRollup_PutRepairTotal(v int64) AccountingRollup_PutRepairTotal_Field

type AccountingRollup_PutTotal_Field

type AccountingRollup_PutTotal_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_PutTotal

func AccountingRollup_PutTotal(v int64) AccountingRollup_PutTotal_Field

type AccountingRollup_StartTime_Field

type AccountingRollup_StartTime_Field struct {
	// contains filtered or unexported fields
}

func AccountingRollup_StartTime

func AccountingRollup_StartTime(v time.Time) AccountingRollup_StartTime_Field

type AccountingRollup_Update_Fields

type AccountingRollup_Update_Fields struct {
}

type AccountingTimestamps

type AccountingTimestamps struct {
	Name  string
	Value time.Time
}

type AccountingTimestamps_Name_Field

type AccountingTimestamps_Name_Field struct {
	// contains filtered or unexported fields
}

func AccountingTimestamps_Name

func AccountingTimestamps_Name(v string) AccountingTimestamps_Name_Field

type AccountingTimestamps_Update_Fields

type AccountingTimestamps_Update_Fields struct {
	Value AccountingTimestamps_Value_Field
}

type AccountingTimestamps_Value_Field

type AccountingTimestamps_Value_Field struct {
	// contains filtered or unexported fields
}

func AccountingTimestamps_Value

func AccountingTimestamps_Value(v time.Time) AccountingTimestamps_Value_Field

type ApiKey

type ApiKey struct {
	Id        []byte
	ProjectId []byte
	Head      []byte
	Name      string
	Secret    []byte
	PartnerId []byte
	CreatedAt time.Time
}

type ApiKey_Create_Fields added in v0.15.0

type ApiKey_Create_Fields struct {
	PartnerId ApiKey_PartnerId_Field
}

type ApiKey_CreatedAt_Field

type ApiKey_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_CreatedAt

func ApiKey_CreatedAt(v time.Time) ApiKey_CreatedAt_Field

type ApiKey_Head_Field added in v0.12.0

type ApiKey_Head_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_Head added in v0.12.0

func ApiKey_Head(v []byte) ApiKey_Head_Field

type ApiKey_Id_Field

type ApiKey_Id_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_Id

func ApiKey_Id(v []byte) ApiKey_Id_Field

type ApiKey_Name_Field

type ApiKey_Name_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_Name

func ApiKey_Name(v string) ApiKey_Name_Field

type ApiKey_PartnerId_Field added in v0.15.0

type ApiKey_PartnerId_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_PartnerId added in v0.15.0

func ApiKey_PartnerId(v []byte) ApiKey_PartnerId_Field

func ApiKey_PartnerId_Null added in v0.15.0

func ApiKey_PartnerId_Null() ApiKey_PartnerId_Field

func ApiKey_PartnerId_Raw added in v0.15.0

func ApiKey_PartnerId_Raw(v []byte) ApiKey_PartnerId_Field

type ApiKey_ProjectId_Field

type ApiKey_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_ProjectId

func ApiKey_ProjectId(v []byte) ApiKey_ProjectId_Field

type ApiKey_Secret_Field added in v0.12.0

type ApiKey_Secret_Field struct {
	// contains filtered or unexported fields
}

func ApiKey_Secret added in v0.12.0

func ApiKey_Secret(v []byte) ApiKey_Secret_Field

type ApiKey_Update_Fields

type ApiKey_Update_Fields struct {
	Name ApiKey_Name_Field
}

type BucketBandwidthRollup

type BucketBandwidthRollup struct {
	BucketName      []byte
	ProjectId       []byte
	IntervalStart   time.Time
	IntervalSeconds uint
	Action          uint
	Inline          uint64
	Allocated       uint64
	Settled         uint64
}

type BucketBandwidthRollup_Action_Field

type BucketBandwidthRollup_Action_Field struct {
	// contains filtered or unexported fields
}

func BucketBandwidthRollup_Action

func BucketBandwidthRollup_Action(v uint) BucketBandwidthRollup_Action_Field

type BucketBandwidthRollup_Allocated_Field

type BucketBandwidthRollup_Allocated_Field struct {
	// contains filtered or unexported fields
}

type BucketBandwidthRollup_BucketName_Field

type BucketBandwidthRollup_BucketName_Field struct {
	// contains filtered or unexported fields
}

func BucketBandwidthRollup_BucketName

func BucketBandwidthRollup_BucketName(v []byte) BucketBandwidthRollup_BucketName_Field

type BucketBandwidthRollup_Inline_Field

type BucketBandwidthRollup_Inline_Field struct {
	// contains filtered or unexported fields
}

func BucketBandwidthRollup_Inline

func BucketBandwidthRollup_Inline(v uint64) BucketBandwidthRollup_Inline_Field

type BucketBandwidthRollup_IntervalSeconds_Field

type BucketBandwidthRollup_IntervalSeconds_Field struct {
	// contains filtered or unexported fields
}

type BucketBandwidthRollup_IntervalStart_Field

type BucketBandwidthRollup_IntervalStart_Field struct {
	// contains filtered or unexported fields
}

type BucketBandwidthRollup_ProjectId_Field

type BucketBandwidthRollup_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func BucketBandwidthRollup_ProjectId

func BucketBandwidthRollup_ProjectId(v []byte) BucketBandwidthRollup_ProjectId_Field

type BucketBandwidthRollup_Settled_Field

type BucketBandwidthRollup_Settled_Field struct {
	// contains filtered or unexported fields
}

func BucketBandwidthRollup_Settled

func BucketBandwidthRollup_Settled(v uint64) BucketBandwidthRollup_Settled_Field

type BucketMetainfo added in v0.15.0

type BucketMetainfo struct {
	Id                              []byte
	ProjectId                       []byte
	Name                            []byte
	PartnerId                       []byte
	PathCipher                      int
	CreatedAt                       time.Time
	DefaultSegmentSize              int
	DefaultEncryptionCipherSuite    int
	DefaultEncryptionBlockSize      int
	DefaultRedundancyAlgorithm      int
	DefaultRedundancyShareSize      int
	DefaultRedundancyRequiredShares int
	DefaultRedundancyRepairShares   int
	DefaultRedundancyOptimalShares  int
	DefaultRedundancyTotalShares    int
}

type BucketMetainfo_Create_Fields added in v0.15.0

type BucketMetainfo_Create_Fields struct {
	PartnerId BucketMetainfo_PartnerId_Field
}

type BucketMetainfo_CreatedAt_Field added in v0.15.0

type BucketMetainfo_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_CreatedAt added in v0.15.0

func BucketMetainfo_CreatedAt(v time.Time) BucketMetainfo_CreatedAt_Field

type BucketMetainfo_DefaultEncryptionBlockSize_Field added in v0.15.0

type BucketMetainfo_DefaultEncryptionBlockSize_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultEncryptionBlockSize added in v0.15.0

func BucketMetainfo_DefaultEncryptionBlockSize(v int) BucketMetainfo_DefaultEncryptionBlockSize_Field

type BucketMetainfo_DefaultEncryptionCipherSuite_Field added in v0.15.0

type BucketMetainfo_DefaultEncryptionCipherSuite_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultEncryptionCipherSuite added in v0.15.0

func BucketMetainfo_DefaultEncryptionCipherSuite(v int) BucketMetainfo_DefaultEncryptionCipherSuite_Field

type BucketMetainfo_DefaultRedundancyAlgorithm_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyAlgorithm_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyAlgorithm added in v0.15.0

func BucketMetainfo_DefaultRedundancyAlgorithm(v int) BucketMetainfo_DefaultRedundancyAlgorithm_Field

type BucketMetainfo_DefaultRedundancyOptimalShares_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyOptimalShares_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyOptimalShares added in v0.15.0

func BucketMetainfo_DefaultRedundancyOptimalShares(v int) BucketMetainfo_DefaultRedundancyOptimalShares_Field

type BucketMetainfo_DefaultRedundancyRepairShares_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyRepairShares_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyRepairShares added in v0.15.0

func BucketMetainfo_DefaultRedundancyRepairShares(v int) BucketMetainfo_DefaultRedundancyRepairShares_Field

type BucketMetainfo_DefaultRedundancyRequiredShares_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyRequiredShares_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyRequiredShares added in v0.15.0

func BucketMetainfo_DefaultRedundancyRequiredShares(v int) BucketMetainfo_DefaultRedundancyRequiredShares_Field

type BucketMetainfo_DefaultRedundancyShareSize_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyShareSize_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyShareSize added in v0.15.0

func BucketMetainfo_DefaultRedundancyShareSize(v int) BucketMetainfo_DefaultRedundancyShareSize_Field

type BucketMetainfo_DefaultRedundancyTotalShares_Field added in v0.15.0

type BucketMetainfo_DefaultRedundancyTotalShares_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultRedundancyTotalShares added in v0.15.0

func BucketMetainfo_DefaultRedundancyTotalShares(v int) BucketMetainfo_DefaultRedundancyTotalShares_Field

type BucketMetainfo_DefaultSegmentSize_Field added in v0.15.0

type BucketMetainfo_DefaultSegmentSize_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_DefaultSegmentSize added in v0.15.0

func BucketMetainfo_DefaultSegmentSize(v int) BucketMetainfo_DefaultSegmentSize_Field

type BucketMetainfo_Id_Field added in v0.15.0

type BucketMetainfo_Id_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_Id added in v0.15.0

func BucketMetainfo_Id(v []byte) BucketMetainfo_Id_Field

type BucketMetainfo_Name_Field added in v0.15.0

type BucketMetainfo_Name_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_Name added in v0.15.0

func BucketMetainfo_Name(v []byte) BucketMetainfo_Name_Field

type BucketMetainfo_PartnerId_Field added in v0.15.0

type BucketMetainfo_PartnerId_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_PartnerId added in v0.15.0

func BucketMetainfo_PartnerId(v []byte) BucketMetainfo_PartnerId_Field

func BucketMetainfo_PartnerId_Null added in v0.15.0

func BucketMetainfo_PartnerId_Null() BucketMetainfo_PartnerId_Field

func BucketMetainfo_PartnerId_Raw added in v0.15.0

func BucketMetainfo_PartnerId_Raw(v []byte) BucketMetainfo_PartnerId_Field

type BucketMetainfo_PathCipher_Field added in v0.15.0

type BucketMetainfo_PathCipher_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_PathCipher added in v0.15.0

func BucketMetainfo_PathCipher(v int) BucketMetainfo_PathCipher_Field

type BucketMetainfo_ProjectId_Field added in v0.15.0

type BucketMetainfo_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func BucketMetainfo_ProjectId added in v0.15.0

func BucketMetainfo_ProjectId(v []byte) BucketMetainfo_ProjectId_Field

type BucketMetainfo_Update_Fields added in v0.15.0

type BucketMetainfo_Update_Fields struct {
	PartnerId                       BucketMetainfo_PartnerId_Field
	DefaultSegmentSize              BucketMetainfo_DefaultSegmentSize_Field
	DefaultEncryptionCipherSuite    BucketMetainfo_DefaultEncryptionCipherSuite_Field
	DefaultEncryptionBlockSize      BucketMetainfo_DefaultEncryptionBlockSize_Field
	DefaultRedundancyAlgorithm      BucketMetainfo_DefaultRedundancyAlgorithm_Field
	DefaultRedundancyShareSize      BucketMetainfo_DefaultRedundancyShareSize_Field
	DefaultRedundancyRequiredShares BucketMetainfo_DefaultRedundancyRequiredShares_Field
	DefaultRedundancyRepairShares   BucketMetainfo_DefaultRedundancyRepairShares_Field
	DefaultRedundancyOptimalShares  BucketMetainfo_DefaultRedundancyOptimalShares_Field
	DefaultRedundancyTotalShares    BucketMetainfo_DefaultRedundancyTotalShares_Field
}

type BucketStorageTally

type BucketStorageTally struct {
	BucketName          []byte
	ProjectId           []byte
	IntervalStart       time.Time
	Inline              uint64
	Remote              uint64
	RemoteSegmentsCount uint
	InlineSegmentsCount uint
	ObjectCount         uint
	MetadataSize        uint64
}

type BucketStorageTally_BucketName_Field

type BucketStorageTally_BucketName_Field struct {
	// contains filtered or unexported fields
}

func BucketStorageTally_BucketName

func BucketStorageTally_BucketName(v []byte) BucketStorageTally_BucketName_Field

type BucketStorageTally_InlineSegmentsCount_Field

type BucketStorageTally_InlineSegmentsCount_Field struct {
	// contains filtered or unexported fields
}

type BucketStorageTally_Inline_Field

type BucketStorageTally_Inline_Field struct {
	// contains filtered or unexported fields
}

func BucketStorageTally_Inline

func BucketStorageTally_Inline(v uint64) BucketStorageTally_Inline_Field

type BucketStorageTally_IntervalStart_Field

type BucketStorageTally_IntervalStart_Field struct {
	// contains filtered or unexported fields
}

type BucketStorageTally_MetadataSize_Field

type BucketStorageTally_MetadataSize_Field struct {
	// contains filtered or unexported fields
}

type BucketStorageTally_ObjectCount_Field

type BucketStorageTally_ObjectCount_Field struct {
	// contains filtered or unexported fields
}

func BucketStorageTally_ObjectCount

func BucketStorageTally_ObjectCount(v uint) BucketStorageTally_ObjectCount_Field

type BucketStorageTally_ProjectId_Field

type BucketStorageTally_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func BucketStorageTally_ProjectId

func BucketStorageTally_ProjectId(v []byte) BucketStorageTally_ProjectId_Field

type BucketStorageTally_RemoteSegmentsCount_Field

type BucketStorageTally_RemoteSegmentsCount_Field struct {
	// contains filtered or unexported fields
}

type BucketStorageTally_Remote_Field

type BucketStorageTally_Remote_Field struct {
	// contains filtered or unexported fields
}

func BucketStorageTally_Remote

func BucketStorageTally_Remote(v uint64) BucketStorageTally_Remote_Field

type BucketStorageTally_Update_Fields

type BucketStorageTally_Update_Fields struct {
}

type CoinpaymentsTransaction added in v0.24.0

type CoinpaymentsTransaction struct {
	Id        string
	UserId    []byte
	Address   string
	Amount    []byte
	Received  []byte
	Status    int
	Key       string
	Timeout   int
	CreatedAt time.Time
}

type CoinpaymentsTransaction_Address_Field added in v0.24.0

type CoinpaymentsTransaction_Address_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Address added in v0.24.0

func CoinpaymentsTransaction_Address(v string) CoinpaymentsTransaction_Address_Field

type CoinpaymentsTransaction_Amount_Field added in v0.24.0

type CoinpaymentsTransaction_Amount_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Amount added in v0.24.0

func CoinpaymentsTransaction_Amount(v []byte) CoinpaymentsTransaction_Amount_Field

type CoinpaymentsTransaction_CreatedAt_Field added in v0.24.0

type CoinpaymentsTransaction_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_CreatedAt added in v0.24.0

func CoinpaymentsTransaction_CreatedAt(v time.Time) CoinpaymentsTransaction_CreatedAt_Field

type CoinpaymentsTransaction_Id_Field added in v0.24.0

type CoinpaymentsTransaction_Id_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Id added in v0.24.0

func CoinpaymentsTransaction_Id(v string) CoinpaymentsTransaction_Id_Field

type CoinpaymentsTransaction_Key_Field added in v0.24.0

type CoinpaymentsTransaction_Key_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Key added in v0.24.0

func CoinpaymentsTransaction_Key(v string) CoinpaymentsTransaction_Key_Field

type CoinpaymentsTransaction_Received_Field added in v0.24.0

type CoinpaymentsTransaction_Received_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Received added in v0.24.0

func CoinpaymentsTransaction_Received(v []byte) CoinpaymentsTransaction_Received_Field

type CoinpaymentsTransaction_Status_Field added in v0.24.0

type CoinpaymentsTransaction_Status_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Status added in v0.24.0

func CoinpaymentsTransaction_Status(v int) CoinpaymentsTransaction_Status_Field

type CoinpaymentsTransaction_Timeout_Field added in v0.26.0

type CoinpaymentsTransaction_Timeout_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_Timeout added in v0.26.0

func CoinpaymentsTransaction_Timeout(v int) CoinpaymentsTransaction_Timeout_Field

type CoinpaymentsTransaction_Update_Fields added in v0.24.0

type CoinpaymentsTransaction_Update_Fields struct {
	Received CoinpaymentsTransaction_Received_Field
	Status   CoinpaymentsTransaction_Status_Field
}

type CoinpaymentsTransaction_UserId_Field added in v0.24.0

type CoinpaymentsTransaction_UserId_Field struct {
	// contains filtered or unexported fields
}

func CoinpaymentsTransaction_UserId added in v0.24.0

func CoinpaymentsTransaction_UserId(v []byte) CoinpaymentsTransaction_UserId_Field

type ConsumedSerial added in v0.34.1

type ConsumedSerial struct {
	StorageNodeId []byte
	SerialNumber  []byte
	ExpiresAt     time.Time
}

type ConsumedSerial_ExpiresAt_Field added in v0.34.1

type ConsumedSerial_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func ConsumedSerial_ExpiresAt added in v0.34.1

func ConsumedSerial_ExpiresAt(v time.Time) ConsumedSerial_ExpiresAt_Field

type ConsumedSerial_SerialNumber_Field added in v0.34.1

type ConsumedSerial_SerialNumber_Field struct {
	// contains filtered or unexported fields
}

func ConsumedSerial_SerialNumber added in v0.34.1

func ConsumedSerial_SerialNumber(v []byte) ConsumedSerial_SerialNumber_Field

type ConsumedSerial_StorageNodeId_Field added in v0.34.1

type ConsumedSerial_StorageNodeId_Field struct {
	// contains filtered or unexported fields
}

func ConsumedSerial_StorageNodeId added in v0.34.1

func ConsumedSerial_StorageNodeId(v []byte) ConsumedSerial_StorageNodeId_Field

type ConsumedSerial_Update_Fields added in v0.34.1

type ConsumedSerial_Update_Fields struct {
}

type Coupon added in v0.27.0

type Coupon struct {
	Id          []byte
	ProjectId   []byte
	UserId      []byte
	Amount      int64
	Description string
	Type        int
	Status      int
	Duration    int64
	CreatedAt   time.Time
}

type CouponUsage added in v0.27.0

type CouponUsage struct {
	CouponId []byte
	Amount   int64
	Status   int
	Period   time.Time
}

type CouponUsage_Amount_Field added in v0.27.0

type CouponUsage_Amount_Field struct {
	// contains filtered or unexported fields
}

func CouponUsage_Amount added in v0.27.0

func CouponUsage_Amount(v int64) CouponUsage_Amount_Field

type CouponUsage_CouponId_Field added in v0.27.0

type CouponUsage_CouponId_Field struct {
	// contains filtered or unexported fields
}

func CouponUsage_CouponId added in v0.27.0

func CouponUsage_CouponId(v []byte) CouponUsage_CouponId_Field

type CouponUsage_Period_Field added in v0.30.0

type CouponUsage_Period_Field struct {
	// contains filtered or unexported fields
}

func CouponUsage_Period added in v0.30.0

func CouponUsage_Period(v time.Time) CouponUsage_Period_Field

type CouponUsage_Status_Field added in v0.30.0

type CouponUsage_Status_Field struct {
	// contains filtered or unexported fields
}

func CouponUsage_Status added in v0.30.0

func CouponUsage_Status(v int) CouponUsage_Status_Field

type CouponUsage_Update_Fields added in v0.27.0

type CouponUsage_Update_Fields struct {
	Status CouponUsage_Status_Field
}

type Coupon_Amount_Field added in v0.27.0

type Coupon_Amount_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Amount added in v0.27.0

func Coupon_Amount(v int64) Coupon_Amount_Field

type Coupon_CreatedAt_Field added in v0.27.0

type Coupon_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func Coupon_CreatedAt added in v0.27.0

func Coupon_CreatedAt(v time.Time) Coupon_CreatedAt_Field

type Coupon_Description_Field added in v0.27.0

type Coupon_Description_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Description added in v0.27.0

func Coupon_Description(v string) Coupon_Description_Field

type Coupon_Duration_Field added in v0.27.0

type Coupon_Duration_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Duration added in v0.27.0

func Coupon_Duration(v int64) Coupon_Duration_Field

type Coupon_Id_Field added in v0.27.0

type Coupon_Id_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Id added in v0.27.0

func Coupon_Id(v []byte) Coupon_Id_Field

type Coupon_ProjectId_Field added in v0.27.0

type Coupon_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func Coupon_ProjectId added in v0.27.0

func Coupon_ProjectId(v []byte) Coupon_ProjectId_Field

type Coupon_Status_Field added in v0.27.0

type Coupon_Status_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Status added in v0.27.0

func Coupon_Status(v int) Coupon_Status_Field

type Coupon_Type_Field added in v0.30.0

type Coupon_Type_Field struct {
	// contains filtered or unexported fields
}

func Coupon_Type added in v0.30.0

func Coupon_Type(v int) Coupon_Type_Field

type Coupon_Update_Fields added in v0.27.0

type Coupon_Update_Fields struct {
	Status Coupon_Status_Field
}

type Coupon_UserId_Field added in v0.27.0

type Coupon_UserId_Field struct {
	// contains filtered or unexported fields
}

func Coupon_UserId added in v0.27.0

func Coupon_UserId(v []byte) Coupon_UserId_Field

type Credit added in v0.33.2

type Credit struct {
	UserId        []byte
	TransactionId string
	Amount        int64
	CreatedAt     time.Time
}

type Credit_Amount_Field added in v0.33.2

type Credit_Amount_Field struct {
	// contains filtered or unexported fields
}

func Credit_Amount added in v0.33.2

func Credit_Amount(v int64) Credit_Amount_Field

type Credit_CreatedAt_Field added in v0.33.2

type Credit_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func Credit_CreatedAt added in v0.33.2

func Credit_CreatedAt(v time.Time) Credit_CreatedAt_Field

type Credit_TransactionId_Field added in v0.33.2

type Credit_TransactionId_Field struct {
	// contains filtered or unexported fields
}

func Credit_TransactionId added in v0.33.2

func Credit_TransactionId(v string) Credit_TransactionId_Field

type Credit_Update_Fields added in v0.33.2

type Credit_Update_Fields struct {
}

type Credit_UserId_Field added in v0.33.2

type Credit_UserId_Field struct {
	// contains filtered or unexported fields
}

func Credit_UserId added in v0.33.2

func Credit_UserId(v []byte) Credit_UserId_Field

type CreditsSpending added in v0.33.2

type CreditsSpending struct {
	Id        []byte
	UserId    []byte
	ProjectId []byte
	Amount    int64
	Status    int
	CreatedAt time.Time
}

type CreditsSpending_Amount_Field added in v0.33.2

type CreditsSpending_Amount_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_Amount added in v0.33.2

func CreditsSpending_Amount(v int64) CreditsSpending_Amount_Field

type CreditsSpending_CreatedAt_Field added in v0.33.2

type CreditsSpending_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_CreatedAt added in v0.33.2

func CreditsSpending_CreatedAt(v time.Time) CreditsSpending_CreatedAt_Field

type CreditsSpending_Id_Field added in v0.33.2

type CreditsSpending_Id_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_Id added in v0.33.2

func CreditsSpending_Id(v []byte) CreditsSpending_Id_Field

type CreditsSpending_ProjectId_Field added in v0.33.2

type CreditsSpending_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_ProjectId added in v0.33.2

func CreditsSpending_ProjectId(v []byte) CreditsSpending_ProjectId_Field

type CreditsSpending_Status_Field added in v0.33.2

type CreditsSpending_Status_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_Status added in v0.33.2

func CreditsSpending_Status(v int) CreditsSpending_Status_Field

type CreditsSpending_Update_Fields added in v0.33.2

type CreditsSpending_Update_Fields struct {
	Status CreditsSpending_Status_Field
}

type CreditsSpending_UserId_Field added in v0.33.2

type CreditsSpending_UserId_Field struct {
	// contains filtered or unexported fields
}

func CreditsSpending_UserId added in v0.33.2

func CreditsSpending_UserId(v []byte) CreditsSpending_UserId_Field

type CustomerId_Row added in v0.24.0

type CustomerId_Row struct {
	CustomerId string
}

type DB

type DB struct {
	tagsql.DB

	Hooks struct {
		Now func() time.Time
	}
	// contains filtered or unexported fields
}

func Open

func Open(driver, source string) (db *DB, err error)

func (*DB) Close

func (obj *DB) Close() (err error)

func (*DB) NewRx

func (obj *DB) NewRx() *Rx

func (*DB) Open

func (obj *DB) Open(ctx context.Context) (*Tx, error)

func (*DB) WithTx

func (db *DB) WithTx(ctx context.Context, fn func(context.Context, *Tx) error) (err error)

WithTx wraps DB code in a transaction

type DBMethods

type DBMethods interface {
	Methods

	Schema() string
	Rebind(sql string) string
}

type Error

type Error struct {
	Err         error
	Code        ErrorCode
	Driver      string
	Constraint  string
	QuerySuffix string
}

func (*Error) Cause added in v0.10.0

func (e *Error) Cause() error

Cause returns the underlying error.

func (*Error) Error

func (e *Error) Error() string

func (*Error) Unwrap added in v0.10.0

func (e *Error) Unwrap() error

Unwrap returns the underlying error.

type ErrorCode

type ErrorCode int
const (
	ErrorCode_Unknown ErrorCode = iota
	ErrorCode_UnsupportedDriver
	ErrorCode_NoRows
	ErrorCode_TxDone
	ErrorCode_TooManyRows
	ErrorCode_ConstraintViolation
	ErrorCode_EmptyUpdate
)

type GracefulExitProgress added in v0.21.0

type GracefulExitProgress struct {
	NodeId            []byte
	BytesTransferred  int64
	PiecesTransferred int64
	PiecesFailed      int64
	UpdatedAt         time.Time
}

type GracefulExitProgress_BytesTransferred_Field added in v0.21.0

type GracefulExitProgress_BytesTransferred_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitProgress_BytesTransferred added in v0.21.0

func GracefulExitProgress_BytesTransferred(v int64) GracefulExitProgress_BytesTransferred_Field

type GracefulExitProgress_NodeId_Field added in v0.21.0

type GracefulExitProgress_NodeId_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitProgress_NodeId added in v0.21.0

func GracefulExitProgress_NodeId(v []byte) GracefulExitProgress_NodeId_Field

type GracefulExitProgress_PiecesFailed_Field added in v0.22.0

type GracefulExitProgress_PiecesFailed_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitProgress_PiecesFailed added in v0.22.0

func GracefulExitProgress_PiecesFailed(v int64) GracefulExitProgress_PiecesFailed_Field

type GracefulExitProgress_PiecesTransferred_Field added in v0.22.0

type GracefulExitProgress_PiecesTransferred_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitProgress_PiecesTransferred added in v0.22.0

func GracefulExitProgress_PiecesTransferred(v int64) GracefulExitProgress_PiecesTransferred_Field

type GracefulExitProgress_Update_Fields added in v0.21.0

type GracefulExitProgress_Update_Fields struct {
	BytesTransferred  GracefulExitProgress_BytesTransferred_Field
	PiecesTransferred GracefulExitProgress_PiecesTransferred_Field
	PiecesFailed      GracefulExitProgress_PiecesFailed_Field
}

type GracefulExitProgress_UpdatedAt_Field added in v0.21.0

type GracefulExitProgress_UpdatedAt_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitProgress_UpdatedAt added in v0.21.0

func GracefulExitProgress_UpdatedAt(v time.Time) GracefulExitProgress_UpdatedAt_Field

type GracefulExitTransferQueue added in v0.21.0

type GracefulExitTransferQueue struct {
	NodeId              []byte
	Path                []byte
	PieceNum            int
	RootPieceId         []byte
	DurabilityRatio     float64
	QueuedAt            time.Time
	RequestedAt         *time.Time
	LastFailedAt        *time.Time
	LastFailedCode      *int
	FailedCount         *int
	FinishedAt          *time.Time
	OrderLimitSendCount int
}

type GracefulExitTransferQueue_DurabilityRatio_Field added in v0.21.0

type GracefulExitTransferQueue_DurabilityRatio_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_DurabilityRatio added in v0.21.0

func GracefulExitTransferQueue_DurabilityRatio(v float64) GracefulExitTransferQueue_DurabilityRatio_Field

type GracefulExitTransferQueue_FailedCount_Field added in v0.21.0

type GracefulExitTransferQueue_FailedCount_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_FailedCount added in v0.21.0

func GracefulExitTransferQueue_FailedCount(v int) GracefulExitTransferQueue_FailedCount_Field

func GracefulExitTransferQueue_FailedCount_Null added in v0.21.0

func GracefulExitTransferQueue_FailedCount_Null() GracefulExitTransferQueue_FailedCount_Field

func GracefulExitTransferQueue_FailedCount_Raw added in v0.21.0

func GracefulExitTransferQueue_FailedCount_Raw(v *int) GracefulExitTransferQueue_FailedCount_Field

type GracefulExitTransferQueue_FinishedAt_Field added in v0.21.0

type GracefulExitTransferQueue_FinishedAt_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_FinishedAt added in v0.21.0

func GracefulExitTransferQueue_FinishedAt(v time.Time) GracefulExitTransferQueue_FinishedAt_Field

func GracefulExitTransferQueue_FinishedAt_Null added in v0.21.0

func GracefulExitTransferQueue_FinishedAt_Null() GracefulExitTransferQueue_FinishedAt_Field

func GracefulExitTransferQueue_FinishedAt_Raw added in v0.21.0

func GracefulExitTransferQueue_FinishedAt_Raw(v *time.Time) GracefulExitTransferQueue_FinishedAt_Field

type GracefulExitTransferQueue_LastFailedAt_Field added in v0.21.0

type GracefulExitTransferQueue_LastFailedAt_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_LastFailedAt added in v0.21.0

func GracefulExitTransferQueue_LastFailedAt(v time.Time) GracefulExitTransferQueue_LastFailedAt_Field

func GracefulExitTransferQueue_LastFailedAt_Null added in v0.21.0

func GracefulExitTransferQueue_LastFailedAt_Null() GracefulExitTransferQueue_LastFailedAt_Field

func GracefulExitTransferQueue_LastFailedAt_Raw added in v0.21.0

func GracefulExitTransferQueue_LastFailedAt_Raw(v *time.Time) GracefulExitTransferQueue_LastFailedAt_Field

type GracefulExitTransferQueue_LastFailedCode_Field added in v0.21.0

type GracefulExitTransferQueue_LastFailedCode_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_LastFailedCode added in v0.21.0

func GracefulExitTransferQueue_LastFailedCode(v int) GracefulExitTransferQueue_LastFailedCode_Field

func GracefulExitTransferQueue_LastFailedCode_Null added in v0.21.0

func GracefulExitTransferQueue_LastFailedCode_Null() GracefulExitTransferQueue_LastFailedCode_Field

func GracefulExitTransferQueue_LastFailedCode_Raw added in v0.21.0

func GracefulExitTransferQueue_LastFailedCode_Raw(v *int) GracefulExitTransferQueue_LastFailedCode_Field

type GracefulExitTransferQueue_NodeId_Field added in v0.21.0

type GracefulExitTransferQueue_NodeId_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_NodeId added in v0.21.0

func GracefulExitTransferQueue_NodeId(v []byte) GracefulExitTransferQueue_NodeId_Field

type GracefulExitTransferQueue_OrderLimitSendCount_Field added in v0.26.0

type GracefulExitTransferQueue_OrderLimitSendCount_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_OrderLimitSendCount added in v0.26.0

func GracefulExitTransferQueue_OrderLimitSendCount(v int) GracefulExitTransferQueue_OrderLimitSendCount_Field

type GracefulExitTransferQueue_Path_Field added in v0.21.0

type GracefulExitTransferQueue_Path_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_Path added in v0.21.0

func GracefulExitTransferQueue_Path(v []byte) GracefulExitTransferQueue_Path_Field

type GracefulExitTransferQueue_PieceNum_Field added in v0.21.0

type GracefulExitTransferQueue_PieceNum_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_PieceNum added in v0.21.0

func GracefulExitTransferQueue_PieceNum(v int) GracefulExitTransferQueue_PieceNum_Field

type GracefulExitTransferQueue_QueuedAt_Field added in v0.21.0

type GracefulExitTransferQueue_QueuedAt_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_QueuedAt added in v0.21.0

func GracefulExitTransferQueue_QueuedAt(v time.Time) GracefulExitTransferQueue_QueuedAt_Field

type GracefulExitTransferQueue_RequestedAt_Field added in v0.21.0

type GracefulExitTransferQueue_RequestedAt_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_RequestedAt added in v0.21.0

func GracefulExitTransferQueue_RequestedAt(v time.Time) GracefulExitTransferQueue_RequestedAt_Field

func GracefulExitTransferQueue_RequestedAt_Null added in v0.21.0

func GracefulExitTransferQueue_RequestedAt_Null() GracefulExitTransferQueue_RequestedAt_Field

func GracefulExitTransferQueue_RequestedAt_Raw added in v0.21.0

func GracefulExitTransferQueue_RequestedAt_Raw(v *time.Time) GracefulExitTransferQueue_RequestedAt_Field

type GracefulExitTransferQueue_RootPieceId_Field added in v0.26.0

type GracefulExitTransferQueue_RootPieceId_Field struct {
	// contains filtered or unexported fields
}

func GracefulExitTransferQueue_RootPieceId added in v0.26.0

func GracefulExitTransferQueue_RootPieceId(v []byte) GracefulExitTransferQueue_RootPieceId_Field

func GracefulExitTransferQueue_RootPieceId_Null added in v0.26.0

func GracefulExitTransferQueue_RootPieceId_Null() GracefulExitTransferQueue_RootPieceId_Field

func GracefulExitTransferQueue_RootPieceId_Raw added in v0.26.0

func GracefulExitTransferQueue_RootPieceId_Raw(v []byte) GracefulExitTransferQueue_RootPieceId_Field

type Id_Address_LastContactSuccess_LastContactFailure_Row added in v0.29.0

type Id_Address_LastContactSuccess_LastContactFailure_Row struct {
	Id                 []byte
	Address            string
	LastContactSuccess time.Time
	LastContactFailure time.Time
}

type Id_LastNet_Address_Protocol_Row added in v0.15.0

type Id_LastNet_Address_Protocol_Row struct {
	Id       []byte
	LastNet  string
	Address  string
	Protocol int
}

type Id_PieceCount_Row added in v0.19.1

type Id_PieceCount_Row struct {
	Id         []byte
	PieceCount int64
}

type Id_Row

type Id_Row struct {
	Id []byte
}

type Injuredsegment

type Injuredsegment struct {
	Path      []byte
	Data      []byte
	Attempted *time.Time
}

type Injuredsegment_Attempted_Field added in v0.10.0

type Injuredsegment_Attempted_Field struct {
	// contains filtered or unexported fields
}

func Injuredsegment_Attempted added in v0.10.0

func Injuredsegment_Attempted(v time.Time) Injuredsegment_Attempted_Field

func Injuredsegment_Attempted_Null added in v0.10.0

func Injuredsegment_Attempted_Null() Injuredsegment_Attempted_Field

func Injuredsegment_Attempted_Raw added in v0.10.0

func Injuredsegment_Attempted_Raw(v *time.Time) Injuredsegment_Attempted_Field

type Injuredsegment_Create_Fields added in v0.10.0

type Injuredsegment_Create_Fields struct {
	Attempted Injuredsegment_Attempted_Field
}

type Injuredsegment_Data_Field added in v0.10.0

type Injuredsegment_Data_Field struct {
	// contains filtered or unexported fields
}

func Injuredsegment_Data added in v0.10.0

func Injuredsegment_Data(v []byte) Injuredsegment_Data_Field

type Injuredsegment_Path_Field added in v0.10.0

type Injuredsegment_Path_Field struct {
	// contains filtered or unexported fields
}

func Injuredsegment_Path added in v0.10.0

func Injuredsegment_Path(v []byte) Injuredsegment_Path_Field

type Injuredsegment_Update_Fields

type Injuredsegment_Update_Fields struct {
	Attempted Injuredsegment_Attempted_Field
}

type Irreparabledb

type Irreparabledb struct {
	Segmentpath        []byte
	Segmentdetail      []byte
	PiecesLostCount    int64
	SegDamagedUnixSec  int64
	RepairAttemptCount int64
}

type Irreparabledb_PiecesLostCount_Field

type Irreparabledb_PiecesLostCount_Field struct {
	// contains filtered or unexported fields
}

func Irreparabledb_PiecesLostCount

func Irreparabledb_PiecesLostCount(v int64) Irreparabledb_PiecesLostCount_Field

type Irreparabledb_RepairAttemptCount_Field

type Irreparabledb_RepairAttemptCount_Field struct {
	// contains filtered or unexported fields
}

type Irreparabledb_SegDamagedUnixSec_Field

type Irreparabledb_SegDamagedUnixSec_Field struct {
	// contains filtered or unexported fields
}

func Irreparabledb_SegDamagedUnixSec

func Irreparabledb_SegDamagedUnixSec(v int64) Irreparabledb_SegDamagedUnixSec_Field

type Irreparabledb_Segmentdetail_Field

type Irreparabledb_Segmentdetail_Field struct {
	// contains filtered or unexported fields
}

func Irreparabledb_Segmentdetail

func Irreparabledb_Segmentdetail(v []byte) Irreparabledb_Segmentdetail_Field

type Irreparabledb_Segmentpath_Field

type Irreparabledb_Segmentpath_Field struct {
	// contains filtered or unexported fields
}

func Irreparabledb_Segmentpath

func Irreparabledb_Segmentpath(v []byte) Irreparabledb_Segmentpath_Field

type Irreparabledb_Update_Fields

type Irreparabledb_Update_Fields struct {
	Segmentdetail      Irreparabledb_Segmentdetail_Field
	PiecesLostCount    Irreparabledb_PiecesLostCount_Field
	SegDamagedUnixSec  Irreparabledb_SegDamagedUnixSec_Field
	RepairAttemptCount Irreparabledb_RepairAttemptCount_Field
}

type LeafSerialNumber_Row added in v0.19.0

type LeafSerialNumber_Row struct {
	LeafSerialNumber []byte
}

type Methods

type Methods interface {
	All_AccountingRollup_By_StartTime_GreaterOrEqual(ctx context.Context,
		accounting_rollup_start_time_greater_or_equal AccountingRollup_StartTime_Field) (
		rows []*AccountingRollup, err error)

	All_ApiKey_By_ProjectId_OrderBy_Asc_Name(ctx context.Context,
		api_key_project_id ApiKey_ProjectId_Field) (
		rows []*ApiKey, err error)

	All_BucketStorageTally(ctx context.Context) (
		rows []*BucketStorageTally, err error)

	All_BucketStorageTally_By_ProjectId_And_BucketName_And_IntervalStart_GreaterOrEqual_And_IntervalStart_LessOrEqual_OrderBy_Desc_IntervalStart(ctx context.Context,
		bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field,
		bucket_storage_tally_bucket_name BucketStorageTally_BucketName_Field,
		bucket_storage_tally_interval_start_greater_or_equal BucketStorageTally_IntervalStart_Field,
		bucket_storage_tally_interval_start_less_or_equal BucketStorageTally_IntervalStart_Field) (
		rows []*BucketStorageTally, err error)

	All_CoinpaymentsTransaction_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
		coinpayments_transaction_user_id CoinpaymentsTransaction_UserId_Field) (
		rows []*CoinpaymentsTransaction, err error)

	All_Coupon_By_ProjectId_And_Status_Equal_Number_OrderBy_Desc_CreatedAt(ctx context.Context,
		coupon_project_id Coupon_ProjectId_Field) (
		rows []*Coupon, err error)

	All_Coupon_By_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
		coupon_status Coupon_Status_Field) (
		rows []*Coupon, err error)

	All_Coupon_By_UserId_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
		coupon_user_id Coupon_UserId_Field,
		coupon_status Coupon_Status_Field) (
		rows []*Coupon, err error)

	All_Coupon_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
		coupon_user_id Coupon_UserId_Field) (
		rows []*Coupon, err error)

	All_Credit_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
		credit_user_id Credit_UserId_Field) (
		rows []*Credit, err error)

	All_CreditsSpending_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
		credits_spending_user_id CreditsSpending_UserId_Field) (
		rows []*CreditsSpending, err error)

	All_Node_Id(ctx context.Context) (
		rows []*Id_Row, err error)

	All_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_And_LastContactSuccess_Greater_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactSuccess(ctx context.Context,
		node_last_contact_success_less Node_LastContactSuccess_Field) (
		rows []*Id_Address_LastContactSuccess_LastContactFailure_Row, err error)

	All_Node_Id_Node_PieceCount_By_PieceCount_Not_Number(ctx context.Context) (
		rows []*Id_PieceCount_Row, err error)

	All_NodesOfflineTime_By_NodeId_And_TrackedAt_Greater_And_TrackedAt_LessOrEqual(ctx context.Context,
		nodes_offline_time_node_id NodesOfflineTime_NodeId_Field,
		nodes_offline_time_tracked_at_greater NodesOfflineTime_TrackedAt_Field,
		nodes_offline_time_tracked_at_less_or_equal NodesOfflineTime_TrackedAt_Field) (
		rows []*NodesOfflineTime, err error)

	All_Offer_OrderBy_Asc_Id(ctx context.Context) (
		rows []*Offer, err error)

	All_Project(ctx context.Context) (
		rows []*Project, err error)

	All_ProjectInvoiceStamp_By_ProjectId_OrderBy_Desc_StartDate(ctx context.Context,
		project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field) (
		rows []*ProjectInvoiceStamp, err error)

	All_ProjectMember_By_MemberId(ctx context.Context,
		project_member_member_id ProjectMember_MemberId_Field) (
		rows []*ProjectMember, err error)

	All_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt(ctx context.Context,
		project_created_at_less Project_CreatedAt_Field) (
		rows []*Project, err error)

	All_Project_By_OwnerId_OrderBy_Asc_CreatedAt(ctx context.Context,
		project_owner_id Project_OwnerId_Field) (
		rows []*Project, err error)

	All_Project_By_ProjectMember_MemberId_OrderBy_Asc_Project_Name(ctx context.Context,
		project_member_member_id ProjectMember_MemberId_Field) (
		rows []*Project, err error)

	All_StoragenodeBandwidthRollup_By_IntervalStart_GreaterOrEqual(ctx context.Context,
		storagenode_bandwidth_rollup_interval_start_greater_or_equal StoragenodeBandwidthRollup_IntervalStart_Field) (
		rows []*StoragenodeBandwidthRollup, err error)

	All_StoragenodeStorageTally(ctx context.Context) (
		rows []*StoragenodeStorageTally, err error)

	All_StoragenodeStorageTally_By_IntervalEndTime_GreaterOrEqual(ctx context.Context,
		storagenode_storage_tally_interval_end_time_greater_or_equal StoragenodeStorageTally_IntervalEndTime_Field) (
		rows []*StoragenodeStorageTally, err error)

	All_UserCredit_By_UserId_And_ExpiresAt_Greater_And_CreditsUsedInCents_Less_CreditsEarnedInCents_OrderBy_Asc_ExpiresAt(ctx context.Context,
		user_credit_user_id UserCredit_UserId_Field,
		user_credit_expires_at_greater UserCredit_ExpiresAt_Field) (
		rows []*UserCredit, err error)

	Count_UserCredit_By_ReferredBy(ctx context.Context,
		user_credit_referred_by UserCredit_ReferredBy_Field) (
		count int64, err error)

	CreateNoReturn_AccountingRollup(ctx context.Context,
		accounting_rollup_node_id AccountingRollup_NodeId_Field,
		accounting_rollup_start_time AccountingRollup_StartTime_Field,
		accounting_rollup_put_total AccountingRollup_PutTotal_Field,
		accounting_rollup_get_total AccountingRollup_GetTotal_Field,
		accounting_rollup_get_audit_total AccountingRollup_GetAuditTotal_Field,
		accounting_rollup_get_repair_total AccountingRollup_GetRepairTotal_Field,
		accounting_rollup_put_repair_total AccountingRollup_PutRepairTotal_Field,
		accounting_rollup_at_rest_total AccountingRollup_AtRestTotal_Field) (
		err error)

	CreateNoReturn_AccountingTimestamps(ctx context.Context,
		accounting_timestamps_name AccountingTimestamps_Name_Field,
		accounting_timestamps_value AccountingTimestamps_Value_Field) (
		err error)

	CreateNoReturn_BucketStorageTally(ctx context.Context,
		bucket_storage_tally_bucket_name BucketStorageTally_BucketName_Field,
		bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field,
		bucket_storage_tally_interval_start BucketStorageTally_IntervalStart_Field,
		bucket_storage_tally_inline BucketStorageTally_Inline_Field,
		bucket_storage_tally_remote BucketStorageTally_Remote_Field,
		bucket_storage_tally_remote_segments_count BucketStorageTally_RemoteSegmentsCount_Field,
		bucket_storage_tally_inline_segments_count BucketStorageTally_InlineSegmentsCount_Field,
		bucket_storage_tally_object_count BucketStorageTally_ObjectCount_Field,
		bucket_storage_tally_metadata_size BucketStorageTally_MetadataSize_Field) (
		err error)

	CreateNoReturn_ConsumedSerial(ctx context.Context,
		consumed_serial_storage_node_id ConsumedSerial_StorageNodeId_Field,
		consumed_serial_serial_number ConsumedSerial_SerialNumber_Field,
		consumed_serial_expires_at ConsumedSerial_ExpiresAt_Field) (
		err error)

	CreateNoReturn_GracefulExitProgress(ctx context.Context,
		graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field,
		graceful_exit_progress_bytes_transferred GracefulExitProgress_BytesTransferred_Field) (
		err error)

	CreateNoReturn_GracefulExitTransferQueue(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
		graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
		graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field,
		graceful_exit_transfer_queue_durability_ratio GracefulExitTransferQueue_DurabilityRatio_Field,
		graceful_exit_transfer_queue_order_limit_send_count GracefulExitTransferQueue_OrderLimitSendCount_Field,
		optional GracefulExitTransferQueue_Create_Fields) (
		err error)

	CreateNoReturn_Irreparabledb(ctx context.Context,
		irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
		irreparabledb_segmentdetail Irreparabledb_Segmentdetail_Field,
		irreparabledb_pieces_lost_count Irreparabledb_PiecesLostCount_Field,
		irreparabledb_seg_damaged_unix_sec Irreparabledb_SegDamagedUnixSec_Field,
		irreparabledb_repair_attempt_count Irreparabledb_RepairAttemptCount_Field) (
		err error)

	CreateNoReturn_Node(ctx context.Context,
		node_id Node_Id_Field,
		node_address Node_Address_Field,
		node_last_net Node_LastNet_Field,
		node_protocol Node_Protocol_Field,
		node_type Node_Type_Field,
		node_email Node_Email_Field,
		node_wallet Node_Wallet_Field,
		node_free_bandwidth Node_FreeBandwidth_Field,
		node_free_disk Node_FreeDisk_Field,
		node_major Node_Major_Field,
		node_minor Node_Minor_Field,
		node_patch Node_Patch_Field,
		node_hash Node_Hash_Field,
		node_timestamp Node_Timestamp_Field,
		node_release Node_Release_Field,
		node_latency_90 Node_Latency90_Field,
		node_audit_success_count Node_AuditSuccessCount_Field,
		node_total_audit_count Node_TotalAuditCount_Field,
		node_uptime_success_count Node_UptimeSuccessCount_Field,
		node_total_uptime_count Node_TotalUptimeCount_Field,
		node_last_contact_success Node_LastContactSuccess_Field,
		node_last_contact_failure Node_LastContactFailure_Field,
		node_contained Node_Contained_Field,
		node_audit_reputation_alpha Node_AuditReputationAlpha_Field,
		node_audit_reputation_beta Node_AuditReputationBeta_Field,
		node_uptime_reputation_alpha Node_UptimeReputationAlpha_Field,
		node_uptime_reputation_beta Node_UptimeReputationBeta_Field,
		node_exit_success Node_ExitSuccess_Field,
		optional Node_Create_Fields) (
		err error)

	CreateNoReturn_PeerIdentity(ctx context.Context,
		peer_identity_node_id PeerIdentity_NodeId_Field,
		peer_identity_leaf_serial_number PeerIdentity_LeafSerialNumber_Field,
		peer_identity_chain PeerIdentity_Chain_Field) (
		err error)

	CreateNoReturn_SerialNumber(ctx context.Context,
		serial_number_serial_number SerialNumber_SerialNumber_Field,
		serial_number_bucket_id SerialNumber_BucketId_Field,
		serial_number_expires_at SerialNumber_ExpiresAt_Field) (
		err error)

	CreateNoReturn_StoragenodeStorageTally(ctx context.Context,
		storagenode_storage_tally_node_id StoragenodeStorageTally_NodeId_Field,
		storagenode_storage_tally_interval_end_time StoragenodeStorageTally_IntervalEndTime_Field,
		storagenode_storage_tally_data_total StoragenodeStorageTally_DataTotal_Field) (
		err error)

	CreateNoReturn_UsedSerial(ctx context.Context,
		used_serial_serial_number_id UsedSerial_SerialNumberId_Field,
		used_serial_storage_node_id UsedSerial_StorageNodeId_Field) (
		err error)

	Create_ApiKey(ctx context.Context,
		api_key_id ApiKey_Id_Field,
		api_key_project_id ApiKey_ProjectId_Field,
		api_key_head ApiKey_Head_Field,
		api_key_name ApiKey_Name_Field,
		api_key_secret ApiKey_Secret_Field,
		optional ApiKey_Create_Fields) (
		api_key *ApiKey, err error)

	Create_BucketMetainfo(ctx context.Context,
		bucket_metainfo_id BucketMetainfo_Id_Field,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name BucketMetainfo_Name_Field,
		bucket_metainfo_path_cipher BucketMetainfo_PathCipher_Field,
		bucket_metainfo_default_segment_size BucketMetainfo_DefaultSegmentSize_Field,
		bucket_metainfo_default_encryption_cipher_suite BucketMetainfo_DefaultEncryptionCipherSuite_Field,
		bucket_metainfo_default_encryption_block_size BucketMetainfo_DefaultEncryptionBlockSize_Field,
		bucket_metainfo_default_redundancy_algorithm BucketMetainfo_DefaultRedundancyAlgorithm_Field,
		bucket_metainfo_default_redundancy_share_size BucketMetainfo_DefaultRedundancyShareSize_Field,
		bucket_metainfo_default_redundancy_required_shares BucketMetainfo_DefaultRedundancyRequiredShares_Field,
		bucket_metainfo_default_redundancy_repair_shares BucketMetainfo_DefaultRedundancyRepairShares_Field,
		bucket_metainfo_default_redundancy_optimal_shares BucketMetainfo_DefaultRedundancyOptimalShares_Field,
		bucket_metainfo_default_redundancy_total_shares BucketMetainfo_DefaultRedundancyTotalShares_Field,
		optional BucketMetainfo_Create_Fields) (
		bucket_metainfo *BucketMetainfo, err error)

	Create_CoinpaymentsTransaction(ctx context.Context,
		coinpayments_transaction_id CoinpaymentsTransaction_Id_Field,
		coinpayments_transaction_user_id CoinpaymentsTransaction_UserId_Field,
		coinpayments_transaction_address CoinpaymentsTransaction_Address_Field,
		coinpayments_transaction_amount CoinpaymentsTransaction_Amount_Field,
		coinpayments_transaction_received CoinpaymentsTransaction_Received_Field,
		coinpayments_transaction_status CoinpaymentsTransaction_Status_Field,
		coinpayments_transaction_key CoinpaymentsTransaction_Key_Field,
		coinpayments_transaction_timeout CoinpaymentsTransaction_Timeout_Field) (
		coinpayments_transaction *CoinpaymentsTransaction, err error)

	Create_Coupon(ctx context.Context,
		coupon_id Coupon_Id_Field,
		coupon_project_id Coupon_ProjectId_Field,
		coupon_user_id Coupon_UserId_Field,
		coupon_amount Coupon_Amount_Field,
		coupon_description Coupon_Description_Field,
		coupon_type Coupon_Type_Field,
		coupon_status Coupon_Status_Field,
		coupon_duration Coupon_Duration_Field) (
		coupon *Coupon, err error)

	Create_CouponUsage(ctx context.Context,
		coupon_usage_coupon_id CouponUsage_CouponId_Field,
		coupon_usage_amount CouponUsage_Amount_Field,
		coupon_usage_status CouponUsage_Status_Field,
		coupon_usage_period CouponUsage_Period_Field) (
		coupon_usage *CouponUsage, err error)

	Create_Credit(ctx context.Context,
		credit_user_id Credit_UserId_Field,
		credit_transaction_id Credit_TransactionId_Field,
		credit_amount Credit_Amount_Field) (
		credit *Credit, err error)

	Create_CreditsSpending(ctx context.Context,
		credits_spending_id CreditsSpending_Id_Field,
		credits_spending_user_id CreditsSpending_UserId_Field,
		credits_spending_project_id CreditsSpending_ProjectId_Field,
		credits_spending_amount CreditsSpending_Amount_Field,
		credits_spending_status CreditsSpending_Status_Field) (
		credits_spending *CreditsSpending, err error)

	Create_NodesOfflineTime(ctx context.Context,
		nodes_offline_time_node_id NodesOfflineTime_NodeId_Field,
		nodes_offline_time_tracked_at NodesOfflineTime_TrackedAt_Field,
		nodes_offline_time_seconds NodesOfflineTime_Seconds_Field) (
		nodes_offline_time *NodesOfflineTime, err error)

	Create_Offer(ctx context.Context,
		offer_name Offer_Name_Field,
		offer_description Offer_Description_Field,
		offer_award_credit_in_cents Offer_AwardCreditInCents_Field,
		offer_invitee_credit_in_cents Offer_InviteeCreditInCents_Field,
		offer_expires_at Offer_ExpiresAt_Field,
		offer_status Offer_Status_Field,
		offer_type Offer_Type_Field,
		optional Offer_Create_Fields) (
		offer *Offer, err error)

	Create_PendingAudits(ctx context.Context,
		pending_audits_node_id PendingAudits_NodeId_Field,
		pending_audits_piece_id PendingAudits_PieceId_Field,
		pending_audits_stripe_index PendingAudits_StripeIndex_Field,
		pending_audits_share_size PendingAudits_ShareSize_Field,
		pending_audits_expected_share_hash PendingAudits_ExpectedShareHash_Field,
		pending_audits_reverify_count PendingAudits_ReverifyCount_Field,
		pending_audits_path PendingAudits_Path_Field) (
		pending_audits *PendingAudits, err error)

	Create_Project(ctx context.Context,
		project_id Project_Id_Field,
		project_name Project_Name_Field,
		project_description Project_Description_Field,
		project_usage_limit Project_UsageLimit_Field,
		project_owner_id Project_OwnerId_Field,
		optional Project_Create_Fields) (
		project *Project, err error)

	Create_ProjectInvoiceStamp(ctx context.Context,
		project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field,
		project_invoice_stamp_invoice_id ProjectInvoiceStamp_InvoiceId_Field,
		project_invoice_stamp_start_date ProjectInvoiceStamp_StartDate_Field,
		project_invoice_stamp_end_date ProjectInvoiceStamp_EndDate_Field,
		project_invoice_stamp_created_at ProjectInvoiceStamp_CreatedAt_Field) (
		project_invoice_stamp *ProjectInvoiceStamp, err error)

	Create_ProjectMember(ctx context.Context,
		project_member_member_id ProjectMember_MemberId_Field,
		project_member_project_id ProjectMember_ProjectId_Field) (
		project_member *ProjectMember, err error)

	Create_RegistrationToken(ctx context.Context,
		registration_token_secret RegistrationToken_Secret_Field,
		registration_token_project_limit RegistrationToken_ProjectLimit_Field,
		optional RegistrationToken_Create_Fields) (
		registration_token *RegistrationToken, err error)

	Create_ResetPasswordToken(ctx context.Context,
		reset_password_token_secret ResetPasswordToken_Secret_Field,
		reset_password_token_owner_id ResetPasswordToken_OwnerId_Field) (
		reset_password_token *ResetPasswordToken, err error)

	Create_StripeCustomer(ctx context.Context,
		stripe_customer_user_id StripeCustomer_UserId_Field,
		stripe_customer_customer_id StripeCustomer_CustomerId_Field) (
		stripe_customer *StripeCustomer, err error)

	Create_StripecoinpaymentsApplyBalanceIntent(ctx context.Context,
		stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field,
		stripecoinpayments_apply_balance_intent_state StripecoinpaymentsApplyBalanceIntent_State_Field) (
		stripecoinpayments_apply_balance_intent *StripecoinpaymentsApplyBalanceIntent, err error)

	Create_StripecoinpaymentsInvoiceProjectRecord(ctx context.Context,
		stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field,
		stripecoinpayments_invoice_project_record_project_id StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field,
		stripecoinpayments_invoice_project_record_storage StripecoinpaymentsInvoiceProjectRecord_Storage_Field,
		stripecoinpayments_invoice_project_record_egress StripecoinpaymentsInvoiceProjectRecord_Egress_Field,
		stripecoinpayments_invoice_project_record_objects StripecoinpaymentsInvoiceProjectRecord_Objects_Field,
		stripecoinpayments_invoice_project_record_period_start StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field,
		stripecoinpayments_invoice_project_record_period_end StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field,
		stripecoinpayments_invoice_project_record_state StripecoinpaymentsInvoiceProjectRecord_State_Field) (
		stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

	Create_StripecoinpaymentsTxConversionRate(ctx context.Context,
		stripecoinpayments_tx_conversion_rate_tx_id StripecoinpaymentsTxConversionRate_TxId_Field,
		stripecoinpayments_tx_conversion_rate_rate StripecoinpaymentsTxConversionRate_Rate_Field) (
		stripecoinpayments_tx_conversion_rate *StripecoinpaymentsTxConversionRate, err error)

	Create_User(ctx context.Context,
		user_id User_Id_Field,
		user_email User_Email_Field,
		user_normalized_email User_NormalizedEmail_Field,
		user_full_name User_FullName_Field,
		user_password_hash User_PasswordHash_Field,
		optional User_Create_Fields) (
		user *User, err error)

	Create_UserCredit(ctx context.Context,
		user_credit_user_id UserCredit_UserId_Field,
		user_credit_offer_id UserCredit_OfferId_Field,
		user_credit_type UserCredit_Type_Field,
		user_credit_credits_earned_in_cents UserCredit_CreditsEarnedInCents_Field,
		user_credit_expires_at UserCredit_ExpiresAt_Field,
		optional UserCredit_Create_Fields) (
		user_credit *UserCredit, err error)

	Create_ValueAttribution(ctx context.Context,
		value_attribution_project_id ValueAttribution_ProjectId_Field,
		value_attribution_bucket_name ValueAttribution_BucketName_Field,
		value_attribution_partner_id ValueAttribution_PartnerId_Field) (
		value_attribution *ValueAttribution, err error)

	Delete_AccountingRollup_By_Id(ctx context.Context,
		accounting_rollup_id AccountingRollup_Id_Field) (
		deleted bool, err error)

	Delete_ApiKey_By_Id(ctx context.Context,
		api_key_id ApiKey_Id_Field) (
		deleted bool, err error)

	Delete_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name BucketMetainfo_Name_Field) (
		deleted bool, err error)

	Delete_ConsumedSerial_By_ExpiresAt_LessOrEqual(ctx context.Context,
		consumed_serial_expires_at_less_or_equal ConsumedSerial_ExpiresAt_Field) (
		count int64, err error)

	Delete_Coupon_By_Id(ctx context.Context,
		coupon_id Coupon_Id_Field) (
		deleted bool, err error)

	Delete_GracefulExitProgress_By_NodeId(ctx context.Context,
		graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field) (
		deleted bool, err error)

	Delete_GracefulExitTransferQueue_By_NodeId(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field) (
		count int64, err error)

	Delete_GracefulExitTransferQueue_By_NodeId_And_FinishedAt_IsNot_Null(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field) (
		count int64, err error)

	Delete_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
		graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
		graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field) (
		deleted bool, err error)

	Delete_Irreparabledb_By_Segmentpath(ctx context.Context,
		irreparabledb_segmentpath Irreparabledb_Segmentpath_Field) (
		deleted bool, err error)

	Delete_Node_By_Id(ctx context.Context,
		node_id Node_Id_Field) (
		deleted bool, err error)

	Delete_PendingAudits_By_NodeId(ctx context.Context,
		pending_audits_node_id PendingAudits_NodeId_Field) (
		deleted bool, err error)

	Delete_ProjectMember_By_MemberId_And_ProjectId(ctx context.Context,
		project_member_member_id ProjectMember_MemberId_Field,
		project_member_project_id ProjectMember_ProjectId_Field) (
		deleted bool, err error)

	Delete_Project_By_Id(ctx context.Context,
		project_id Project_Id_Field) (
		deleted bool, err error)

	Delete_ResetPasswordToken_By_Secret(ctx context.Context,
		reset_password_token_secret ResetPasswordToken_Secret_Field) (
		deleted bool, err error)

	Delete_SerialNumber_By_ExpiresAt_LessOrEqual(ctx context.Context,
		serial_number_expires_at_less_or_equal SerialNumber_ExpiresAt_Field) (
		count int64, err error)

	Delete_StoragenodeStorageTally_By_Id(ctx context.Context,
		storagenode_storage_tally_id StoragenodeStorageTally_Id_Field) (
		deleted bool, err error)

	Delete_StripecoinpaymentsApplyBalanceIntent_By_TxId(ctx context.Context,
		stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field) (
		deleted bool, err error)

	Delete_StripecoinpaymentsInvoiceProjectRecord_By_Id(ctx context.Context,
		stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field) (
		deleted bool, err error)

	Delete_User_By_Id(ctx context.Context,
		user_id User_Id_Field) (
		deleted bool, err error)

	Delete_ValueAttribution_By_ProjectId_And_BucketName(ctx context.Context,
		value_attribution_project_id ValueAttribution_ProjectId_Field,
		value_attribution_bucket_name ValueAttribution_BucketName_Field) (
		deleted bool, err error)

	Find_AccountingTimestamps_Value_By_Name(ctx context.Context,
		accounting_timestamps_name AccountingTimestamps_Name_Field) (
		row *Value_Row, err error)

	Find_BucketBandwidthRollup_By_BucketName_And_ProjectId_And_IntervalStart_And_Action(ctx context.Context,
		bucket_bandwidth_rollup_bucket_name BucketBandwidthRollup_BucketName_Field,
		bucket_bandwidth_rollup_project_id BucketBandwidthRollup_ProjectId_Field,
		bucket_bandwidth_rollup_interval_start BucketBandwidthRollup_IntervalStart_Field,
		bucket_bandwidth_rollup_action BucketBandwidthRollup_Action_Field) (
		bucket_bandwidth_rollup *BucketBandwidthRollup, err error)

	Find_SerialNumber_By_SerialNumber(ctx context.Context,
		serial_number_serial_number SerialNumber_SerialNumber_Field) (
		serial_number *SerialNumber, err error)

	Find_StoragenodeBandwidthRollup_By_StoragenodeId_And_IntervalStart_And_Action(ctx context.Context,
		storagenode_bandwidth_rollup_storagenode_id StoragenodeBandwidthRollup_StoragenodeId_Field,
		storagenode_bandwidth_rollup_interval_start StoragenodeBandwidthRollup_IntervalStart_Field,
		storagenode_bandwidth_rollup_action StoragenodeBandwidthRollup_Action_Field) (
		storagenode_bandwidth_rollup *StoragenodeBandwidthRollup, err error)

	First_BucketStorageTally_By_ProjectId_OrderBy_Desc_IntervalStart(ctx context.Context,
		bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field) (
		bucket_storage_tally *BucketStorageTally, err error)

	Get_AccountingRollup_By_Id(ctx context.Context,
		accounting_rollup_id AccountingRollup_Id_Field) (
		accounting_rollup *AccountingRollup, err error)

	Get_ApiKey_By_Head(ctx context.Context,
		api_key_head ApiKey_Head_Field) (
		api_key *ApiKey, err error)

	Get_ApiKey_By_Id(ctx context.Context,
		api_key_id ApiKey_Id_Field) (
		api_key *ApiKey, err error)

	Get_ApiKey_By_Name_And_ProjectId(ctx context.Context,
		api_key_name ApiKey_Name_Field,
		api_key_project_id ApiKey_ProjectId_Field) (
		api_key *ApiKey, err error)

	Get_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name BucketMetainfo_Name_Field) (
		bucket_metainfo *BucketMetainfo, err error)

	Get_Coupon_By_Id(ctx context.Context,
		coupon_id Coupon_Id_Field) (
		coupon *Coupon, err error)

	Get_Credit_By_TransactionId(ctx context.Context,
		credit_transaction_id Credit_TransactionId_Field) (
		credit *Credit, err error)

	Get_GracefulExitProgress_By_NodeId(ctx context.Context,
		graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field) (
		graceful_exit_progress *GracefulExitProgress, err error)

	Get_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
		graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
		graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field) (
		graceful_exit_transfer_queue *GracefulExitTransferQueue, err error)

	Get_Irreparabledb_By_Segmentpath(ctx context.Context,
		irreparabledb_segmentpath Irreparabledb_Segmentpath_Field) (
		irreparabledb *Irreparabledb, err error)

	Get_Node_By_Id(ctx context.Context,
		node_id Node_Id_Field) (
		node *Node, err error)

	Get_Offer_By_Id(ctx context.Context,
		offer_id Offer_Id_Field) (
		offer *Offer, err error)

	Get_PeerIdentity_By_NodeId(ctx context.Context,
		peer_identity_node_id PeerIdentity_NodeId_Field) (
		peer_identity *PeerIdentity, err error)

	Get_PeerIdentity_LeafSerialNumber_By_NodeId(ctx context.Context,
		peer_identity_node_id PeerIdentity_NodeId_Field) (
		row *LeafSerialNumber_Row, err error)

	Get_PendingAudits_By_NodeId(ctx context.Context,
		pending_audits_node_id PendingAudits_NodeId_Field) (
		pending_audits *PendingAudits, err error)

	Get_ProjectInvoiceStamp_By_ProjectId_And_StartDate(ctx context.Context,
		project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field,
		project_invoice_stamp_start_date ProjectInvoiceStamp_StartDate_Field) (
		project_invoice_stamp *ProjectInvoiceStamp, err error)

	Get_Project_By_Id(ctx context.Context,
		project_id Project_Id_Field) (
		project *Project, err error)

	Get_Project_UsageLimit_By_Id(ctx context.Context,
		project_id Project_Id_Field) (
		row *UsageLimit_Row, err error)

	Get_RegistrationToken_By_OwnerId(ctx context.Context,
		registration_token_owner_id RegistrationToken_OwnerId_Field) (
		registration_token *RegistrationToken, err error)

	Get_RegistrationToken_By_Secret(ctx context.Context,
		registration_token_secret RegistrationToken_Secret_Field) (
		registration_token *RegistrationToken, err error)

	Get_ResetPasswordToken_By_OwnerId(ctx context.Context,
		reset_password_token_owner_id ResetPasswordToken_OwnerId_Field) (
		reset_password_token *ResetPasswordToken, err error)

	Get_ResetPasswordToken_By_Secret(ctx context.Context,
		reset_password_token_secret ResetPasswordToken_Secret_Field) (
		reset_password_token *ResetPasswordToken, err error)

	Get_StoragenodeStorageTally_By_Id(ctx context.Context,
		storagenode_storage_tally_id StoragenodeStorageTally_Id_Field) (
		storagenode_storage_tally *StoragenodeStorageTally, err error)

	Get_StripeCustomer_CustomerId_By_UserId(ctx context.Context,
		stripe_customer_user_id StripeCustomer_UserId_Field) (
		row *CustomerId_Row, err error)

	Get_StripecoinpaymentsInvoiceProjectRecord_By_ProjectId_And_PeriodStart_And_PeriodEnd(ctx context.Context,
		stripecoinpayments_invoice_project_record_project_id StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field,
		stripecoinpayments_invoice_project_record_period_start StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field,
		stripecoinpayments_invoice_project_record_period_end StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field) (
		stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

	Get_StripecoinpaymentsTxConversionRate_By_TxId(ctx context.Context,
		stripecoinpayments_tx_conversion_rate_tx_id StripecoinpaymentsTxConversionRate_TxId_Field) (
		stripecoinpayments_tx_conversion_rate *StripecoinpaymentsTxConversionRate, err error)

	Get_User_By_Id(ctx context.Context,
		user_id User_Id_Field) (
		user *User, err error)

	Get_User_By_NormalizedEmail_And_Status_Not_Number(ctx context.Context,
		user_normalized_email User_NormalizedEmail_Field) (
		user *User, err error)

	Get_ValueAttribution_By_ProjectId_And_BucketName(ctx context.Context,
		value_attribution_project_id ValueAttribution_ProjectId_Field,
		value_attribution_bucket_name ValueAttribution_BucketName_Field) (
		value_attribution *ValueAttribution, err error)

	Has_ConsumedSerial_By_StorageNodeId_And_SerialNumber(ctx context.Context,
		consumed_serial_storage_node_id ConsumedSerial_StorageNodeId_Field,
		consumed_serial_serial_number ConsumedSerial_SerialNumber_Field) (
		has bool, err error)

	Limited_BucketMetainfo_By_ProjectId_And_Name_GreaterOrEqual_OrderBy_Asc_Name(ctx context.Context,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name_greater_or_equal BucketMetainfo_Name_Field,
		limit int, offset int64) (
		rows []*BucketMetainfo, err error)

	Limited_BucketMetainfo_By_ProjectId_And_Name_Greater_OrderBy_Asc_Name(ctx context.Context,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name_greater BucketMetainfo_Name_Field,
		limit int, offset int64) (
		rows []*BucketMetainfo, err error)

	Limited_CoinpaymentsTransaction_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
		coinpayments_transaction_created_at_less_or_equal CoinpaymentsTransaction_CreatedAt_Field,
		coinpayments_transaction_status CoinpaymentsTransaction_Status_Field,
		limit int, offset int64) (
		rows []*CoinpaymentsTransaction, err error)

	Limited_CouponUsage_By_Period_LessOrEqual_And_Status_Equal_Number_OrderBy_Desc_Period(ctx context.Context,
		coupon_usage_period_less_or_equal CouponUsage_Period_Field,
		limit int, offset int64) (
		rows []*CouponUsage, err error)

	Limited_Coupon_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
		coupon_created_at_less_or_equal Coupon_CreatedAt_Field,
		coupon_status Coupon_Status_Field,
		limit int, offset int64) (
		rows []*Coupon, err error)

	Limited_Credit_By_UserId_And_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt(ctx context.Context,
		credit_user_id Credit_UserId_Field,
		credit_created_at_less_or_equal Credit_CreatedAt_Field,
		limit int, offset int64) (
		rows []*Credit, err error)

	Limited_CreditsSpending_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
		credits_spending_created_at_less_or_equal CreditsSpending_CreatedAt_Field,
		credits_spending_status CreditsSpending_Status_Field,
		limit int, offset int64) (
		rows []*CreditsSpending, err error)

	Limited_Irreparabledb_By_Segmentpath_Greater_OrderBy_Asc_Segmentpath(ctx context.Context,
		irreparabledb_segmentpath_greater Irreparabledb_Segmentpath_Field,
		limit int, offset int64) (
		rows []*Irreparabledb, err error)

	Limited_Node_By_Id_GreaterOrEqual_OrderBy_Asc_Id(ctx context.Context,
		node_id_greater_or_equal Node_Id_Field,
		limit int, offset int64) (
		rows []*Node, err error)

	Limited_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactFailure(ctx context.Context,
		limit int, offset int64) (
		rows []*Id_Address_LastContactSuccess_LastContactFailure_Row, err error)

	Limited_Node_Id_Node_LastNet_Node_Address_Node_Protocol_By_Id_GreaterOrEqual_And_Disqualified_Is_Null_OrderBy_Asc_Id(ctx context.Context,
		node_id_greater_or_equal Node_Id_Field,
		limit int, offset int64) (
		rows []*Id_LastNet_Address_Protocol_Row, err error)

	Limited_ProjectMember_By_ProjectId(ctx context.Context,
		project_member_project_id ProjectMember_ProjectId_Field,
		limit int, offset int64) (
		rows []*ProjectMember, err error)

	Limited_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt(ctx context.Context,
		project_created_at_less Project_CreatedAt_Field,
		limit int, offset int64) (
		rows []*Project, err error)

	Limited_StripeCustomer_By_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt(ctx context.Context,
		stripe_customer_created_at_less_or_equal StripeCustomer_CreatedAt_Field,
		limit int, offset int64) (
		rows []*StripeCustomer, err error)

	Limited_StripecoinpaymentsInvoiceProjectRecord_By_CreatedAt_LessOrEqual_And_State_OrderBy_Desc_CreatedAt(ctx context.Context,
		stripecoinpayments_invoice_project_record_created_at_less_or_equal StripecoinpaymentsInvoiceProjectRecord_CreatedAt_Field,
		stripecoinpayments_invoice_project_record_state StripecoinpaymentsInvoiceProjectRecord_State_Field,
		limit int, offset int64) (
		rows []*StripecoinpaymentsInvoiceProjectRecord, err error)

	Paged_PendingSerialQueue(ctx context.Context,
		limit int, start *Paged_PendingSerialQueue_Continuation) (
		rows []*PendingSerialQueue, next *Paged_PendingSerialQueue_Continuation, err error)

	ReplaceNoReturn_PendingSerialQueue(ctx context.Context,
		pending_serial_queue_storage_node_id PendingSerialQueue_StorageNodeId_Field,
		pending_serial_queue_bucket_id PendingSerialQueue_BucketId_Field,
		pending_serial_queue_serial_number PendingSerialQueue_SerialNumber_Field,
		pending_serial_queue_action PendingSerialQueue_Action_Field,
		pending_serial_queue_settled PendingSerialQueue_Settled_Field,
		pending_serial_queue_expires_at PendingSerialQueue_ExpiresAt_Field) (
		err error)

	UpdateNoReturn_AccountingTimestamps_By_Name(ctx context.Context,
		accounting_timestamps_name AccountingTimestamps_Name_Field,
		update AccountingTimestamps_Update_Fields) (
		err error)

	UpdateNoReturn_ApiKey_By_Id(ctx context.Context,
		api_key_id ApiKey_Id_Field,
		update ApiKey_Update_Fields) (
		err error)

	UpdateNoReturn_GracefulExitProgress_By_NodeId(ctx context.Context,
		graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field,
		update GracefulExitProgress_Update_Fields) (
		err error)

	UpdateNoReturn_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
		graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
		graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
		graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field,
		update GracefulExitTransferQueue_Update_Fields) (
		err error)

	UpdateNoReturn_Irreparabledb_By_Segmentpath(ctx context.Context,
		irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
		update Irreparabledb_Update_Fields) (
		err error)

	UpdateNoReturn_Node_By_Id(ctx context.Context,
		node_id Node_Id_Field,
		update Node_Update_Fields) (
		err error)

	UpdateNoReturn_Offer_By_Id(ctx context.Context,
		offer_id Offer_Id_Field,
		update Offer_Update_Fields) (
		err error)

	UpdateNoReturn_PeerIdentity_By_NodeId(ctx context.Context,
		peer_identity_node_id PeerIdentity_NodeId_Field,
		update PeerIdentity_Update_Fields) (
		err error)

	Update_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
		bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
		bucket_metainfo_name BucketMetainfo_Name_Field,
		update BucketMetainfo_Update_Fields) (
		bucket_metainfo *BucketMetainfo, err error)

	Update_CoinpaymentsTransaction_By_Id(ctx context.Context,
		coinpayments_transaction_id CoinpaymentsTransaction_Id_Field,
		update CoinpaymentsTransaction_Update_Fields) (
		coinpayments_transaction *CoinpaymentsTransaction, err error)

	Update_CouponUsage_By_CouponId_And_Period(ctx context.Context,
		coupon_usage_coupon_id CouponUsage_CouponId_Field,
		coupon_usage_period CouponUsage_Period_Field,
		update CouponUsage_Update_Fields) (
		coupon_usage *CouponUsage, err error)

	Update_Coupon_By_Id(ctx context.Context,
		coupon_id Coupon_Id_Field,
		update Coupon_Update_Fields) (
		coupon *Coupon, err error)

	Update_CreditsSpending_By_Id(ctx context.Context,
		credits_spending_id CreditsSpending_Id_Field,
		update CreditsSpending_Update_Fields) (
		credits_spending *CreditsSpending, err error)

	Update_Node_By_Id(ctx context.Context,
		node_id Node_Id_Field,
		update Node_Update_Fields) (
		node *Node, err error)

	Update_PendingAudits_By_NodeId(ctx context.Context,
		pending_audits_node_id PendingAudits_NodeId_Field,
		update PendingAudits_Update_Fields) (
		pending_audits *PendingAudits, err error)

	Update_Project_By_Id(ctx context.Context,
		project_id Project_Id_Field,
		update Project_Update_Fields) (
		project *Project, err error)

	Update_RegistrationToken_By_Secret(ctx context.Context,
		registration_token_secret RegistrationToken_Secret_Field,
		update RegistrationToken_Update_Fields) (
		registration_token *RegistrationToken, err error)

	Update_StripecoinpaymentsApplyBalanceIntent_By_TxId(ctx context.Context,
		stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field,
		update StripecoinpaymentsApplyBalanceIntent_Update_Fields) (
		stripecoinpayments_apply_balance_intent *StripecoinpaymentsApplyBalanceIntent, err error)

	Update_StripecoinpaymentsInvoiceProjectRecord_By_Id(ctx context.Context,
		stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field,
		update StripecoinpaymentsInvoiceProjectRecord_Update_Fields) (
		stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

	Update_User_By_Id(ctx context.Context,
		user_id User_Id_Field,
		update User_Update_Fields) (
		user *User, err error)
}

type Node

type Node struct {
	Id                    []byte
	Address               string
	LastNet               string
	Protocol              int
	Type                  int
	Email                 string
	Wallet                string
	FreeBandwidth         int64
	FreeDisk              int64
	PieceCount            int64
	Major                 int64
	Minor                 int64
	Patch                 int64
	Hash                  string
	Timestamp             time.Time
	Release               bool
	Latency90             int64
	AuditSuccessCount     int64
	TotalAuditCount       int64
	UptimeSuccessCount    int64
	TotalUptimeCount      int64
	CreatedAt             time.Time
	UpdatedAt             time.Time
	LastContactSuccess    time.Time
	LastContactFailure    time.Time
	Contained             bool
	Disqualified          *time.Time
	AuditReputationAlpha  float64
	AuditReputationBeta   float64
	UptimeReputationAlpha float64
	UptimeReputationBeta  float64
	ExitInitiatedAt       *time.Time
	ExitLoopCompletedAt   *time.Time
	ExitFinishedAt        *time.Time
	ExitSuccess           bool
}

type Node_Address_Field

type Node_Address_Field struct {
	// contains filtered or unexported fields
}

func Node_Address

func Node_Address(v string) Node_Address_Field

type Node_AuditReputationAlpha_Field added in v0.14.0

type Node_AuditReputationAlpha_Field struct {
	// contains filtered or unexported fields
}

func Node_AuditReputationAlpha added in v0.14.0

func Node_AuditReputationAlpha(v float64) Node_AuditReputationAlpha_Field

type Node_AuditReputationBeta_Field added in v0.14.0

type Node_AuditReputationBeta_Field struct {
	// contains filtered or unexported fields
}

func Node_AuditReputationBeta added in v0.14.0

func Node_AuditReputationBeta(v float64) Node_AuditReputationBeta_Field

type Node_AuditSuccessCount_Field

type Node_AuditSuccessCount_Field struct {
	// contains filtered or unexported fields
}

func Node_AuditSuccessCount

func Node_AuditSuccessCount(v int64) Node_AuditSuccessCount_Field

type Node_Contained_Field added in v0.12.0

type Node_Contained_Field struct {
	// contains filtered or unexported fields
}

func Node_Contained added in v0.12.0

func Node_Contained(v bool) Node_Contained_Field

type Node_Create_Fields added in v0.14.0

type Node_Create_Fields struct {
	Disqualified        Node_Disqualified_Field
	ExitInitiatedAt     Node_ExitInitiatedAt_Field
	ExitLoopCompletedAt Node_ExitLoopCompletedAt_Field
	ExitFinishedAt      Node_ExitFinishedAt_Field
}

type Node_CreatedAt_Field

type Node_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func Node_CreatedAt

func Node_CreatedAt(v time.Time) Node_CreatedAt_Field

type Node_Disqualified_Field added in v0.13.0

type Node_Disqualified_Field struct {
	// contains filtered or unexported fields
}

func Node_Disqualified added in v0.13.0

func Node_Disqualified(v time.Time) Node_Disqualified_Field

func Node_Disqualified_Null added in v0.14.0

func Node_Disqualified_Null() Node_Disqualified_Field

func Node_Disqualified_Raw added in v0.14.0

func Node_Disqualified_Raw(v *time.Time) Node_Disqualified_Field

type Node_Email_Field

type Node_Email_Field struct {
	// contains filtered or unexported fields
}

func Node_Email

func Node_Email(v string) Node_Email_Field

type Node_ExitFinishedAt_Field added in v0.21.0

type Node_ExitFinishedAt_Field struct {
	// contains filtered or unexported fields
}

func Node_ExitFinishedAt added in v0.21.0

func Node_ExitFinishedAt(v time.Time) Node_ExitFinishedAt_Field

func Node_ExitFinishedAt_Null added in v0.21.0

func Node_ExitFinishedAt_Null() Node_ExitFinishedAt_Field

func Node_ExitFinishedAt_Raw added in v0.21.0

func Node_ExitFinishedAt_Raw(v *time.Time) Node_ExitFinishedAt_Field

type Node_ExitInitiatedAt_Field added in v0.21.0

type Node_ExitInitiatedAt_Field struct {
	// contains filtered or unexported fields
}

func Node_ExitInitiatedAt added in v0.21.0

func Node_ExitInitiatedAt(v time.Time) Node_ExitInitiatedAt_Field

func Node_ExitInitiatedAt_Null added in v0.21.0

func Node_ExitInitiatedAt_Null() Node_ExitInitiatedAt_Field

func Node_ExitInitiatedAt_Raw added in v0.21.0

func Node_ExitInitiatedAt_Raw(v *time.Time) Node_ExitInitiatedAt_Field

type Node_ExitLoopCompletedAt_Field added in v0.21.0

type Node_ExitLoopCompletedAt_Field struct {
	// contains filtered or unexported fields
}

func Node_ExitLoopCompletedAt added in v0.21.0

func Node_ExitLoopCompletedAt(v time.Time) Node_ExitLoopCompletedAt_Field

func Node_ExitLoopCompletedAt_Null added in v0.21.0

func Node_ExitLoopCompletedAt_Null() Node_ExitLoopCompletedAt_Field

func Node_ExitLoopCompletedAt_Raw added in v0.21.0

func Node_ExitLoopCompletedAt_Raw(v *time.Time) Node_ExitLoopCompletedAt_Field

type Node_ExitSuccess_Field added in v0.24.0

type Node_ExitSuccess_Field struct {
	// contains filtered or unexported fields
}

func Node_ExitSuccess added in v0.24.0

func Node_ExitSuccess(v bool) Node_ExitSuccess_Field

type Node_FreeBandwidth_Field

type Node_FreeBandwidth_Field struct {
	// contains filtered or unexported fields
}

func Node_FreeBandwidth

func Node_FreeBandwidth(v int64) Node_FreeBandwidth_Field

type Node_FreeDisk_Field

type Node_FreeDisk_Field struct {
	// contains filtered or unexported fields
}

func Node_FreeDisk

func Node_FreeDisk(v int64) Node_FreeDisk_Field

type Node_Hash_Field added in v0.8.1

type Node_Hash_Field struct {
	// contains filtered or unexported fields
}

func Node_Hash added in v0.8.1

func Node_Hash(v string) Node_Hash_Field

type Node_Id_Field

type Node_Id_Field struct {
	// contains filtered or unexported fields
}

func Node_Id

func Node_Id(v []byte) Node_Id_Field

type Node_LastContactFailure_Field

type Node_LastContactFailure_Field struct {
	// contains filtered or unexported fields
}

func Node_LastContactFailure

func Node_LastContactFailure(v time.Time) Node_LastContactFailure_Field

type Node_LastContactSuccess_Field

type Node_LastContactSuccess_Field struct {
	// contains filtered or unexported fields
}

func Node_LastContactSuccess

func Node_LastContactSuccess(v time.Time) Node_LastContactSuccess_Field

type Node_LastNet_Field added in v0.14.0

type Node_LastNet_Field struct {
	// contains filtered or unexported fields
}

func Node_LastNet added in v0.14.0

func Node_LastNet(v string) Node_LastNet_Field

type Node_Latency90_Field

type Node_Latency90_Field struct {
	// contains filtered or unexported fields
}

func Node_Latency90

func Node_Latency90(v int64) Node_Latency90_Field

type Node_Major_Field added in v0.8.1

type Node_Major_Field struct {
	// contains filtered or unexported fields
}

func Node_Major added in v0.8.1

func Node_Major(v int64) Node_Major_Field

type Node_Minor_Field added in v0.8.1

type Node_Minor_Field struct {
	// contains filtered or unexported fields
}

func Node_Minor added in v0.8.1

func Node_Minor(v int64) Node_Minor_Field

type Node_Patch_Field added in v0.8.1

type Node_Patch_Field struct {
	// contains filtered or unexported fields
}

func Node_Patch added in v0.8.1

func Node_Patch(v int64) Node_Patch_Field

type Node_PieceCount_Field added in v0.18.0

type Node_PieceCount_Field struct {
	// contains filtered or unexported fields
}

func Node_PieceCount added in v0.18.0

func Node_PieceCount(v int64) Node_PieceCount_Field

type Node_Protocol_Field

type Node_Protocol_Field struct {
	// contains filtered or unexported fields
}

func Node_Protocol

func Node_Protocol(v int) Node_Protocol_Field

type Node_Release_Field added in v0.8.1

type Node_Release_Field struct {
	// contains filtered or unexported fields
}

func Node_Release added in v0.8.1

func Node_Release(v bool) Node_Release_Field

type Node_Timestamp_Field added in v0.8.1

type Node_Timestamp_Field struct {
	// contains filtered or unexported fields
}

func Node_Timestamp added in v0.8.1

func Node_Timestamp(v time.Time) Node_Timestamp_Field

type Node_TotalAuditCount_Field

type Node_TotalAuditCount_Field struct {
	// contains filtered or unexported fields
}

func Node_TotalAuditCount

func Node_TotalAuditCount(v int64) Node_TotalAuditCount_Field

type Node_TotalUptimeCount_Field

type Node_TotalUptimeCount_Field struct {
	// contains filtered or unexported fields
}

func Node_TotalUptimeCount

func Node_TotalUptimeCount(v int64) Node_TotalUptimeCount_Field

type Node_Type_Field

type Node_Type_Field struct {
	// contains filtered or unexported fields
}

func Node_Type

func Node_Type(v int) Node_Type_Field

type Node_UpdatedAt_Field

type Node_UpdatedAt_Field struct {
	// contains filtered or unexported fields
}

func Node_UpdatedAt

func Node_UpdatedAt(v time.Time) Node_UpdatedAt_Field

type Node_UptimeReputationAlpha_Field added in v0.14.0

type Node_UptimeReputationAlpha_Field struct {
	// contains filtered or unexported fields
}

func Node_UptimeReputationAlpha added in v0.14.0

func Node_UptimeReputationAlpha(v float64) Node_UptimeReputationAlpha_Field

type Node_UptimeReputationBeta_Field added in v0.14.0

type Node_UptimeReputationBeta_Field struct {
	// contains filtered or unexported fields
}

func Node_UptimeReputationBeta added in v0.14.0

func Node_UptimeReputationBeta(v float64) Node_UptimeReputationBeta_Field

type Node_UptimeSuccessCount_Field

type Node_UptimeSuccessCount_Field struct {
	// contains filtered or unexported fields
}

func Node_UptimeSuccessCount

func Node_UptimeSuccessCount(v int64) Node_UptimeSuccessCount_Field

type Node_Wallet_Field

type Node_Wallet_Field struct {
	// contains filtered or unexported fields
}

func Node_Wallet

func Node_Wallet(v string) Node_Wallet_Field

type NodesOfflineTime added in v0.29.0

type NodesOfflineTime struct {
	NodeId    []byte
	TrackedAt time.Time
	Seconds   int
}

type NodesOfflineTime_NodeId_Field added in v0.29.0

type NodesOfflineTime_NodeId_Field struct {
	// contains filtered or unexported fields
}

func NodesOfflineTime_NodeId added in v0.29.0

func NodesOfflineTime_NodeId(v []byte) NodesOfflineTime_NodeId_Field

type NodesOfflineTime_Seconds_Field added in v0.29.0

type NodesOfflineTime_Seconds_Field struct {
	// contains filtered or unexported fields
}

func NodesOfflineTime_Seconds added in v0.29.0

func NodesOfflineTime_Seconds(v int) NodesOfflineTime_Seconds_Field

type NodesOfflineTime_TrackedAt_Field added in v0.29.0

type NodesOfflineTime_TrackedAt_Field struct {
	// contains filtered or unexported fields
}

func NodesOfflineTime_TrackedAt added in v0.29.0

func NodesOfflineTime_TrackedAt(v time.Time) NodesOfflineTime_TrackedAt_Field

type NodesOfflineTime_Update_Fields added in v0.29.0

type NodesOfflineTime_Update_Fields struct {
}

type Offer added in v0.12.0

type Offer struct {
	Id                        int
	Name                      string
	Description               string
	AwardCreditInCents        int
	InviteeCreditInCents      int
	AwardCreditDurationDays   *int
	InviteeCreditDurationDays *int
	RedeemableCap             *int
	ExpiresAt                 time.Time
	CreatedAt                 time.Time
	Status                    int
	Type                      int
}

type Offer_AwardCreditDurationDays_Field added in v0.12.0

type Offer_AwardCreditDurationDays_Field struct {
	// contains filtered or unexported fields
}

func Offer_AwardCreditDurationDays added in v0.12.0

func Offer_AwardCreditDurationDays(v int) Offer_AwardCreditDurationDays_Field

func Offer_AwardCreditDurationDays_Null added in v0.15.0

func Offer_AwardCreditDurationDays_Null() Offer_AwardCreditDurationDays_Field

func Offer_AwardCreditDurationDays_Raw added in v0.15.0

func Offer_AwardCreditDurationDays_Raw(v *int) Offer_AwardCreditDurationDays_Field

type Offer_AwardCreditInCents_Field added in v0.13.0

type Offer_AwardCreditInCents_Field struct {
	// contains filtered or unexported fields
}

func Offer_AwardCreditInCents added in v0.13.0

func Offer_AwardCreditInCents(v int) Offer_AwardCreditInCents_Field

type Offer_Create_Fields added in v0.15.0

type Offer_Create_Fields struct {
	AwardCreditDurationDays   Offer_AwardCreditDurationDays_Field
	InviteeCreditDurationDays Offer_InviteeCreditDurationDays_Field
	RedeemableCap             Offer_RedeemableCap_Field
}

type Offer_CreatedAt_Field added in v0.12.0

type Offer_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func Offer_CreatedAt added in v0.12.0

func Offer_CreatedAt(v time.Time) Offer_CreatedAt_Field

type Offer_Description_Field added in v0.12.0

type Offer_Description_Field struct {
	// contains filtered or unexported fields
}

func Offer_Description added in v0.12.0

func Offer_Description(v string) Offer_Description_Field

type Offer_ExpiresAt_Field added in v0.12.0

type Offer_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func Offer_ExpiresAt added in v0.12.0

func Offer_ExpiresAt(v time.Time) Offer_ExpiresAt_Field

type Offer_Id_Field added in v0.12.0

type Offer_Id_Field struct {
	// contains filtered or unexported fields
}

func Offer_Id added in v0.12.0

func Offer_Id(v int) Offer_Id_Field

type Offer_InviteeCreditDurationDays_Field added in v0.12.0

type Offer_InviteeCreditDurationDays_Field struct {
	// contains filtered or unexported fields
}

func Offer_InviteeCreditDurationDays added in v0.12.0

func Offer_InviteeCreditDurationDays(v int) Offer_InviteeCreditDurationDays_Field

func Offer_InviteeCreditDurationDays_Null added in v0.15.0

func Offer_InviteeCreditDurationDays_Null() Offer_InviteeCreditDurationDays_Field

func Offer_InviteeCreditDurationDays_Raw added in v0.15.0

func Offer_InviteeCreditDurationDays_Raw(v *int) Offer_InviteeCreditDurationDays_Field

type Offer_InviteeCreditInCents_Field added in v0.13.0

type Offer_InviteeCreditInCents_Field struct {
	// contains filtered or unexported fields
}

func Offer_InviteeCreditInCents added in v0.13.0

func Offer_InviteeCreditInCents(v int) Offer_InviteeCreditInCents_Field

type Offer_Name_Field added in v0.12.0

type Offer_Name_Field struct {
	// contains filtered or unexported fields
}

func Offer_Name added in v0.12.0

func Offer_Name(v string) Offer_Name_Field

type Offer_RedeemableCap_Field added in v0.12.0

type Offer_RedeemableCap_Field struct {
	// contains filtered or unexported fields
}

func Offer_RedeemableCap added in v0.12.0

func Offer_RedeemableCap(v int) Offer_RedeemableCap_Field

func Offer_RedeemableCap_Null added in v0.15.0

func Offer_RedeemableCap_Null() Offer_RedeemableCap_Field

func Offer_RedeemableCap_Raw added in v0.15.0

func Offer_RedeemableCap_Raw(v *int) Offer_RedeemableCap_Field

type Offer_Status_Field added in v0.12.0

type Offer_Status_Field struct {
	// contains filtered or unexported fields
}

func Offer_Status added in v0.12.0

func Offer_Status(v int) Offer_Status_Field

type Offer_Type_Field added in v0.12.0

type Offer_Type_Field struct {
	// contains filtered or unexported fields
}

func Offer_Type added in v0.12.0

func Offer_Type(v int) Offer_Type_Field

type Offer_Update_Fields added in v0.12.0

type Offer_Update_Fields struct {
	Name                      Offer_Name_Field
	Description               Offer_Description_Field
	AwardCreditInCents        Offer_AwardCreditInCents_Field
	InviteeCreditInCents      Offer_InviteeCreditInCents_Field
	AwardCreditDurationDays   Offer_AwardCreditDurationDays_Field
	InviteeCreditDurationDays Offer_InviteeCreditDurationDays_Field
	RedeemableCap             Offer_RedeemableCap_Field
	ExpiresAt                 Offer_ExpiresAt_Field
	Status                    Offer_Status_Field
	Type                      Offer_Type_Field
}

type Paged_PendingSerialQueue_Continuation added in v0.34.1

type Paged_PendingSerialQueue_Continuation struct {
	// contains filtered or unexported fields
}

type PeerIdentity added in v0.19.0

type PeerIdentity struct {
	NodeId           []byte
	LeafSerialNumber []byte
	Chain            []byte
	UpdatedAt        time.Time
}

type PeerIdentity_Chain_Field added in v0.19.0

type PeerIdentity_Chain_Field struct {
	// contains filtered or unexported fields
}

func PeerIdentity_Chain added in v0.19.0

func PeerIdentity_Chain(v []byte) PeerIdentity_Chain_Field

type PeerIdentity_LeafSerialNumber_Field added in v0.19.0

type PeerIdentity_LeafSerialNumber_Field struct {
	// contains filtered or unexported fields
}

func PeerIdentity_LeafSerialNumber added in v0.19.0

func PeerIdentity_LeafSerialNumber(v []byte) PeerIdentity_LeafSerialNumber_Field

type PeerIdentity_NodeId_Field added in v0.19.0

type PeerIdentity_NodeId_Field struct {
	// contains filtered or unexported fields
}

func PeerIdentity_NodeId added in v0.19.0

func PeerIdentity_NodeId(v []byte) PeerIdentity_NodeId_Field

type PeerIdentity_Update_Fields added in v0.19.0

type PeerIdentity_Update_Fields struct {
	LeafSerialNumber PeerIdentity_LeafSerialNumber_Field
	Chain            PeerIdentity_Chain_Field
}

type PeerIdentity_UpdatedAt_Field added in v0.19.0

type PeerIdentity_UpdatedAt_Field struct {
	// contains filtered or unexported fields
}

func PeerIdentity_UpdatedAt added in v0.19.0

func PeerIdentity_UpdatedAt(v time.Time) PeerIdentity_UpdatedAt_Field

type PendingAudits added in v0.12.0

type PendingAudits struct {
	NodeId            []byte
	PieceId           []byte
	StripeIndex       int64
	ShareSize         int64
	ExpectedShareHash []byte
	ReverifyCount     int64
	Path              []byte
}

type PendingAudits_ExpectedShareHash_Field added in v0.12.0

type PendingAudits_ExpectedShareHash_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_ExpectedShareHash added in v0.12.0

func PendingAudits_ExpectedShareHash(v []byte) PendingAudits_ExpectedShareHash_Field

type PendingAudits_NodeId_Field added in v0.12.0

type PendingAudits_NodeId_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_NodeId added in v0.12.0

func PendingAudits_NodeId(v []byte) PendingAudits_NodeId_Field

type PendingAudits_Path_Field added in v0.16.0

type PendingAudits_Path_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_Path added in v0.16.0

func PendingAudits_Path(v []byte) PendingAudits_Path_Field

type PendingAudits_PieceId_Field added in v0.12.0

type PendingAudits_PieceId_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_PieceId added in v0.12.0

func PendingAudits_PieceId(v []byte) PendingAudits_PieceId_Field

type PendingAudits_ReverifyCount_Field added in v0.12.0

type PendingAudits_ReverifyCount_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_ReverifyCount added in v0.12.0

func PendingAudits_ReverifyCount(v int64) PendingAudits_ReverifyCount_Field

type PendingAudits_ShareSize_Field added in v0.12.0

type PendingAudits_ShareSize_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_ShareSize added in v0.12.0

func PendingAudits_ShareSize(v int64) PendingAudits_ShareSize_Field

type PendingAudits_StripeIndex_Field added in v0.12.0

type PendingAudits_StripeIndex_Field struct {
	// contains filtered or unexported fields
}

func PendingAudits_StripeIndex added in v0.12.0

func PendingAudits_StripeIndex(v int64) PendingAudits_StripeIndex_Field

type PendingAudits_Update_Fields added in v0.12.0

type PendingAudits_Update_Fields struct {
	ReverifyCount PendingAudits_ReverifyCount_Field
}

type PendingSerialQueue added in v0.34.1

type PendingSerialQueue struct {
	StorageNodeId []byte
	BucketId      []byte
	SerialNumber  []byte
	Action        uint
	Settled       uint64
	ExpiresAt     time.Time
}

type PendingSerialQueue_Action_Field added in v0.34.1

type PendingSerialQueue_Action_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_Action added in v0.34.1

func PendingSerialQueue_Action(v uint) PendingSerialQueue_Action_Field

type PendingSerialQueue_BucketId_Field added in v0.34.1

type PendingSerialQueue_BucketId_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_BucketId added in v0.34.1

func PendingSerialQueue_BucketId(v []byte) PendingSerialQueue_BucketId_Field

type PendingSerialQueue_ExpiresAt_Field added in v0.34.1

type PendingSerialQueue_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_ExpiresAt added in v0.34.1

func PendingSerialQueue_ExpiresAt(v time.Time) PendingSerialQueue_ExpiresAt_Field

type PendingSerialQueue_SerialNumber_Field added in v0.34.1

type PendingSerialQueue_SerialNumber_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_SerialNumber added in v0.34.1

func PendingSerialQueue_SerialNumber(v []byte) PendingSerialQueue_SerialNumber_Field

type PendingSerialQueue_Settled_Field added in v0.34.1

type PendingSerialQueue_Settled_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_Settled added in v0.34.1

func PendingSerialQueue_Settled(v uint64) PendingSerialQueue_Settled_Field

type PendingSerialQueue_StorageNodeId_Field added in v0.34.1

type PendingSerialQueue_StorageNodeId_Field struct {
	// contains filtered or unexported fields
}

func PendingSerialQueue_StorageNodeId added in v0.34.1

func PendingSerialQueue_StorageNodeId(v []byte) PendingSerialQueue_StorageNodeId_Field

type PendingSerialQueue_Update_Fields added in v0.34.1

type PendingSerialQueue_Update_Fields struct {
}

type Project

type Project struct {
	Id          []byte
	Name        string
	Description string
	UsageLimit  int64
	RateLimit   *int
	PartnerId   []byte
	OwnerId     []byte
	CreatedAt   time.Time
}

type ProjectInvoiceStamp added in v0.13.0

type ProjectInvoiceStamp struct {
	ProjectId []byte
	InvoiceId []byte
	StartDate time.Time
	EndDate   time.Time
	CreatedAt time.Time
}

type ProjectInvoiceStamp_CreatedAt_Field added in v0.13.0

type ProjectInvoiceStamp_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func ProjectInvoiceStamp_CreatedAt added in v0.13.0

func ProjectInvoiceStamp_CreatedAt(v time.Time) ProjectInvoiceStamp_CreatedAt_Field

type ProjectInvoiceStamp_EndDate_Field added in v0.13.0

type ProjectInvoiceStamp_EndDate_Field struct {
	// contains filtered or unexported fields
}

func ProjectInvoiceStamp_EndDate added in v0.13.0

func ProjectInvoiceStamp_EndDate(v time.Time) ProjectInvoiceStamp_EndDate_Field

type ProjectInvoiceStamp_InvoiceId_Field added in v0.13.0

type ProjectInvoiceStamp_InvoiceId_Field struct {
	// contains filtered or unexported fields
}

func ProjectInvoiceStamp_InvoiceId added in v0.13.0

func ProjectInvoiceStamp_InvoiceId(v []byte) ProjectInvoiceStamp_InvoiceId_Field

type ProjectInvoiceStamp_ProjectId_Field added in v0.13.0

type ProjectInvoiceStamp_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func ProjectInvoiceStamp_ProjectId added in v0.13.0

func ProjectInvoiceStamp_ProjectId(v []byte) ProjectInvoiceStamp_ProjectId_Field

type ProjectInvoiceStamp_StartDate_Field added in v0.13.0

type ProjectInvoiceStamp_StartDate_Field struct {
	// contains filtered or unexported fields
}

func ProjectInvoiceStamp_StartDate added in v0.13.0

func ProjectInvoiceStamp_StartDate(v time.Time) ProjectInvoiceStamp_StartDate_Field

type ProjectInvoiceStamp_Update_Fields added in v0.13.0

type ProjectInvoiceStamp_Update_Fields struct {
}

type ProjectMember

type ProjectMember struct {
	MemberId  []byte
	ProjectId []byte
	CreatedAt time.Time
}

type ProjectMember_CreatedAt_Field

type ProjectMember_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func ProjectMember_CreatedAt

func ProjectMember_CreatedAt(v time.Time) ProjectMember_CreatedAt_Field

type ProjectMember_MemberId_Field

type ProjectMember_MemberId_Field struct {
	// contains filtered or unexported fields
}

func ProjectMember_MemberId

func ProjectMember_MemberId(v []byte) ProjectMember_MemberId_Field

type ProjectMember_ProjectId_Field

type ProjectMember_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func ProjectMember_ProjectId

func ProjectMember_ProjectId(v []byte) ProjectMember_ProjectId_Field

type ProjectMember_Update_Fields

type ProjectMember_Update_Fields struct {
}

type Project_Create_Fields added in v0.15.0

type Project_Create_Fields struct {
	RateLimit Project_RateLimit_Field
	PartnerId Project_PartnerId_Field
}

type Project_CreatedAt_Field

type Project_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func Project_CreatedAt

func Project_CreatedAt(v time.Time) Project_CreatedAt_Field

type Project_Description_Field

type Project_Description_Field struct {
	// contains filtered or unexported fields
}

func Project_Description

func Project_Description(v string) Project_Description_Field

type Project_Id_Field

type Project_Id_Field struct {
	// contains filtered or unexported fields
}

func Project_Id

func Project_Id(v []byte) Project_Id_Field

type Project_Name_Field

type Project_Name_Field struct {
	// contains filtered or unexported fields
}

func Project_Name

func Project_Name(v string) Project_Name_Field

type Project_OwnerId_Field added in v0.17.0

type Project_OwnerId_Field struct {
	// contains filtered or unexported fields
}

func Project_OwnerId added in v0.17.0

func Project_OwnerId(v []byte) Project_OwnerId_Field

type Project_PartnerId_Field added in v0.15.0

type Project_PartnerId_Field struct {
	// contains filtered or unexported fields
}

func Project_PartnerId added in v0.15.0

func Project_PartnerId(v []byte) Project_PartnerId_Field

func Project_PartnerId_Null added in v0.15.0

func Project_PartnerId_Null() Project_PartnerId_Field

func Project_PartnerId_Raw added in v0.15.0

func Project_PartnerId_Raw(v []byte) Project_PartnerId_Field

type Project_RateLimit_Field added in v0.31.0

type Project_RateLimit_Field struct {
	// contains filtered or unexported fields
}

func Project_RateLimit added in v0.31.0

func Project_RateLimit(v int) Project_RateLimit_Field

func Project_RateLimit_Null added in v0.31.0

func Project_RateLimit_Null() Project_RateLimit_Field

func Project_RateLimit_Raw added in v0.31.0

func Project_RateLimit_Raw(v *int) Project_RateLimit_Field

type Project_Update_Fields

type Project_Update_Fields struct {
	Description Project_Description_Field
	UsageLimit  Project_UsageLimit_Field
	RateLimit   Project_RateLimit_Field
}

type Project_UsageLimit_Field added in v0.13.0

type Project_UsageLimit_Field struct {
	// contains filtered or unexported fields
}

func Project_UsageLimit added in v0.13.0

func Project_UsageLimit(v int64) Project_UsageLimit_Field

type RegistrationToken

type RegistrationToken struct {
	Secret       []byte
	OwnerId      []byte
	ProjectLimit int
	CreatedAt    time.Time
}

type RegistrationToken_Create_Fields

type RegistrationToken_Create_Fields struct {
	OwnerId RegistrationToken_OwnerId_Field
}

type RegistrationToken_CreatedAt_Field

type RegistrationToken_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func RegistrationToken_CreatedAt

func RegistrationToken_CreatedAt(v time.Time) RegistrationToken_CreatedAt_Field

type RegistrationToken_OwnerId_Field

type RegistrationToken_OwnerId_Field struct {
	// contains filtered or unexported fields
}

func RegistrationToken_OwnerId

func RegistrationToken_OwnerId(v []byte) RegistrationToken_OwnerId_Field

func RegistrationToken_OwnerId_Null

func RegistrationToken_OwnerId_Null() RegistrationToken_OwnerId_Field

func RegistrationToken_OwnerId_Raw

func RegistrationToken_OwnerId_Raw(v []byte) RegistrationToken_OwnerId_Field

type RegistrationToken_ProjectLimit_Field

type RegistrationToken_ProjectLimit_Field struct {
	// contains filtered or unexported fields
}

func RegistrationToken_ProjectLimit

func RegistrationToken_ProjectLimit(v int) RegistrationToken_ProjectLimit_Field

type RegistrationToken_Secret_Field

type RegistrationToken_Secret_Field struct {
	// contains filtered or unexported fields
}

func RegistrationToken_Secret

func RegistrationToken_Secret(v []byte) RegistrationToken_Secret_Field

type RegistrationToken_Update_Fields

type RegistrationToken_Update_Fields struct {
	OwnerId RegistrationToken_OwnerId_Field
}

type ReportedSerial added in v0.30.0

type ReportedSerial struct {
	ExpiresAt     time.Time
	StorageNodeId []byte
	BucketId      []byte
	Action        uint
	SerialNumber  []byte
	Settled       uint64
	ObservedAt    time.Time
}

type ReportedSerial_Action_Field added in v0.30.0

type ReportedSerial_Action_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_Action added in v0.30.0

func ReportedSerial_Action(v uint) ReportedSerial_Action_Field

type ReportedSerial_BucketId_Field added in v0.30.0

type ReportedSerial_BucketId_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_BucketId added in v0.30.0

func ReportedSerial_BucketId(v []byte) ReportedSerial_BucketId_Field

type ReportedSerial_ExpiresAt_Field added in v0.30.0

type ReportedSerial_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_ExpiresAt added in v0.30.0

func ReportedSerial_ExpiresAt(v time.Time) ReportedSerial_ExpiresAt_Field

type ReportedSerial_ObservedAt_Field added in v0.30.0

type ReportedSerial_ObservedAt_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_ObservedAt added in v0.30.0

func ReportedSerial_ObservedAt(v time.Time) ReportedSerial_ObservedAt_Field

type ReportedSerial_SerialNumber_Field added in v0.30.0

type ReportedSerial_SerialNumber_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_SerialNumber added in v0.30.0

func ReportedSerial_SerialNumber(v []byte) ReportedSerial_SerialNumber_Field

type ReportedSerial_Settled_Field added in v0.30.0

type ReportedSerial_Settled_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_Settled added in v0.30.0

func ReportedSerial_Settled(v uint64) ReportedSerial_Settled_Field

type ReportedSerial_StorageNodeId_Field added in v0.30.0

type ReportedSerial_StorageNodeId_Field struct {
	// contains filtered or unexported fields
}

func ReportedSerial_StorageNodeId added in v0.30.0

func ReportedSerial_StorageNodeId(v []byte) ReportedSerial_StorageNodeId_Field

type ReportedSerial_Update_Fields added in v0.30.0

type ReportedSerial_Update_Fields struct {
}

type ResetPasswordToken added in v0.12.0

type ResetPasswordToken struct {
	Secret    []byte
	OwnerId   []byte
	CreatedAt time.Time
}

type ResetPasswordToken_CreatedAt_Field added in v0.12.0

type ResetPasswordToken_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func ResetPasswordToken_CreatedAt added in v0.12.0

func ResetPasswordToken_CreatedAt(v time.Time) ResetPasswordToken_CreatedAt_Field

type ResetPasswordToken_OwnerId_Field added in v0.12.0

type ResetPasswordToken_OwnerId_Field struct {
	// contains filtered or unexported fields
}

func ResetPasswordToken_OwnerId added in v0.12.0

func ResetPasswordToken_OwnerId(v []byte) ResetPasswordToken_OwnerId_Field

type ResetPasswordToken_Secret_Field added in v0.12.0

type ResetPasswordToken_Secret_Field struct {
	// contains filtered or unexported fields
}

func ResetPasswordToken_Secret added in v0.12.0

func ResetPasswordToken_Secret(v []byte) ResetPasswordToken_Secret_Field

type ResetPasswordToken_Update_Fields added in v0.12.0

type ResetPasswordToken_Update_Fields struct {
	OwnerId ResetPasswordToken_OwnerId_Field
}

type Rx

type Rx struct {
	// contains filtered or unexported fields
}

func (*Rx) All_AccountingRollup_By_StartTime_GreaterOrEqual

func (rx *Rx) All_AccountingRollup_By_StartTime_GreaterOrEqual(ctx context.Context,
	accounting_rollup_start_time_greater_or_equal AccountingRollup_StartTime_Field) (
	rows []*AccountingRollup, err error)

func (*Rx) All_ApiKey_By_ProjectId_OrderBy_Asc_Name

func (rx *Rx) All_ApiKey_By_ProjectId_OrderBy_Asc_Name(ctx context.Context,
	api_key_project_id ApiKey_ProjectId_Field) (
	rows []*ApiKey, err error)

func (*Rx) All_BucketStorageTally added in v0.21.0

func (rx *Rx) All_BucketStorageTally(ctx context.Context) (
	rows []*BucketStorageTally, err error)

func (*Rx) All_BucketStorageTally_By_ProjectId_And_BucketName_And_IntervalStart_GreaterOrEqual_And_IntervalStart_LessOrEqual_OrderBy_Desc_IntervalStart added in v0.9.0

func (rx *Rx) All_BucketStorageTally_By_ProjectId_And_BucketName_And_IntervalStart_GreaterOrEqual_And_IntervalStart_LessOrEqual_OrderBy_Desc_IntervalStart(ctx context.Context,
	bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field,
	bucket_storage_tally_bucket_name BucketStorageTally_BucketName_Field,
	bucket_storage_tally_interval_start_greater_or_equal BucketStorageTally_IntervalStart_Field,
	bucket_storage_tally_interval_start_less_or_equal BucketStorageTally_IntervalStart_Field) (
	rows []*BucketStorageTally, err error)

func (*Rx) All_CoinpaymentsTransaction_By_UserId_OrderBy_Desc_CreatedAt added in v0.26.0

func (rx *Rx) All_CoinpaymentsTransaction_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
	coinpayments_transaction_user_id CoinpaymentsTransaction_UserId_Field) (
	rows []*CoinpaymentsTransaction, err error)

func (*Rx) All_Coupon_By_ProjectId_And_Status_Equal_Number_OrderBy_Desc_CreatedAt added in v0.30.0

func (rx *Rx) All_Coupon_By_ProjectId_And_Status_Equal_Number_OrderBy_Desc_CreatedAt(ctx context.Context,
	coupon_project_id Coupon_ProjectId_Field) (
	rows []*Coupon, err error)

func (*Rx) All_Coupon_By_Status_OrderBy_Desc_CreatedAt added in v0.27.0

func (rx *Rx) All_Coupon_By_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
	coupon_status Coupon_Status_Field) (
	rows []*Coupon, err error)

func (*Rx) All_Coupon_By_UserId_And_Status_OrderBy_Desc_CreatedAt added in v0.30.0

func (rx *Rx) All_Coupon_By_UserId_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
	coupon_user_id Coupon_UserId_Field,
	coupon_status Coupon_Status_Field) (
	rows []*Coupon, err error)

func (*Rx) All_Coupon_By_UserId_OrderBy_Desc_CreatedAt added in v0.27.0

func (rx *Rx) All_Coupon_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
	coupon_user_id Coupon_UserId_Field) (
	rows []*Coupon, err error)

func (*Rx) All_Credit_By_UserId_OrderBy_Desc_CreatedAt added in v0.33.2

func (rx *Rx) All_Credit_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
	credit_user_id Credit_UserId_Field) (
	rows []*Credit, err error)

func (*Rx) All_CreditsSpending_By_UserId_OrderBy_Desc_CreatedAt added in v0.33.2

func (rx *Rx) All_CreditsSpending_By_UserId_OrderBy_Desc_CreatedAt(ctx context.Context,
	credits_spending_user_id CreditsSpending_UserId_Field) (
	rows []*CreditsSpending, err error)

func (*Rx) All_Node_Id

func (rx *Rx) All_Node_Id(ctx context.Context) (
	rows []*Id_Row, err error)

func (*Rx) All_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_And_LastContactSuccess_Greater_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactSuccess added in v0.29.0

func (rx *Rx) All_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_And_LastContactSuccess_Greater_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactSuccess(ctx context.Context,
	node_last_contact_success_less Node_LastContactSuccess_Field) (
	rows []*Id_Address_LastContactSuccess_LastContactFailure_Row, err error)

func (*Rx) All_Node_Id_Node_PieceCount_By_PieceCount_Not_Number added in v0.19.1

func (rx *Rx) All_Node_Id_Node_PieceCount_By_PieceCount_Not_Number(ctx context.Context) (
	rows []*Id_PieceCount_Row, err error)

func (*Rx) All_NodesOfflineTime_By_NodeId_And_TrackedAt_Greater_And_TrackedAt_LessOrEqual added in v0.29.0

func (rx *Rx) All_NodesOfflineTime_By_NodeId_And_TrackedAt_Greater_And_TrackedAt_LessOrEqual(ctx context.Context,
	nodes_offline_time_node_id NodesOfflineTime_NodeId_Field,
	nodes_offline_time_tracked_at_greater NodesOfflineTime_TrackedAt_Field,
	nodes_offline_time_tracked_at_less_or_equal NodesOfflineTime_TrackedAt_Field) (
	rows []*NodesOfflineTime, err error)

func (*Rx) All_Offer_OrderBy_Asc_Id added in v0.15.0

func (rx *Rx) All_Offer_OrderBy_Asc_Id(ctx context.Context) (
	rows []*Offer, err error)

func (*Rx) All_Project

func (rx *Rx) All_Project(ctx context.Context) (
	rows []*Project, err error)

func (*Rx) All_ProjectInvoiceStamp_By_ProjectId_OrderBy_Desc_StartDate added in v0.13.0

func (rx *Rx) All_ProjectInvoiceStamp_By_ProjectId_OrderBy_Desc_StartDate(ctx context.Context,
	project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field) (
	rows []*ProjectInvoiceStamp, err error)

func (*Rx) All_ProjectMember_By_MemberId

func (rx *Rx) All_ProjectMember_By_MemberId(ctx context.Context,
	project_member_member_id ProjectMember_MemberId_Field) (
	rows []*ProjectMember, err error)

func (*Rx) All_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt added in v0.13.0

func (rx *Rx) All_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt(ctx context.Context,
	project_created_at_less Project_CreatedAt_Field) (
	rows []*Project, err error)

func (*Rx) All_Project_By_OwnerId_OrderBy_Asc_CreatedAt added in v0.26.0

func (rx *Rx) All_Project_By_OwnerId_OrderBy_Asc_CreatedAt(ctx context.Context,
	project_owner_id Project_OwnerId_Field) (
	rows []*Project, err error)

func (*Rx) All_Project_By_ProjectMember_MemberId_OrderBy_Asc_Project_Name

func (rx *Rx) All_Project_By_ProjectMember_MemberId_OrderBy_Asc_Project_Name(ctx context.Context,
	project_member_member_id ProjectMember_MemberId_Field) (
	rows []*Project, err error)

func (*Rx) All_StoragenodeBandwidthRollup_By_IntervalStart_GreaterOrEqual added in v0.9.0

func (rx *Rx) All_StoragenodeBandwidthRollup_By_IntervalStart_GreaterOrEqual(ctx context.Context,
	storagenode_bandwidth_rollup_interval_start_greater_or_equal StoragenodeBandwidthRollup_IntervalStart_Field) (
	rows []*StoragenodeBandwidthRollup, err error)

func (*Rx) All_StoragenodeStorageTally added in v0.12.0

func (rx *Rx) All_StoragenodeStorageTally(ctx context.Context) (
	rows []*StoragenodeStorageTally, err error)

func (*Rx) All_StoragenodeStorageTally_By_IntervalEndTime_GreaterOrEqual added in v0.12.0

func (rx *Rx) All_StoragenodeStorageTally_By_IntervalEndTime_GreaterOrEqual(ctx context.Context,
	storagenode_storage_tally_interval_end_time_greater_or_equal StoragenodeStorageTally_IntervalEndTime_Field) (
	rows []*StoragenodeStorageTally, err error)

func (*Rx) All_UserCredit_By_UserId_And_ExpiresAt_Greater_And_CreditsUsedInCents_Less_CreditsEarnedInCents_OrderBy_Asc_ExpiresAt added in v0.14.0

func (rx *Rx) All_UserCredit_By_UserId_And_ExpiresAt_Greater_And_CreditsUsedInCents_Less_CreditsEarnedInCents_OrderBy_Asc_ExpiresAt(ctx context.Context,
	user_credit_user_id UserCredit_UserId_Field,
	user_credit_expires_at_greater UserCredit_ExpiresAt_Field) (
	rows []*UserCredit, err error)

func (*Rx) Commit

func (rx *Rx) Commit() (err error)

func (*Rx) Count_UserCredit_By_ReferredBy added in v0.14.0

func (rx *Rx) Count_UserCredit_By_ReferredBy(ctx context.Context,
	user_credit_referred_by UserCredit_ReferredBy_Field) (
	count int64, err error)

func (*Rx) CreateNoReturn_AccountingRollup added in v0.21.0

func (rx *Rx) CreateNoReturn_AccountingRollup(ctx context.Context,
	accounting_rollup_node_id AccountingRollup_NodeId_Field,
	accounting_rollup_start_time AccountingRollup_StartTime_Field,
	accounting_rollup_put_total AccountingRollup_PutTotal_Field,
	accounting_rollup_get_total AccountingRollup_GetTotal_Field,
	accounting_rollup_get_audit_total AccountingRollup_GetAuditTotal_Field,
	accounting_rollup_get_repair_total AccountingRollup_GetRepairTotal_Field,
	accounting_rollup_put_repair_total AccountingRollup_PutRepairTotal_Field,
	accounting_rollup_at_rest_total AccountingRollup_AtRestTotal_Field) (
	err error)

func (*Rx) CreateNoReturn_AccountingTimestamps added in v0.21.0

func (rx *Rx) CreateNoReturn_AccountingTimestamps(ctx context.Context,
	accounting_timestamps_name AccountingTimestamps_Name_Field,
	accounting_timestamps_value AccountingTimestamps_Value_Field) (
	err error)

func (*Rx) CreateNoReturn_BucketStorageTally added in v0.21.0

func (rx *Rx) CreateNoReturn_BucketStorageTally(ctx context.Context,
	bucket_storage_tally_bucket_name BucketStorageTally_BucketName_Field,
	bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field,
	bucket_storage_tally_interval_start BucketStorageTally_IntervalStart_Field,
	bucket_storage_tally_inline BucketStorageTally_Inline_Field,
	bucket_storage_tally_remote BucketStorageTally_Remote_Field,
	bucket_storage_tally_remote_segments_count BucketStorageTally_RemoteSegmentsCount_Field,
	bucket_storage_tally_inline_segments_count BucketStorageTally_InlineSegmentsCount_Field,
	bucket_storage_tally_object_count BucketStorageTally_ObjectCount_Field,
	bucket_storage_tally_metadata_size BucketStorageTally_MetadataSize_Field) (
	err error)

func (*Rx) CreateNoReturn_ConsumedSerial added in v0.34.1

func (rx *Rx) CreateNoReturn_ConsumedSerial(ctx context.Context,
	consumed_serial_storage_node_id ConsumedSerial_StorageNodeId_Field,
	consumed_serial_serial_number ConsumedSerial_SerialNumber_Field,
	consumed_serial_expires_at ConsumedSerial_ExpiresAt_Field) (
	err error)

func (*Rx) CreateNoReturn_GracefulExitProgress added in v0.21.0

func (rx *Rx) CreateNoReturn_GracefulExitProgress(ctx context.Context,
	graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field,
	graceful_exit_progress_bytes_transferred GracefulExitProgress_BytesTransferred_Field) (
	err error)

func (*Rx) CreateNoReturn_GracefulExitTransferQueue added in v0.21.0

func (rx *Rx) CreateNoReturn_GracefulExitTransferQueue(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
	graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
	graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field,
	graceful_exit_transfer_queue_durability_ratio GracefulExitTransferQueue_DurabilityRatio_Field,
	graceful_exit_transfer_queue_order_limit_send_count GracefulExitTransferQueue_OrderLimitSendCount_Field,
	optional GracefulExitTransferQueue_Create_Fields) (
	err error)

func (*Rx) CreateNoReturn_Irreparabledb added in v0.21.0

func (rx *Rx) CreateNoReturn_Irreparabledb(ctx context.Context,
	irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
	irreparabledb_segmentdetail Irreparabledb_Segmentdetail_Field,
	irreparabledb_pieces_lost_count Irreparabledb_PiecesLostCount_Field,
	irreparabledb_seg_damaged_unix_sec Irreparabledb_SegDamagedUnixSec_Field,
	irreparabledb_repair_attempt_count Irreparabledb_RepairAttemptCount_Field) (
	err error)

func (*Rx) CreateNoReturn_Node added in v0.21.0

func (rx *Rx) CreateNoReturn_Node(ctx context.Context,
	node_id Node_Id_Field,
	node_address Node_Address_Field,
	node_last_net Node_LastNet_Field,
	node_protocol Node_Protocol_Field,
	node_type Node_Type_Field,
	node_email Node_Email_Field,
	node_wallet Node_Wallet_Field,
	node_free_bandwidth Node_FreeBandwidth_Field,
	node_free_disk Node_FreeDisk_Field,
	node_major Node_Major_Field,
	node_minor Node_Minor_Field,
	node_patch Node_Patch_Field,
	node_hash Node_Hash_Field,
	node_timestamp Node_Timestamp_Field,
	node_release Node_Release_Field,
	node_latency_90 Node_Latency90_Field,
	node_audit_success_count Node_AuditSuccessCount_Field,
	node_total_audit_count Node_TotalAuditCount_Field,
	node_uptime_success_count Node_UptimeSuccessCount_Field,
	node_total_uptime_count Node_TotalUptimeCount_Field,
	node_last_contact_success Node_LastContactSuccess_Field,
	node_last_contact_failure Node_LastContactFailure_Field,
	node_contained Node_Contained_Field,
	node_audit_reputation_alpha Node_AuditReputationAlpha_Field,
	node_audit_reputation_beta Node_AuditReputationBeta_Field,
	node_uptime_reputation_alpha Node_UptimeReputationAlpha_Field,
	node_uptime_reputation_beta Node_UptimeReputationBeta_Field,
	node_exit_success Node_ExitSuccess_Field,
	optional Node_Create_Fields) (
	err error)

func (*Rx) CreateNoReturn_PeerIdentity added in v0.21.0

func (rx *Rx) CreateNoReturn_PeerIdentity(ctx context.Context,
	peer_identity_node_id PeerIdentity_NodeId_Field,
	peer_identity_leaf_serial_number PeerIdentity_LeafSerialNumber_Field,
	peer_identity_chain PeerIdentity_Chain_Field) (
	err error)

func (*Rx) CreateNoReturn_SerialNumber added in v0.21.0

func (rx *Rx) CreateNoReturn_SerialNumber(ctx context.Context,
	serial_number_serial_number SerialNumber_SerialNumber_Field,
	serial_number_bucket_id SerialNumber_BucketId_Field,
	serial_number_expires_at SerialNumber_ExpiresAt_Field) (
	err error)

func (*Rx) CreateNoReturn_StoragenodeStorageTally added in v0.21.0

func (rx *Rx) CreateNoReturn_StoragenodeStorageTally(ctx context.Context,
	storagenode_storage_tally_node_id StoragenodeStorageTally_NodeId_Field,
	storagenode_storage_tally_interval_end_time StoragenodeStorageTally_IntervalEndTime_Field,
	storagenode_storage_tally_data_total StoragenodeStorageTally_DataTotal_Field) (
	err error)

func (*Rx) CreateNoReturn_UsedSerial added in v0.21.0

func (rx *Rx) CreateNoReturn_UsedSerial(ctx context.Context,
	used_serial_serial_number_id UsedSerial_SerialNumberId_Field,
	used_serial_storage_node_id UsedSerial_StorageNodeId_Field) (
	err error)

func (*Rx) Create_ApiKey

func (rx *Rx) Create_ApiKey(ctx context.Context,
	api_key_id ApiKey_Id_Field,
	api_key_project_id ApiKey_ProjectId_Field,
	api_key_head ApiKey_Head_Field,
	api_key_name ApiKey_Name_Field,
	api_key_secret ApiKey_Secret_Field,
	optional ApiKey_Create_Fields) (
	api_key *ApiKey, err error)

func (*Rx) Create_BucketMetainfo added in v0.15.0

func (rx *Rx) Create_BucketMetainfo(ctx context.Context,
	bucket_metainfo_id BucketMetainfo_Id_Field,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name BucketMetainfo_Name_Field,
	bucket_metainfo_path_cipher BucketMetainfo_PathCipher_Field,
	bucket_metainfo_default_segment_size BucketMetainfo_DefaultSegmentSize_Field,
	bucket_metainfo_default_encryption_cipher_suite BucketMetainfo_DefaultEncryptionCipherSuite_Field,
	bucket_metainfo_default_encryption_block_size BucketMetainfo_DefaultEncryptionBlockSize_Field,
	bucket_metainfo_default_redundancy_algorithm BucketMetainfo_DefaultRedundancyAlgorithm_Field,
	bucket_metainfo_default_redundancy_share_size BucketMetainfo_DefaultRedundancyShareSize_Field,
	bucket_metainfo_default_redundancy_required_shares BucketMetainfo_DefaultRedundancyRequiredShares_Field,
	bucket_metainfo_default_redundancy_repair_shares BucketMetainfo_DefaultRedundancyRepairShares_Field,
	bucket_metainfo_default_redundancy_optimal_shares BucketMetainfo_DefaultRedundancyOptimalShares_Field,
	bucket_metainfo_default_redundancy_total_shares BucketMetainfo_DefaultRedundancyTotalShares_Field,
	optional BucketMetainfo_Create_Fields) (
	bucket_metainfo *BucketMetainfo, err error)

func (*Rx) Create_CoinpaymentsTransaction added in v0.24.0

func (rx *Rx) Create_CoinpaymentsTransaction(ctx context.Context,
	coinpayments_transaction_id CoinpaymentsTransaction_Id_Field,
	coinpayments_transaction_user_id CoinpaymentsTransaction_UserId_Field,
	coinpayments_transaction_address CoinpaymentsTransaction_Address_Field,
	coinpayments_transaction_amount CoinpaymentsTransaction_Amount_Field,
	coinpayments_transaction_received CoinpaymentsTransaction_Received_Field,
	coinpayments_transaction_status CoinpaymentsTransaction_Status_Field,
	coinpayments_transaction_key CoinpaymentsTransaction_Key_Field,
	coinpayments_transaction_timeout CoinpaymentsTransaction_Timeout_Field) (
	coinpayments_transaction *CoinpaymentsTransaction, err error)

func (*Rx) Create_Coupon added in v0.27.0

func (rx *Rx) Create_Coupon(ctx context.Context,
	coupon_id Coupon_Id_Field,
	coupon_project_id Coupon_ProjectId_Field,
	coupon_user_id Coupon_UserId_Field,
	coupon_amount Coupon_Amount_Field,
	coupon_description Coupon_Description_Field,
	coupon_type Coupon_Type_Field,
	coupon_status Coupon_Status_Field,
	coupon_duration Coupon_Duration_Field) (
	coupon *Coupon, err error)

func (*Rx) Create_CouponUsage added in v0.27.0

func (rx *Rx) Create_CouponUsage(ctx context.Context,
	coupon_usage_coupon_id CouponUsage_CouponId_Field,
	coupon_usage_amount CouponUsage_Amount_Field,
	coupon_usage_status CouponUsage_Status_Field,
	coupon_usage_period CouponUsage_Period_Field) (
	coupon_usage *CouponUsage, err error)

func (*Rx) Create_Credit added in v0.33.2

func (rx *Rx) Create_Credit(ctx context.Context,
	credit_user_id Credit_UserId_Field,
	credit_transaction_id Credit_TransactionId_Field,
	credit_amount Credit_Amount_Field) (
	credit *Credit, err error)

func (*Rx) Create_CreditsSpending added in v0.33.2

func (rx *Rx) Create_CreditsSpending(ctx context.Context,
	credits_spending_id CreditsSpending_Id_Field,
	credits_spending_user_id CreditsSpending_UserId_Field,
	credits_spending_project_id CreditsSpending_ProjectId_Field,
	credits_spending_amount CreditsSpending_Amount_Field,
	credits_spending_status CreditsSpending_Status_Field) (
	credits_spending *CreditsSpending, err error)

func (*Rx) Create_NodesOfflineTime added in v0.29.0

func (rx *Rx) Create_NodesOfflineTime(ctx context.Context,
	nodes_offline_time_node_id NodesOfflineTime_NodeId_Field,
	nodes_offline_time_tracked_at NodesOfflineTime_TrackedAt_Field,
	nodes_offline_time_seconds NodesOfflineTime_Seconds_Field) (
	nodes_offline_time *NodesOfflineTime, err error)

func (*Rx) Create_Offer added in v0.12.0

func (rx *Rx) Create_Offer(ctx context.Context,
	offer_name Offer_Name_Field,
	offer_description Offer_Description_Field,
	offer_award_credit_in_cents Offer_AwardCreditInCents_Field,
	offer_invitee_credit_in_cents Offer_InviteeCreditInCents_Field,
	offer_expires_at Offer_ExpiresAt_Field,
	offer_status Offer_Status_Field,
	offer_type Offer_Type_Field,
	optional Offer_Create_Fields) (
	offer *Offer, err error)

func (*Rx) Create_PendingAudits added in v0.12.0

func (rx *Rx) Create_PendingAudits(ctx context.Context,
	pending_audits_node_id PendingAudits_NodeId_Field,
	pending_audits_piece_id PendingAudits_PieceId_Field,
	pending_audits_stripe_index PendingAudits_StripeIndex_Field,
	pending_audits_share_size PendingAudits_ShareSize_Field,
	pending_audits_expected_share_hash PendingAudits_ExpectedShareHash_Field,
	pending_audits_reverify_count PendingAudits_ReverifyCount_Field,
	pending_audits_path PendingAudits_Path_Field) (
	pending_audits *PendingAudits, err error)

func (*Rx) Create_Project

func (rx *Rx) Create_Project(ctx context.Context,
	project_id Project_Id_Field,
	project_name Project_Name_Field,
	project_description Project_Description_Field,
	project_usage_limit Project_UsageLimit_Field,
	project_owner_id Project_OwnerId_Field,
	optional Project_Create_Fields) (
	project *Project, err error)

func (*Rx) Create_ProjectInvoiceStamp added in v0.13.0

func (rx *Rx) Create_ProjectInvoiceStamp(ctx context.Context,
	project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field,
	project_invoice_stamp_invoice_id ProjectInvoiceStamp_InvoiceId_Field,
	project_invoice_stamp_start_date ProjectInvoiceStamp_StartDate_Field,
	project_invoice_stamp_end_date ProjectInvoiceStamp_EndDate_Field,
	project_invoice_stamp_created_at ProjectInvoiceStamp_CreatedAt_Field) (
	project_invoice_stamp *ProjectInvoiceStamp, err error)

func (*Rx) Create_ProjectMember

func (rx *Rx) Create_ProjectMember(ctx context.Context,
	project_member_member_id ProjectMember_MemberId_Field,
	project_member_project_id ProjectMember_ProjectId_Field) (
	project_member *ProjectMember, err error)

func (*Rx) Create_RegistrationToken

func (rx *Rx) Create_RegistrationToken(ctx context.Context,
	registration_token_secret RegistrationToken_Secret_Field,
	registration_token_project_limit RegistrationToken_ProjectLimit_Field,
	optional RegistrationToken_Create_Fields) (
	registration_token *RegistrationToken, err error)

func (*Rx) Create_ResetPasswordToken added in v0.12.0

func (rx *Rx) Create_ResetPasswordToken(ctx context.Context,
	reset_password_token_secret ResetPasswordToken_Secret_Field,
	reset_password_token_owner_id ResetPasswordToken_OwnerId_Field) (
	reset_password_token *ResetPasswordToken, err error)

func (*Rx) Create_StripeCustomer added in v0.24.0

func (rx *Rx) Create_StripeCustomer(ctx context.Context,
	stripe_customer_user_id StripeCustomer_UserId_Field,
	stripe_customer_customer_id StripeCustomer_CustomerId_Field) (
	stripe_customer *StripeCustomer, err error)

func (*Rx) Create_StripecoinpaymentsApplyBalanceIntent added in v0.25.0

func (rx *Rx) Create_StripecoinpaymentsApplyBalanceIntent(ctx context.Context,
	stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field,
	stripecoinpayments_apply_balance_intent_state StripecoinpaymentsApplyBalanceIntent_State_Field) (
	stripecoinpayments_apply_balance_intent *StripecoinpaymentsApplyBalanceIntent, err error)

func (*Rx) Create_StripecoinpaymentsInvoiceProjectRecord added in v0.25.0

func (rx *Rx) Create_StripecoinpaymentsInvoiceProjectRecord(ctx context.Context,
	stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field,
	stripecoinpayments_invoice_project_record_project_id StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field,
	stripecoinpayments_invoice_project_record_storage StripecoinpaymentsInvoiceProjectRecord_Storage_Field,
	stripecoinpayments_invoice_project_record_egress StripecoinpaymentsInvoiceProjectRecord_Egress_Field,
	stripecoinpayments_invoice_project_record_objects StripecoinpaymentsInvoiceProjectRecord_Objects_Field,
	stripecoinpayments_invoice_project_record_period_start StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field,
	stripecoinpayments_invoice_project_record_period_end StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field,
	stripecoinpayments_invoice_project_record_state StripecoinpaymentsInvoiceProjectRecord_State_Field) (
	stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

func (*Rx) Create_StripecoinpaymentsTxConversionRate added in v0.26.0

func (rx *Rx) Create_StripecoinpaymentsTxConversionRate(ctx context.Context,
	stripecoinpayments_tx_conversion_rate_tx_id StripecoinpaymentsTxConversionRate_TxId_Field,
	stripecoinpayments_tx_conversion_rate_rate StripecoinpaymentsTxConversionRate_Rate_Field) (
	stripecoinpayments_tx_conversion_rate *StripecoinpaymentsTxConversionRate, err error)

func (*Rx) Create_User

func (rx *Rx) Create_User(ctx context.Context,
	user_id User_Id_Field,
	user_email User_Email_Field,
	user_normalized_email User_NormalizedEmail_Field,
	user_full_name User_FullName_Field,
	user_password_hash User_PasswordHash_Field,
	optional User_Create_Fields) (
	user *User, err error)

func (*Rx) Create_UserCredit added in v0.14.0

func (rx *Rx) Create_UserCredit(ctx context.Context,
	user_credit_user_id UserCredit_UserId_Field,
	user_credit_offer_id UserCredit_OfferId_Field,
	user_credit_type UserCredit_Type_Field,
	user_credit_credits_earned_in_cents UserCredit_CreditsEarnedInCents_Field,
	user_credit_expires_at UserCredit_ExpiresAt_Field,
	optional UserCredit_Create_Fields) (
	user_credit *UserCredit, err error)

func (*Rx) Create_ValueAttribution added in v0.14.0

func (rx *Rx) Create_ValueAttribution(ctx context.Context,
	value_attribution_project_id ValueAttribution_ProjectId_Field,
	value_attribution_bucket_name ValueAttribution_BucketName_Field,
	value_attribution_partner_id ValueAttribution_PartnerId_Field) (
	value_attribution *ValueAttribution, err error)

func (*Rx) Delete_AccountingRollup_By_Id

func (rx *Rx) Delete_AccountingRollup_By_Id(ctx context.Context,
	accounting_rollup_id AccountingRollup_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_ApiKey_By_Id

func (rx *Rx) Delete_ApiKey_By_Id(ctx context.Context,
	api_key_id ApiKey_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_BucketMetainfo_By_ProjectId_And_Name added in v0.15.0

func (rx *Rx) Delete_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name BucketMetainfo_Name_Field) (
	deleted bool, err error)

func (*Rx) Delete_ConsumedSerial_By_ExpiresAt_LessOrEqual added in v0.34.1

func (rx *Rx) Delete_ConsumedSerial_By_ExpiresAt_LessOrEqual(ctx context.Context,
	consumed_serial_expires_at_less_or_equal ConsumedSerial_ExpiresAt_Field) (
	count int64, err error)

func (*Rx) Delete_Coupon_By_Id added in v0.27.0

func (rx *Rx) Delete_Coupon_By_Id(ctx context.Context,
	coupon_id Coupon_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_GracefulExitProgress_By_NodeId added in v0.21.0

func (rx *Rx) Delete_GracefulExitProgress_By_NodeId(ctx context.Context,
	graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field) (
	deleted bool, err error)

func (*Rx) Delete_GracefulExitTransferQueue_By_NodeId added in v0.21.0

func (rx *Rx) Delete_GracefulExitTransferQueue_By_NodeId(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field) (
	count int64, err error)

func (*Rx) Delete_GracefulExitTransferQueue_By_NodeId_And_FinishedAt_IsNot_Null added in v0.22.0

func (rx *Rx) Delete_GracefulExitTransferQueue_By_NodeId_And_FinishedAt_IsNot_Null(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field) (
	count int64, err error)

func (*Rx) Delete_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum added in v0.25.0

func (rx *Rx) Delete_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
	graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
	graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field) (
	deleted bool, err error)

func (*Rx) Delete_Irreparabledb_By_Segmentpath

func (rx *Rx) Delete_Irreparabledb_By_Segmentpath(ctx context.Context,
	irreparabledb_segmentpath Irreparabledb_Segmentpath_Field) (
	deleted bool, err error)

func (*Rx) Delete_Node_By_Id

func (rx *Rx) Delete_Node_By_Id(ctx context.Context,
	node_id Node_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_PendingAudits_By_NodeId added in v0.12.0

func (rx *Rx) Delete_PendingAudits_By_NodeId(ctx context.Context,
	pending_audits_node_id PendingAudits_NodeId_Field) (
	deleted bool, err error)

func (*Rx) Delete_ProjectMember_By_MemberId_And_ProjectId

func (rx *Rx) Delete_ProjectMember_By_MemberId_And_ProjectId(ctx context.Context,
	project_member_member_id ProjectMember_MemberId_Field,
	project_member_project_id ProjectMember_ProjectId_Field) (
	deleted bool, err error)

func (*Rx) Delete_Project_By_Id

func (rx *Rx) Delete_Project_By_Id(ctx context.Context,
	project_id Project_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_ResetPasswordToken_By_Secret added in v0.12.0

func (rx *Rx) Delete_ResetPasswordToken_By_Secret(ctx context.Context,
	reset_password_token_secret ResetPasswordToken_Secret_Field) (
	deleted bool, err error)

func (*Rx) Delete_SerialNumber_By_ExpiresAt_LessOrEqual

func (rx *Rx) Delete_SerialNumber_By_ExpiresAt_LessOrEqual(ctx context.Context,
	serial_number_expires_at_less_or_equal SerialNumber_ExpiresAt_Field) (
	count int64, err error)

func (*Rx) Delete_StoragenodeStorageTally_By_Id added in v0.12.0

func (rx *Rx) Delete_StoragenodeStorageTally_By_Id(ctx context.Context,
	storagenode_storage_tally_id StoragenodeStorageTally_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_StripecoinpaymentsApplyBalanceIntent_By_TxId added in v0.25.0

func (rx *Rx) Delete_StripecoinpaymentsApplyBalanceIntent_By_TxId(ctx context.Context,
	stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field) (
	deleted bool, err error)

func (*Rx) Delete_StripecoinpaymentsInvoiceProjectRecord_By_Id added in v0.25.0

func (rx *Rx) Delete_StripecoinpaymentsInvoiceProjectRecord_By_Id(ctx context.Context,
	stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_User_By_Id

func (rx *Rx) Delete_User_By_Id(ctx context.Context,
	user_id User_Id_Field) (
	deleted bool, err error)

func (*Rx) Delete_ValueAttribution_By_ProjectId_And_BucketName added in v0.14.0

func (rx *Rx) Delete_ValueAttribution_By_ProjectId_And_BucketName(ctx context.Context,
	value_attribution_project_id ValueAttribution_ProjectId_Field,
	value_attribution_bucket_name ValueAttribution_BucketName_Field) (
	deleted bool, err error)

func (*Rx) Find_AccountingTimestamps_Value_By_Name

func (rx *Rx) Find_AccountingTimestamps_Value_By_Name(ctx context.Context,
	accounting_timestamps_name AccountingTimestamps_Name_Field) (
	row *Value_Row, err error)

func (*Rx) Find_BucketBandwidthRollup_By_BucketName_And_ProjectId_And_IntervalStart_And_Action

func (rx *Rx) Find_BucketBandwidthRollup_By_BucketName_And_ProjectId_And_IntervalStart_And_Action(ctx context.Context,
	bucket_bandwidth_rollup_bucket_name BucketBandwidthRollup_BucketName_Field,
	bucket_bandwidth_rollup_project_id BucketBandwidthRollup_ProjectId_Field,
	bucket_bandwidth_rollup_interval_start BucketBandwidthRollup_IntervalStart_Field,
	bucket_bandwidth_rollup_action BucketBandwidthRollup_Action_Field) (
	bucket_bandwidth_rollup *BucketBandwidthRollup, err error)

func (*Rx) Find_SerialNumber_By_SerialNumber

func (rx *Rx) Find_SerialNumber_By_SerialNumber(ctx context.Context,
	serial_number_serial_number SerialNumber_SerialNumber_Field) (
	serial_number *SerialNumber, err error)

func (*Rx) Find_StoragenodeBandwidthRollup_By_StoragenodeId_And_IntervalStart_And_Action

func (rx *Rx) Find_StoragenodeBandwidthRollup_By_StoragenodeId_And_IntervalStart_And_Action(ctx context.Context,
	storagenode_bandwidth_rollup_storagenode_id StoragenodeBandwidthRollup_StoragenodeId_Field,
	storagenode_bandwidth_rollup_interval_start StoragenodeBandwidthRollup_IntervalStart_Field,
	storagenode_bandwidth_rollup_action StoragenodeBandwidthRollup_Action_Field) (
	storagenode_bandwidth_rollup *StoragenodeBandwidthRollup, err error)

func (*Rx) First_BucketStorageTally_By_ProjectId_OrderBy_Desc_IntervalStart

func (rx *Rx) First_BucketStorageTally_By_ProjectId_OrderBy_Desc_IntervalStart(ctx context.Context,
	bucket_storage_tally_project_id BucketStorageTally_ProjectId_Field) (
	bucket_storage_tally *BucketStorageTally, err error)

func (*Rx) Get_AccountingRollup_By_Id

func (rx *Rx) Get_AccountingRollup_By_Id(ctx context.Context,
	accounting_rollup_id AccountingRollup_Id_Field) (
	accounting_rollup *AccountingRollup, err error)

func (*Rx) Get_ApiKey_By_Head added in v0.12.0

func (rx *Rx) Get_ApiKey_By_Head(ctx context.Context,
	api_key_head ApiKey_Head_Field) (
	api_key *ApiKey, err error)

func (*Rx) Get_ApiKey_By_Id

func (rx *Rx) Get_ApiKey_By_Id(ctx context.Context,
	api_key_id ApiKey_Id_Field) (
	api_key *ApiKey, err error)

func (*Rx) Get_ApiKey_By_Name_And_ProjectId added in v0.24.0

func (rx *Rx) Get_ApiKey_By_Name_And_ProjectId(ctx context.Context,
	api_key_name ApiKey_Name_Field,
	api_key_project_id ApiKey_ProjectId_Field) (
	api_key *ApiKey, err error)

func (*Rx) Get_BucketMetainfo_By_ProjectId_And_Name added in v0.15.0

func (rx *Rx) Get_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name BucketMetainfo_Name_Field) (
	bucket_metainfo *BucketMetainfo, err error)

func (*Rx) Get_Coupon_By_Id added in v0.30.0

func (rx *Rx) Get_Coupon_By_Id(ctx context.Context,
	coupon_id Coupon_Id_Field) (
	coupon *Coupon, err error)

func (*Rx) Get_Credit_By_TransactionId added in v0.33.2

func (rx *Rx) Get_Credit_By_TransactionId(ctx context.Context,
	credit_transaction_id Credit_TransactionId_Field) (
	credit *Credit, err error)

func (*Rx) Get_GracefulExitProgress_By_NodeId added in v0.21.0

func (rx *Rx) Get_GracefulExitProgress_By_NodeId(ctx context.Context,
	graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field) (
	graceful_exit_progress *GracefulExitProgress, err error)

func (*Rx) Get_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum added in v0.25.0

func (rx *Rx) Get_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
	graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
	graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field) (
	graceful_exit_transfer_queue *GracefulExitTransferQueue, err error)

func (*Rx) Get_Irreparabledb_By_Segmentpath

func (rx *Rx) Get_Irreparabledb_By_Segmentpath(ctx context.Context,
	irreparabledb_segmentpath Irreparabledb_Segmentpath_Field) (
	irreparabledb *Irreparabledb, err error)

func (*Rx) Get_Node_By_Id

func (rx *Rx) Get_Node_By_Id(ctx context.Context,
	node_id Node_Id_Field) (
	node *Node, err error)

func (*Rx) Get_Offer_By_Id added in v0.12.0

func (rx *Rx) Get_Offer_By_Id(ctx context.Context,
	offer_id Offer_Id_Field) (
	offer *Offer, err error)

func (*Rx) Get_PeerIdentity_By_NodeId added in v0.19.0

func (rx *Rx) Get_PeerIdentity_By_NodeId(ctx context.Context,
	peer_identity_node_id PeerIdentity_NodeId_Field) (
	peer_identity *PeerIdentity, err error)

func (*Rx) Get_PeerIdentity_LeafSerialNumber_By_NodeId added in v0.19.0

func (rx *Rx) Get_PeerIdentity_LeafSerialNumber_By_NodeId(ctx context.Context,
	peer_identity_node_id PeerIdentity_NodeId_Field) (
	row *LeafSerialNumber_Row, err error)

func (*Rx) Get_PendingAudits_By_NodeId added in v0.12.0

func (rx *Rx) Get_PendingAudits_By_NodeId(ctx context.Context,
	pending_audits_node_id PendingAudits_NodeId_Field) (
	pending_audits *PendingAudits, err error)

func (*Rx) Get_ProjectInvoiceStamp_By_ProjectId_And_StartDate added in v0.13.0

func (rx *Rx) Get_ProjectInvoiceStamp_By_ProjectId_And_StartDate(ctx context.Context,
	project_invoice_stamp_project_id ProjectInvoiceStamp_ProjectId_Field,
	project_invoice_stamp_start_date ProjectInvoiceStamp_StartDate_Field) (
	project_invoice_stamp *ProjectInvoiceStamp, err error)

func (*Rx) Get_Project_By_Id

func (rx *Rx) Get_Project_By_Id(ctx context.Context,
	project_id Project_Id_Field) (
	project *Project, err error)

func (*Rx) Get_Project_UsageLimit_By_Id added in v0.27.0

func (rx *Rx) Get_Project_UsageLimit_By_Id(ctx context.Context,
	project_id Project_Id_Field) (
	row *UsageLimit_Row, err error)

func (*Rx) Get_RegistrationToken_By_OwnerId

func (rx *Rx) Get_RegistrationToken_By_OwnerId(ctx context.Context,
	registration_token_owner_id RegistrationToken_OwnerId_Field) (
	registration_token *RegistrationToken, err error)

func (*Rx) Get_RegistrationToken_By_Secret

func (rx *Rx) Get_RegistrationToken_By_Secret(ctx context.Context,
	registration_token_secret RegistrationToken_Secret_Field) (
	registration_token *RegistrationToken, err error)

func (*Rx) Get_ResetPasswordToken_By_OwnerId added in v0.12.0

func (rx *Rx) Get_ResetPasswordToken_By_OwnerId(ctx context.Context,
	reset_password_token_owner_id ResetPasswordToken_OwnerId_Field) (
	reset_password_token *ResetPasswordToken, err error)

func (*Rx) Get_ResetPasswordToken_By_Secret added in v0.12.0

func (rx *Rx) Get_ResetPasswordToken_By_Secret(ctx context.Context,
	reset_password_token_secret ResetPasswordToken_Secret_Field) (
	reset_password_token *ResetPasswordToken, err error)

func (*Rx) Get_StoragenodeStorageTally_By_Id added in v0.12.0

func (rx *Rx) Get_StoragenodeStorageTally_By_Id(ctx context.Context,
	storagenode_storage_tally_id StoragenodeStorageTally_Id_Field) (
	storagenode_storage_tally *StoragenodeStorageTally, err error)

func (*Rx) Get_StripeCustomer_CustomerId_By_UserId added in v0.24.0

func (rx *Rx) Get_StripeCustomer_CustomerId_By_UserId(ctx context.Context,
	stripe_customer_user_id StripeCustomer_UserId_Field) (
	row *CustomerId_Row, err error)

func (*Rx) Get_StripecoinpaymentsInvoiceProjectRecord_By_ProjectId_And_PeriodStart_And_PeriodEnd added in v0.25.0

func (rx *Rx) Get_StripecoinpaymentsInvoiceProjectRecord_By_ProjectId_And_PeriodStart_And_PeriodEnd(ctx context.Context,
	stripecoinpayments_invoice_project_record_project_id StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field,
	stripecoinpayments_invoice_project_record_period_start StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field,
	stripecoinpayments_invoice_project_record_period_end StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field) (
	stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

func (*Rx) Get_StripecoinpaymentsTxConversionRate_By_TxId added in v0.26.0

func (rx *Rx) Get_StripecoinpaymentsTxConversionRate_By_TxId(ctx context.Context,
	stripecoinpayments_tx_conversion_rate_tx_id StripecoinpaymentsTxConversionRate_TxId_Field) (
	stripecoinpayments_tx_conversion_rate *StripecoinpaymentsTxConversionRate, err error)

func (*Rx) Get_User_By_Id

func (rx *Rx) Get_User_By_Id(ctx context.Context,
	user_id User_Id_Field) (
	user *User, err error)

func (*Rx) Get_User_By_NormalizedEmail_And_Status_Not_Number added in v0.21.0

func (rx *Rx) Get_User_By_NormalizedEmail_And_Status_Not_Number(ctx context.Context,
	user_normalized_email User_NormalizedEmail_Field) (
	user *User, err error)

func (*Rx) Get_ValueAttribution_By_ProjectId_And_BucketName added in v0.14.0

func (rx *Rx) Get_ValueAttribution_By_ProjectId_And_BucketName(ctx context.Context,
	value_attribution_project_id ValueAttribution_ProjectId_Field,
	value_attribution_bucket_name ValueAttribution_BucketName_Field) (
	value_attribution *ValueAttribution, err error)

func (*Rx) Has_ConsumedSerial_By_StorageNodeId_And_SerialNumber added in v0.34.1

func (rx *Rx) Has_ConsumedSerial_By_StorageNodeId_And_SerialNumber(ctx context.Context,
	consumed_serial_storage_node_id ConsumedSerial_StorageNodeId_Field,
	consumed_serial_serial_number ConsumedSerial_SerialNumber_Field) (
	has bool, err error)

func (*Rx) Limited_BucketMetainfo_By_ProjectId_And_Name_GreaterOrEqual_OrderBy_Asc_Name added in v0.15.0

func (rx *Rx) Limited_BucketMetainfo_By_ProjectId_And_Name_GreaterOrEqual_OrderBy_Asc_Name(ctx context.Context,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name_greater_or_equal BucketMetainfo_Name_Field,
	limit int, offset int64) (
	rows []*BucketMetainfo, err error)

func (*Rx) Limited_BucketMetainfo_By_ProjectId_And_Name_Greater_OrderBy_Asc_Name added in v0.15.0

func (rx *Rx) Limited_BucketMetainfo_By_ProjectId_And_Name_Greater_OrderBy_Asc_Name(ctx context.Context,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name_greater BucketMetainfo_Name_Field,
	limit int, offset int64) (
	rows []*BucketMetainfo, err error)

func (*Rx) Limited_CoinpaymentsTransaction_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt added in v0.24.0

func (rx *Rx) Limited_CoinpaymentsTransaction_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
	coinpayments_transaction_created_at_less_or_equal CoinpaymentsTransaction_CreatedAt_Field,
	coinpayments_transaction_status CoinpaymentsTransaction_Status_Field,
	limit int, offset int64) (
	rows []*CoinpaymentsTransaction, err error)

func (*Rx) Limited_CouponUsage_By_Period_LessOrEqual_And_Status_Equal_Number_OrderBy_Desc_Period added in v0.30.0

func (rx *Rx) Limited_CouponUsage_By_Period_LessOrEqual_And_Status_Equal_Number_OrderBy_Desc_Period(ctx context.Context,
	coupon_usage_period_less_or_equal CouponUsage_Period_Field,
	limit int, offset int64) (
	rows []*CouponUsage, err error)

func (*Rx) Limited_Coupon_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt added in v0.27.0

func (rx *Rx) Limited_Coupon_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
	coupon_created_at_less_or_equal Coupon_CreatedAt_Field,
	coupon_status Coupon_Status_Field,
	limit int, offset int64) (
	rows []*Coupon, err error)

func (*Rx) Limited_Credit_By_UserId_And_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt added in v0.33.2

func (rx *Rx) Limited_Credit_By_UserId_And_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt(ctx context.Context,
	credit_user_id Credit_UserId_Field,
	credit_created_at_less_or_equal Credit_CreatedAt_Field,
	limit int, offset int64) (
	rows []*Credit, err error)

func (*Rx) Limited_CreditsSpending_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt added in v0.33.2

func (rx *Rx) Limited_CreditsSpending_By_CreatedAt_LessOrEqual_And_Status_OrderBy_Desc_CreatedAt(ctx context.Context,
	credits_spending_created_at_less_or_equal CreditsSpending_CreatedAt_Field,
	credits_spending_status CreditsSpending_Status_Field,
	limit int, offset int64) (
	rows []*CreditsSpending, err error)

func (*Rx) Limited_Irreparabledb_By_Segmentpath_Greater_OrderBy_Asc_Segmentpath added in v0.16.0

func (rx *Rx) Limited_Irreparabledb_By_Segmentpath_Greater_OrderBy_Asc_Segmentpath(ctx context.Context,
	irreparabledb_segmentpath_greater Irreparabledb_Segmentpath_Field,
	limit int, offset int64) (
	rows []*Irreparabledb, err error)

func (*Rx) Limited_Node_By_Id_GreaterOrEqual_OrderBy_Asc_Id

func (rx *Rx) Limited_Node_By_Id_GreaterOrEqual_OrderBy_Asc_Id(ctx context.Context,
	node_id_greater_or_equal Node_Id_Field,
	limit int, offset int64) (
	rows []*Node, err error)

func (*Rx) Limited_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactFailure added in v0.29.0

func (rx *Rx) Limited_Node_Id_Node_Address_Node_LastContactSuccess_Node_LastContactFailure_By_LastContactSuccess_Less_LastContactFailure_And_Disqualified_Is_Null_OrderBy_Asc_LastContactFailure(ctx context.Context,
	limit int, offset int64) (
	rows []*Id_Address_LastContactSuccess_LastContactFailure_Row, err error)

func (*Rx) Limited_Node_Id_Node_LastNet_Node_Address_Node_Protocol_By_Id_GreaterOrEqual_And_Disqualified_Is_Null_OrderBy_Asc_Id added in v0.15.0

func (rx *Rx) Limited_Node_Id_Node_LastNet_Node_Address_Node_Protocol_By_Id_GreaterOrEqual_And_Disqualified_Is_Null_OrderBy_Asc_Id(ctx context.Context,
	node_id_greater_or_equal Node_Id_Field,
	limit int, offset int64) (
	rows []*Id_LastNet_Address_Protocol_Row, err error)

func (*Rx) Limited_ProjectMember_By_ProjectId

func (rx *Rx) Limited_ProjectMember_By_ProjectId(ctx context.Context,
	project_member_project_id ProjectMember_ProjectId_Field,
	limit int, offset int64) (
	rows []*ProjectMember, err error)

func (*Rx) Limited_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt added in v0.25.0

func (rx *Rx) Limited_Project_By_CreatedAt_Less_OrderBy_Asc_CreatedAt(ctx context.Context,
	project_created_at_less Project_CreatedAt_Field,
	limit int, offset int64) (
	rows []*Project, err error)

func (*Rx) Limited_StripeCustomer_By_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt added in v0.25.0

func (rx *Rx) Limited_StripeCustomer_By_CreatedAt_LessOrEqual_OrderBy_Desc_CreatedAt(ctx context.Context,
	stripe_customer_created_at_less_or_equal StripeCustomer_CreatedAt_Field,
	limit int, offset int64) (
	rows []*StripeCustomer, err error)

func (*Rx) Limited_StripecoinpaymentsInvoiceProjectRecord_By_CreatedAt_LessOrEqual_And_State_OrderBy_Desc_CreatedAt added in v0.25.0

func (rx *Rx) Limited_StripecoinpaymentsInvoiceProjectRecord_By_CreatedAt_LessOrEqual_And_State_OrderBy_Desc_CreatedAt(ctx context.Context,
	stripecoinpayments_invoice_project_record_created_at_less_or_equal StripecoinpaymentsInvoiceProjectRecord_CreatedAt_Field,
	stripecoinpayments_invoice_project_record_state StripecoinpaymentsInvoiceProjectRecord_State_Field,
	limit int, offset int64) (
	rows []*StripecoinpaymentsInvoiceProjectRecord, err error)

func (*Rx) Paged_PendingSerialQueue added in v0.34.1

func (rx *Rx) Paged_PendingSerialQueue(ctx context.Context,
	limit int, start *Paged_PendingSerialQueue_Continuation) (
	rows []*PendingSerialQueue, next *Paged_PendingSerialQueue_Continuation, err error)

func (*Rx) Rebind

func (rx *Rx) Rebind(s string) string

func (*Rx) ReplaceNoReturn_PendingSerialQueue added in v0.34.1

func (rx *Rx) ReplaceNoReturn_PendingSerialQueue(ctx context.Context,
	pending_serial_queue_storage_node_id PendingSerialQueue_StorageNodeId_Field,
	pending_serial_queue_bucket_id PendingSerialQueue_BucketId_Field,
	pending_serial_queue_serial_number PendingSerialQueue_SerialNumber_Field,
	pending_serial_queue_action PendingSerialQueue_Action_Field,
	pending_serial_queue_settled PendingSerialQueue_Settled_Field,
	pending_serial_queue_expires_at PendingSerialQueue_ExpiresAt_Field) (
	err error)

func (*Rx) Rollback

func (rx *Rx) Rollback() (err error)

func (*Rx) UnsafeTx

func (rx *Rx) UnsafeTx(ctx context.Context) (unsafe_tx tagsql.Tx, err error)

func (*Rx) UpdateNoReturn_AccountingTimestamps_By_Name added in v0.21.0

func (rx *Rx) UpdateNoReturn_AccountingTimestamps_By_Name(ctx context.Context,
	accounting_timestamps_name AccountingTimestamps_Name_Field,
	update AccountingTimestamps_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_ApiKey_By_Id added in v0.21.0

func (rx *Rx) UpdateNoReturn_ApiKey_By_Id(ctx context.Context,
	api_key_id ApiKey_Id_Field,
	update ApiKey_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_GracefulExitProgress_By_NodeId added in v0.21.0

func (rx *Rx) UpdateNoReturn_GracefulExitProgress_By_NodeId(ctx context.Context,
	graceful_exit_progress_node_id GracefulExitProgress_NodeId_Field,
	update GracefulExitProgress_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum added in v0.25.0

func (rx *Rx) UpdateNoReturn_GracefulExitTransferQueue_By_NodeId_And_Path_And_PieceNum(ctx context.Context,
	graceful_exit_transfer_queue_node_id GracefulExitTransferQueue_NodeId_Field,
	graceful_exit_transfer_queue_path GracefulExitTransferQueue_Path_Field,
	graceful_exit_transfer_queue_piece_num GracefulExitTransferQueue_PieceNum_Field,
	update GracefulExitTransferQueue_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_Irreparabledb_By_Segmentpath added in v0.21.0

func (rx *Rx) UpdateNoReturn_Irreparabledb_By_Segmentpath(ctx context.Context,
	irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
	update Irreparabledb_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_Node_By_Id added in v0.21.0

func (rx *Rx) UpdateNoReturn_Node_By_Id(ctx context.Context,
	node_id Node_Id_Field,
	update Node_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_Offer_By_Id added in v0.21.0

func (rx *Rx) UpdateNoReturn_Offer_By_Id(ctx context.Context,
	offer_id Offer_Id_Field,
	update Offer_Update_Fields) (
	err error)

func (*Rx) UpdateNoReturn_PeerIdentity_By_NodeId added in v0.21.0

func (rx *Rx) UpdateNoReturn_PeerIdentity_By_NodeId(ctx context.Context,
	peer_identity_node_id PeerIdentity_NodeId_Field,
	update PeerIdentity_Update_Fields) (
	err error)

func (*Rx) Update_BucketMetainfo_By_ProjectId_And_Name added in v0.16.0

func (rx *Rx) Update_BucketMetainfo_By_ProjectId_And_Name(ctx context.Context,
	bucket_metainfo_project_id BucketMetainfo_ProjectId_Field,
	bucket_metainfo_name BucketMetainfo_Name_Field,
	update BucketMetainfo_Update_Fields) (
	bucket_metainfo *BucketMetainfo, err error)

func (*Rx) Update_CoinpaymentsTransaction_By_Id added in v0.24.0

func (rx *Rx) Update_CoinpaymentsTransaction_By_Id(ctx context.Context,
	coinpayments_transaction_id CoinpaymentsTransaction_Id_Field,
	update CoinpaymentsTransaction_Update_Fields) (
	coinpayments_transaction *CoinpaymentsTransaction, err error)

func (*Rx) Update_CouponUsage_By_CouponId_And_Period added in v0.30.0

func (rx *Rx) Update_CouponUsage_By_CouponId_And_Period(ctx context.Context,
	coupon_usage_coupon_id CouponUsage_CouponId_Field,
	coupon_usage_period CouponUsage_Period_Field,
	update CouponUsage_Update_Fields) (
	coupon_usage *CouponUsage, err error)

func (*Rx) Update_Coupon_By_Id added in v0.27.0

func (rx *Rx) Update_Coupon_By_Id(ctx context.Context,
	coupon_id Coupon_Id_Field,
	update Coupon_Update_Fields) (
	coupon *Coupon, err error)

func (*Rx) Update_CreditsSpending_By_Id added in v0.33.2

func (rx *Rx) Update_CreditsSpending_By_Id(ctx context.Context,
	credits_spending_id CreditsSpending_Id_Field,
	update CreditsSpending_Update_Fields) (
	credits_spending *CreditsSpending, err error)

func (*Rx) Update_Node_By_Id

func (rx *Rx) Update_Node_By_Id(ctx context.Context,
	node_id Node_Id_Field,
	update Node_Update_Fields) (
	node *Node, err error)

func (*Rx) Update_PendingAudits_By_NodeId added in v0.12.0

func (rx *Rx) Update_PendingAudits_By_NodeId(ctx context.Context,
	pending_audits_node_id PendingAudits_NodeId_Field,
	update PendingAudits_Update_Fields) (
	pending_audits *PendingAudits, err error)

func (*Rx) Update_Project_By_Id

func (rx *Rx) Update_Project_By_Id(ctx context.Context,
	project_id Project_Id_Field,
	update Project_Update_Fields) (
	project *Project, err error)

func (*Rx) Update_RegistrationToken_By_Secret

func (rx *Rx) Update_RegistrationToken_By_Secret(ctx context.Context,
	registration_token_secret RegistrationToken_Secret_Field,
	update RegistrationToken_Update_Fields) (
	registration_token *RegistrationToken, err error)

func (*Rx) Update_StripecoinpaymentsApplyBalanceIntent_By_TxId added in v0.25.0

func (rx *Rx) Update_StripecoinpaymentsApplyBalanceIntent_By_TxId(ctx context.Context,
	stripecoinpayments_apply_balance_intent_tx_id StripecoinpaymentsApplyBalanceIntent_TxId_Field,
	update StripecoinpaymentsApplyBalanceIntent_Update_Fields) (
	stripecoinpayments_apply_balance_intent *StripecoinpaymentsApplyBalanceIntent, err error)

func (*Rx) Update_StripecoinpaymentsInvoiceProjectRecord_By_Id added in v0.25.0

func (rx *Rx) Update_StripecoinpaymentsInvoiceProjectRecord_By_Id(ctx context.Context,
	stripecoinpayments_invoice_project_record_id StripecoinpaymentsInvoiceProjectRecord_Id_Field,
	update StripecoinpaymentsInvoiceProjectRecord_Update_Fields) (
	stripecoinpayments_invoice_project_record *StripecoinpaymentsInvoiceProjectRecord, err error)

func (*Rx) Update_User_By_Id

func (rx *Rx) Update_User_By_Id(ctx context.Context,
	user_id User_Id_Field,
	update User_Update_Fields) (
	user *User, err error)

type SerialNumber

type SerialNumber struct {
	Id           int
	SerialNumber []byte
	BucketId     []byte
	ExpiresAt    time.Time
}

type SerialNumber_BucketId_Field

type SerialNumber_BucketId_Field struct {
	// contains filtered or unexported fields
}

func SerialNumber_BucketId

func SerialNumber_BucketId(v []byte) SerialNumber_BucketId_Field

type SerialNumber_ExpiresAt_Field

type SerialNumber_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func SerialNumber_ExpiresAt

func SerialNumber_ExpiresAt(v time.Time) SerialNumber_ExpiresAt_Field

type SerialNumber_Id_Field

type SerialNumber_Id_Field struct {
	// contains filtered or unexported fields
}

func SerialNumber_Id

func SerialNumber_Id(v int) SerialNumber_Id_Field

type SerialNumber_SerialNumber_Field

type SerialNumber_SerialNumber_Field struct {
	// contains filtered or unexported fields
}

func SerialNumber_SerialNumber

func SerialNumber_SerialNumber(v []byte) SerialNumber_SerialNumber_Field

type SerialNumber_Update_Fields

type SerialNumber_Update_Fields struct {
}

type StoragenodeBandwidthRollup

type StoragenodeBandwidthRollup struct {
	StoragenodeId   []byte
	IntervalStart   time.Time
	IntervalSeconds uint
	Action          uint
	Allocated       *uint64
	Settled         uint64
}

type StoragenodeBandwidthRollup_Action_Field

type StoragenodeBandwidthRollup_Action_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeBandwidthRollup_Action

func StoragenodeBandwidthRollup_Action(v uint) StoragenodeBandwidthRollup_Action_Field

type StoragenodeBandwidthRollup_Allocated_Field

type StoragenodeBandwidthRollup_Allocated_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeBandwidthRollup_Allocated_Null added in v0.30.4

func StoragenodeBandwidthRollup_Allocated_Null() StoragenodeBandwidthRollup_Allocated_Field

func StoragenodeBandwidthRollup_Allocated_Raw added in v0.30.4

func StoragenodeBandwidthRollup_Allocated_Raw(v *uint64) StoragenodeBandwidthRollup_Allocated_Field

type StoragenodeBandwidthRollup_Create_Fields added in v0.30.4

type StoragenodeBandwidthRollup_Create_Fields struct {
	Allocated StoragenodeBandwidthRollup_Allocated_Field
}

type StoragenodeBandwidthRollup_IntervalSeconds_Field

type StoragenodeBandwidthRollup_IntervalSeconds_Field struct {
	// contains filtered or unexported fields
}

type StoragenodeBandwidthRollup_IntervalStart_Field

type StoragenodeBandwidthRollup_IntervalStart_Field struct {
	// contains filtered or unexported fields
}

type StoragenodeBandwidthRollup_Settled_Field

type StoragenodeBandwidthRollup_Settled_Field struct {
	// contains filtered or unexported fields
}

type StoragenodeBandwidthRollup_StoragenodeId_Field

type StoragenodeBandwidthRollup_StoragenodeId_Field struct {
	// contains filtered or unexported fields
}

type StoragenodeBandwidthRollup_Update_Fields

type StoragenodeBandwidthRollup_Update_Fields struct {
	Allocated StoragenodeBandwidthRollup_Allocated_Field
	Settled   StoragenodeBandwidthRollup_Settled_Field
}

type StoragenodeStorageTally

type StoragenodeStorageTally struct {
	Id              int64
	NodeId          []byte
	IntervalEndTime time.Time
	DataTotal       float64
}

type StoragenodeStorageTally_DataTotal_Field added in v0.12.0

type StoragenodeStorageTally_DataTotal_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeStorageTally_DataTotal added in v0.12.0

func StoragenodeStorageTally_DataTotal(v float64) StoragenodeStorageTally_DataTotal_Field

type StoragenodeStorageTally_Id_Field added in v0.12.0

type StoragenodeStorageTally_Id_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeStorageTally_Id added in v0.12.0

func StoragenodeStorageTally_Id(v int64) StoragenodeStorageTally_Id_Field

type StoragenodeStorageTally_IntervalEndTime_Field added in v0.12.0

type StoragenodeStorageTally_IntervalEndTime_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeStorageTally_IntervalEndTime added in v0.12.0

func StoragenodeStorageTally_IntervalEndTime(v time.Time) StoragenodeStorageTally_IntervalEndTime_Field

type StoragenodeStorageTally_NodeId_Field added in v0.12.0

type StoragenodeStorageTally_NodeId_Field struct {
	// contains filtered or unexported fields
}

func StoragenodeStorageTally_NodeId added in v0.12.0

func StoragenodeStorageTally_NodeId(v []byte) StoragenodeStorageTally_NodeId_Field

type StoragenodeStorageTally_Update_Fields

type StoragenodeStorageTally_Update_Fields struct {
}

type StripeCustomer added in v0.24.0

type StripeCustomer struct {
	UserId     []byte
	CustomerId string
	CreatedAt  time.Time
}

type StripeCustomer_CreatedAt_Field added in v0.24.0

type StripeCustomer_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func StripeCustomer_CreatedAt added in v0.24.0

func StripeCustomer_CreatedAt(v time.Time) StripeCustomer_CreatedAt_Field

type StripeCustomer_CustomerId_Field added in v0.24.0

type StripeCustomer_CustomerId_Field struct {
	// contains filtered or unexported fields
}

func StripeCustomer_CustomerId added in v0.24.0

func StripeCustomer_CustomerId(v string) StripeCustomer_CustomerId_Field

type StripeCustomer_Update_Fields added in v0.24.0

type StripeCustomer_Update_Fields struct {
}

type StripeCustomer_UserId_Field added in v0.24.0

type StripeCustomer_UserId_Field struct {
	// contains filtered or unexported fields
}

func StripeCustomer_UserId added in v0.24.0

func StripeCustomer_UserId(v []byte) StripeCustomer_UserId_Field

type StripecoinpaymentsApplyBalanceIntent added in v0.25.0

type StripecoinpaymentsApplyBalanceIntent struct {
	TxId      string
	State     int
	CreatedAt time.Time
}

type StripecoinpaymentsApplyBalanceIntent_CreatedAt_Field added in v0.25.0

type StripecoinpaymentsApplyBalanceIntent_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsApplyBalanceIntent_CreatedAt added in v0.25.0

func StripecoinpaymentsApplyBalanceIntent_CreatedAt(v time.Time) StripecoinpaymentsApplyBalanceIntent_CreatedAt_Field

type StripecoinpaymentsApplyBalanceIntent_State_Field added in v0.25.0

type StripecoinpaymentsApplyBalanceIntent_State_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsApplyBalanceIntent_State added in v0.25.0

func StripecoinpaymentsApplyBalanceIntent_State(v int) StripecoinpaymentsApplyBalanceIntent_State_Field

type StripecoinpaymentsApplyBalanceIntent_TxId_Field added in v0.25.0

type StripecoinpaymentsApplyBalanceIntent_TxId_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsApplyBalanceIntent_TxId added in v0.25.0

func StripecoinpaymentsApplyBalanceIntent_TxId(v string) StripecoinpaymentsApplyBalanceIntent_TxId_Field

type StripecoinpaymentsApplyBalanceIntent_Update_Fields added in v0.25.0

type StripecoinpaymentsApplyBalanceIntent_Update_Fields struct {
	State StripecoinpaymentsApplyBalanceIntent_State_Field
}

type StripecoinpaymentsInvoiceProjectRecord added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord struct {
	Id          []byte
	ProjectId   []byte
	Storage     float64
	Egress      int64
	Objects     int64
	PeriodStart time.Time
	PeriodEnd   time.Time
	State       int
	CreatedAt   time.Time
}

type StripecoinpaymentsInvoiceProjectRecord_CreatedAt_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_CreatedAt added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_CreatedAt(v time.Time) StripecoinpaymentsInvoiceProjectRecord_CreatedAt_Field

type StripecoinpaymentsInvoiceProjectRecord_Egress_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_Egress_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_Egress added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_Egress(v int64) StripecoinpaymentsInvoiceProjectRecord_Egress_Field

type StripecoinpaymentsInvoiceProjectRecord_Id_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_Id_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_Id added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_Id(v []byte) StripecoinpaymentsInvoiceProjectRecord_Id_Field

type StripecoinpaymentsInvoiceProjectRecord_Objects_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_Objects_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_Objects added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_Objects(v int64) StripecoinpaymentsInvoiceProjectRecord_Objects_Field

type StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_PeriodEnd added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_PeriodEnd(v time.Time) StripecoinpaymentsInvoiceProjectRecord_PeriodEnd_Field

type StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_PeriodStart added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_PeriodStart(v time.Time) StripecoinpaymentsInvoiceProjectRecord_PeriodStart_Field

type StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_ProjectId added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_ProjectId(v []byte) StripecoinpaymentsInvoiceProjectRecord_ProjectId_Field

type StripecoinpaymentsInvoiceProjectRecord_State_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_State_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_State added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_State(v int) StripecoinpaymentsInvoiceProjectRecord_State_Field

type StripecoinpaymentsInvoiceProjectRecord_Storage_Field added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_Storage_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsInvoiceProjectRecord_Storage added in v0.25.0

func StripecoinpaymentsInvoiceProjectRecord_Storage(v float64) StripecoinpaymentsInvoiceProjectRecord_Storage_Field

type StripecoinpaymentsInvoiceProjectRecord_Update_Fields added in v0.25.0

type StripecoinpaymentsInvoiceProjectRecord_Update_Fields struct {
	State StripecoinpaymentsInvoiceProjectRecord_State_Field
}

type StripecoinpaymentsTxConversionRate added in v0.26.0

type StripecoinpaymentsTxConversionRate struct {
	TxId      string
	Rate      []byte
	CreatedAt time.Time
}

type StripecoinpaymentsTxConversionRate_CreatedAt_Field added in v0.26.0

type StripecoinpaymentsTxConversionRate_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsTxConversionRate_CreatedAt added in v0.26.0

func StripecoinpaymentsTxConversionRate_CreatedAt(v time.Time) StripecoinpaymentsTxConversionRate_CreatedAt_Field

type StripecoinpaymentsTxConversionRate_Rate_Field added in v0.26.0

type StripecoinpaymentsTxConversionRate_Rate_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsTxConversionRate_Rate added in v0.26.0

func StripecoinpaymentsTxConversionRate_Rate(v []byte) StripecoinpaymentsTxConversionRate_Rate_Field

type StripecoinpaymentsTxConversionRate_TxId_Field added in v0.26.0

type StripecoinpaymentsTxConversionRate_TxId_Field struct {
	// contains filtered or unexported fields
}

func StripecoinpaymentsTxConversionRate_TxId added in v0.26.0

func StripecoinpaymentsTxConversionRate_TxId(v string) StripecoinpaymentsTxConversionRate_TxId_Field

type StripecoinpaymentsTxConversionRate_Update_Fields added in v0.26.0

type StripecoinpaymentsTxConversionRate_Update_Fields struct {
}

type Tx

type Tx struct {
	Tx tagsql.Tx
	// contains filtered or unexported fields
}

type TxMethods

type TxMethods interface {
	Methods

	Rebind(s string) string
	Commit() error
	Rollback() error
}

type UsageLimit_Row added in v0.27.0

type UsageLimit_Row struct {
	UsageLimit int64
}

type UsedSerial

type UsedSerial struct {
	SerialNumberId int
	StorageNodeId  []byte
}

type UsedSerial_SerialNumberId_Field

type UsedSerial_SerialNumberId_Field struct {
	// contains filtered or unexported fields
}

func UsedSerial_SerialNumberId

func UsedSerial_SerialNumberId(v int) UsedSerial_SerialNumberId_Field

type UsedSerial_StorageNodeId_Field

type UsedSerial_StorageNodeId_Field struct {
	// contains filtered or unexported fields
}

func UsedSerial_StorageNodeId

func UsedSerial_StorageNodeId(v []byte) UsedSerial_StorageNodeId_Field

type UsedSerial_Update_Fields

type UsedSerial_Update_Fields struct {
}

type User

type User struct {
	Id              []byte
	Email           string
	NormalizedEmail string
	FullName        string
	ShortName       *string
	PasswordHash    []byte
	Status          int
	PartnerId       []byte
	CreatedAt       time.Time
}

type UserCredit added in v0.14.0

type UserCredit struct {
	Id                   int
	UserId               []byte
	OfferId              int
	ReferredBy           []byte
	Type                 string
	CreditsEarnedInCents int
	CreditsUsedInCents   int
	ExpiresAt            time.Time
	CreatedAt            time.Time
}

type UserCredit_Create_Fields added in v0.14.0

type UserCredit_Create_Fields struct {
	ReferredBy UserCredit_ReferredBy_Field
}

type UserCredit_CreatedAt_Field added in v0.14.0

type UserCredit_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_CreatedAt added in v0.14.0

func UserCredit_CreatedAt(v time.Time) UserCredit_CreatedAt_Field

type UserCredit_CreditsEarnedInCents_Field added in v0.14.0

type UserCredit_CreditsEarnedInCents_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_CreditsEarnedInCents added in v0.14.0

func UserCredit_CreditsEarnedInCents(v int) UserCredit_CreditsEarnedInCents_Field

type UserCredit_CreditsUsedInCents_Field added in v0.14.0

type UserCredit_CreditsUsedInCents_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_CreditsUsedInCents added in v0.14.0

func UserCredit_CreditsUsedInCents(v int) UserCredit_CreditsUsedInCents_Field

type UserCredit_ExpiresAt_Field added in v0.14.0

type UserCredit_ExpiresAt_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_ExpiresAt added in v0.14.0

func UserCredit_ExpiresAt(v time.Time) UserCredit_ExpiresAt_Field

type UserCredit_Id_Field added in v0.14.0

type UserCredit_Id_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_Id added in v0.14.0

func UserCredit_Id(v int) UserCredit_Id_Field

type UserCredit_OfferId_Field added in v0.14.0

type UserCredit_OfferId_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_OfferId added in v0.14.0

func UserCredit_OfferId(v int) UserCredit_OfferId_Field

type UserCredit_ReferredBy_Field added in v0.14.0

type UserCredit_ReferredBy_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_ReferredBy added in v0.14.0

func UserCredit_ReferredBy(v []byte) UserCredit_ReferredBy_Field

func UserCredit_ReferredBy_Null added in v0.14.0

func UserCredit_ReferredBy_Null() UserCredit_ReferredBy_Field

func UserCredit_ReferredBy_Raw added in v0.14.0

func UserCredit_ReferredBy_Raw(v []byte) UserCredit_ReferredBy_Field

type UserCredit_Type_Field added in v0.17.0

type UserCredit_Type_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_Type added in v0.17.0

func UserCredit_Type(v string) UserCredit_Type_Field

type UserCredit_Update_Fields added in v0.14.0

type UserCredit_Update_Fields struct {
	CreditsUsedInCents UserCredit_CreditsUsedInCents_Field
	ExpiresAt          UserCredit_ExpiresAt_Field
}

type UserCredit_UserId_Field added in v0.14.0

type UserCredit_UserId_Field struct {
	// contains filtered or unexported fields
}

func UserCredit_UserId added in v0.14.0

func UserCredit_UserId(v []byte) UserCredit_UserId_Field

type User_Create_Fields

type User_Create_Fields struct {
	ShortName User_ShortName_Field
	PartnerId User_PartnerId_Field
}

type User_CreatedAt_Field

type User_CreatedAt_Field struct {
	// contains filtered or unexported fields
}

func User_CreatedAt

func User_CreatedAt(v time.Time) User_CreatedAt_Field

type User_Email_Field

type User_Email_Field struct {
	// contains filtered or unexported fields
}

func User_Email

func User_Email(v string) User_Email_Field

type User_FullName_Field

type User_FullName_Field struct {
	// contains filtered or unexported fields
}

func User_FullName

func User_FullName(v string) User_FullName_Field

type User_Id_Field

type User_Id_Field struct {
	// contains filtered or unexported fields
}

func User_Id

func User_Id(v []byte) User_Id_Field

type User_NormalizedEmail_Field added in v0.21.0

type User_NormalizedEmail_Field struct {
	// contains filtered or unexported fields
}

func User_NormalizedEmail added in v0.21.0

func User_NormalizedEmail(v string) User_NormalizedEmail_Field

type User_PartnerId_Field added in v0.15.0

type User_PartnerId_Field struct {
	// contains filtered or unexported fields
}

func User_PartnerId added in v0.15.0

func User_PartnerId(v []byte) User_PartnerId_Field

func User_PartnerId_Null added in v0.15.0

func User_PartnerId_Null() User_PartnerId_Field

func User_PartnerId_Raw added in v0.15.0

func User_PartnerId_Raw(v []byte) User_PartnerId_Field

type User_PasswordHash_Field

type User_PasswordHash_Field struct {
	// contains filtered or unexported fields
}

func User_PasswordHash

func User_PasswordHash(v []byte) User_PasswordHash_Field

type User_ShortName_Field

type User_ShortName_Field struct {
	// contains filtered or unexported fields
}

func User_ShortName

func User_ShortName(v string) User_ShortName_Field

func User_ShortName_Null

func User_ShortName_Null() User_ShortName_Field

func User_ShortName_Raw

func User_ShortName_Raw(v *string) User_ShortName_Field

type User_Status_Field

type User_Status_Field struct {
	// contains filtered or unexported fields
}

func User_Status

func User_Status(v int) User_Status_Field

type User_Update_Fields

type User_Update_Fields struct {
	Email           User_Email_Field
	NormalizedEmail User_NormalizedEmail_Field
	FullName        User_FullName_Field
	ShortName       User_ShortName_Field
	PasswordHash    User_PasswordHash_Field
	Status          User_Status_Field
}

type ValueAttribution added in v0.13.0

type ValueAttribution struct {
	ProjectId   []byte
	BucketName  []byte
	PartnerId   []byte
	LastUpdated time.Time
}

type ValueAttribution_BucketName_Field added in v0.14.0

type ValueAttribution_BucketName_Field struct {
	// contains filtered or unexported fields
}

func ValueAttribution_BucketName added in v0.14.0

func ValueAttribution_BucketName(v []byte) ValueAttribution_BucketName_Field

type ValueAttribution_LastUpdated_Field added in v0.13.0

type ValueAttribution_LastUpdated_Field struct {
	// contains filtered or unexported fields
}

func ValueAttribution_LastUpdated added in v0.13.0

func ValueAttribution_LastUpdated(v time.Time) ValueAttribution_LastUpdated_Field

type ValueAttribution_PartnerId_Field added in v0.13.0

type ValueAttribution_PartnerId_Field struct {
	// contains filtered or unexported fields
}

func ValueAttribution_PartnerId added in v0.13.0

func ValueAttribution_PartnerId(v []byte) ValueAttribution_PartnerId_Field

type ValueAttribution_ProjectId_Field added in v0.14.0

type ValueAttribution_ProjectId_Field struct {
	// contains filtered or unexported fields
}

func ValueAttribution_ProjectId added in v0.14.0

func ValueAttribution_ProjectId(v []byte) ValueAttribution_ProjectId_Field

type ValueAttribution_Update_Fields added in v0.13.0

type ValueAttribution_Update_Fields struct {
}

type Value_Row

type Value_Row struct {
	Value time.Time
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL