satellitedb

package
v0.19.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2019 License: AGPL-3.0 Imports: 15 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{})
)
View Source
var SQLite3JournalMode = "WAL"

SQLite3JournalMode controls the journal_mode pragma for all new connections. Since it is read without a mutex, it must be changed to the value you want before any Open calls.

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 BucketUsage

type BucketUsage struct {
	Id               []byte
	BucketId         []byte
	RollupEndTime    time.Time
	RemoteStoredData uint64
	InlineStoredData uint64
	RemoteSegments   uint
	InlineSegments   uint
	Objects          uint
	MetadataSize     uint64
	RepairEgress     uint64
	GetEgress        uint64
	AuditEgress      uint64
}

type BucketUsage_AuditEgress_Field

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

func BucketUsage_AuditEgress

func BucketUsage_AuditEgress(v uint64) BucketUsage_AuditEgress_Field

type BucketUsage_BucketId_Field

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

func BucketUsage_BucketId

func BucketUsage_BucketId(v []byte) BucketUsage_BucketId_Field

type BucketUsage_GetEgress_Field

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

func BucketUsage_GetEgress

func BucketUsage_GetEgress(v uint64) BucketUsage_GetEgress_Field

type BucketUsage_Id_Field

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

func BucketUsage_Id

func BucketUsage_Id(v []byte) BucketUsage_Id_Field

type BucketUsage_InlineSegments_Field

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

func BucketUsage_InlineSegments

func BucketUsage_InlineSegments(v uint) BucketUsage_InlineSegments_Field

type BucketUsage_InlineStoredData_Field

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

func BucketUsage_InlineStoredData

func BucketUsage_InlineStoredData(v uint64) BucketUsage_InlineStoredData_Field

type BucketUsage_MetadataSize_Field

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

func BucketUsage_MetadataSize

func BucketUsage_MetadataSize(v uint64) BucketUsage_MetadataSize_Field

type BucketUsage_Objects_Field

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

func BucketUsage_Objects

func BucketUsage_Objects(v uint) BucketUsage_Objects_Field

type BucketUsage_RemoteSegments_Field

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

func BucketUsage_RemoteSegments

func BucketUsage_RemoteSegments(v uint) BucketUsage_RemoteSegments_Field

type BucketUsage_RemoteStoredData_Field

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

func BucketUsage_RemoteStoredData

func BucketUsage_RemoteStoredData(v uint64) BucketUsage_RemoteStoredData_Field

type BucketUsage_RepairEgress_Field

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

func BucketUsage_RepairEgress

func BucketUsage_RepairEgress(v uint64) BucketUsage_RepairEgress_Field

type BucketUsage_RollupEndTime_Field

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

func BucketUsage_RollupEndTime

func BucketUsage_RollupEndTime(v time.Time) BucketUsage_RollupEndTime_Field

type BucketUsage_Update_Fields

type BucketUsage_Update_Fields struct {
}

type DB

type DB struct {
	*sql.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 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_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_Node_Id(ctx context.Context) (
		rows []*Id_Row, err error)

	All_Node_Id_Node_PieceCount_By_PieceCount_Not_Number(ctx context.Context) (
		rows []*Id_PieceCount_Row, 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_ProjectPayment_By_PayerId(ctx context.Context,
		project_payment_payer_id ProjectPayment_PayerId_Field) (
		rows []*ProjectPayment, err error)

	All_ProjectPayment_By_ProjectId(ctx context.Context,
		project_payment_project_id ProjectPayment_ProjectId_Field) (
		rows []*ProjectPayment, 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_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)

	Create_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) (
		accounting_rollup *AccountingRollup, err error)

	Create_AccountingTimestamps(ctx context.Context,
		accounting_timestamps_name AccountingTimestamps_Name_Field,
		accounting_timestamps_value AccountingTimestamps_Value_Field) (
		accounting_timestamps *AccountingTimestamps, 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_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) (
		bucket_storage_tally *BucketStorageTally, err error)

	Create_BucketUsage(ctx context.Context,
		bucket_usage_id BucketUsage_Id_Field,
		bucket_usage_bucket_id BucketUsage_BucketId_Field,
		bucket_usage_rollup_end_time BucketUsage_RollupEndTime_Field,
		bucket_usage_remote_stored_data BucketUsage_RemoteStoredData_Field,
		bucket_usage_inline_stored_data BucketUsage_InlineStoredData_Field,
		bucket_usage_remote_segments BucketUsage_RemoteSegments_Field,
		bucket_usage_inline_segments BucketUsage_InlineSegments_Field,
		bucket_usage_objects BucketUsage_Objects_Field,
		bucket_usage_metadata_size BucketUsage_MetadataSize_Field,
		bucket_usage_repair_egress BucketUsage_RepairEgress_Field,
		bucket_usage_get_egress BucketUsage_GetEgress_Field,
		bucket_usage_audit_egress BucketUsage_AuditEgress_Field) (
		bucket_usage *BucketUsage, err error)

	Create_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) (
		irreparabledb *Irreparabledb, err error)

	Create_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,
		optional Node_Create_Fields) (
		node *Node, 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_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) (
		peer_identity *PeerIdentity, 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_ProjectPayment(ctx context.Context,
		project_payment_id ProjectPayment_Id_Field,
		project_payment_project_id ProjectPayment_ProjectId_Field,
		project_payment_payer_id ProjectPayment_PayerId_Field,
		project_payment_payment_method_id ProjectPayment_PaymentMethodId_Field,
		project_payment_is_default ProjectPayment_IsDefault_Field) (
		project_payment *ProjectPayment, 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_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) (
		serial_number *SerialNumber, err error)

	Create_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) (
		storagenode_storage_tally *StoragenodeStorageTally, err error)

	Create_UsedSerial(ctx context.Context,
		used_serial_serial_number_id UsedSerial_SerialNumberId_Field,
		used_serial_storage_node_id UsedSerial_StorageNodeId_Field) (
		used_serial *UsedSerial, err error)

	Create_User(ctx context.Context,
		user_id User_Id_Field,
		user_email User_Email_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_UserPayment(ctx context.Context,
		user_payment_user_id UserPayment_UserId_Field,
		user_payment_customer_id UserPayment_CustomerId_Field) (
		user_payment *UserPayment, 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_BucketUsage_By_Id(ctx context.Context,
		bucket_usage_id BucketUsage_Id_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_ProjectPayment_By_Id(ctx context.Context,
		project_payment_id ProjectPayment_Id_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_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_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_BucketUsage_By_Id(ctx context.Context,
		bucket_usage_id BucketUsage_Id_Field) (
		bucket_usage *BucketUsage, 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_ProjectPayment_By_Id(ctx context.Context,
		project_payment_id ProjectPayment_Id_Field) (
		project_payment *ProjectPayment, err error)

	Get_ProjectPayment_By_ProjectId_And_IsDefault_Equal_True(ctx context.Context,
		project_payment_project_id ProjectPayment_ProjectId_Field) (
		project_payment *ProjectPayment, err error)

	Get_Project_By_Id(ctx context.Context,
		project_id Project_Id_Field) (
		project *Project, 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_UserPayment_By_UserId(ctx context.Context,
		user_payment_user_id UserPayment_UserId_Field) (
		user_payment *UserPayment, err error)

	Get_User_By_Email_And_Status_Not_Number(ctx context.Context,
		user_email User_Email_Field) (
		user *User, err error)

	Get_User_By_Id(ctx context.Context,
		user_id User_Id_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)

	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_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Asc_RollupEndTime(ctx context.Context,
		bucket_usage_bucket_id BucketUsage_BucketId_Field,
		bucket_usage_rollup_end_time_greater BucketUsage_RollupEndTime_Field,
		bucket_usage_rollup_end_time_less_or_equal BucketUsage_RollupEndTime_Field,
		limit int, offset int64) (
		rows []*BucketUsage, err error)

	Limited_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Desc_RollupEndTime(ctx context.Context,
		bucket_usage_bucket_id BucketUsage_BucketId_Field,
		bucket_usage_rollup_end_time_greater BucketUsage_RollupEndTime_Field,
		bucket_usage_rollup_end_time_less_or_equal BucketUsage_RollupEndTime_Field,
		limit int, offset int64) (
		rows []*BucketUsage, 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_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)

	Update_AccountingTimestamps_By_Name(ctx context.Context,
		accounting_timestamps_name AccountingTimestamps_Name_Field,
		update AccountingTimestamps_Update_Fields) (
		accounting_timestamps *AccountingTimestamps, err error)

	Update_ApiKey_By_Id(ctx context.Context,
		api_key_id ApiKey_Id_Field,
		update ApiKey_Update_Fields) (
		api_key *ApiKey, 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_Irreparabledb_By_Segmentpath(ctx context.Context,
		irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
		update Irreparabledb_Update_Fields) (
		irreparabledb *Irreparabledb, err error)

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

	Update_Offer_By_Id(ctx context.Context,
		offer_id Offer_Id_Field,
		update Offer_Update_Fields) (
		offer *Offer, err error)

	Update_PeerIdentity_By_NodeId(ctx context.Context,
		peer_identity_node_id PeerIdentity_NodeId_Field,
		update PeerIdentity_Update_Fields) (
		peer_identity *PeerIdentity, 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_ProjectPayment_By_Id(ctx context.Context,
		project_payment_id ProjectPayment_Id_Field,
		update ProjectPayment_Update_Fields) (
		project_payment *ProjectPayment, 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_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
}

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
}

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_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 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 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 Project

type Project struct {
	Id          []byte
	Name        string
	Description string
	UsageLimit  int64
	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 ProjectPayment added in v0.13.0

type ProjectPayment struct {
	Id              []byte
	ProjectId       []byte
	PayerId         []byte
	PaymentMethodId []byte
	IsDefault       bool
	CreatedAt       time.Time
}

type ProjectPayment_CreatedAt_Field added in v0.13.0

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

func ProjectPayment_CreatedAt added in v0.13.0

func ProjectPayment_CreatedAt(v time.Time) ProjectPayment_CreatedAt_Field

type ProjectPayment_Id_Field added in v0.15.0

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

func ProjectPayment_Id added in v0.15.0

func ProjectPayment_Id(v []byte) ProjectPayment_Id_Field

type ProjectPayment_IsDefault_Field added in v0.15.0

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

func ProjectPayment_IsDefault added in v0.15.0

func ProjectPayment_IsDefault(v bool) ProjectPayment_IsDefault_Field

type ProjectPayment_PayerId_Field added in v0.13.0

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

func ProjectPayment_PayerId added in v0.13.0

func ProjectPayment_PayerId(v []byte) ProjectPayment_PayerId_Field

type ProjectPayment_PaymentMethodId_Field added in v0.13.0

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

func ProjectPayment_PaymentMethodId added in v0.13.0

func ProjectPayment_PaymentMethodId(v []byte) ProjectPayment_PaymentMethodId_Field

type ProjectPayment_ProjectId_Field added in v0.13.0

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

func ProjectPayment_ProjectId added in v0.13.0

func ProjectPayment_ProjectId(v []byte) ProjectPayment_ProjectId_Field

type ProjectPayment_Update_Fields added in v0.13.0

type ProjectPayment_Update_Fields struct {
	IsDefault ProjectPayment_IsDefault_Field
}

type Project_Create_Fields added in v0.15.0

type Project_Create_Fields struct {
	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_Update_Fields

type Project_Update_Fields struct {
	Description Project_Description_Field
	UsageLimit  Project_UsageLimit_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 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_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_Node_Id

func (rx *Rx) All_Node_Id(ctx context.Context) (
	rows []*Id_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_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_ProjectPayment_By_PayerId added in v0.15.0

func (rx *Rx) All_ProjectPayment_By_PayerId(ctx context.Context,
	project_payment_payer_id ProjectPayment_PayerId_Field) (
	rows []*ProjectPayment, err error)

func (*Rx) All_ProjectPayment_By_ProjectId added in v0.15.0

func (rx *Rx) All_ProjectPayment_By_ProjectId(ctx context.Context,
	project_payment_project_id ProjectPayment_ProjectId_Field) (
	rows []*ProjectPayment, 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_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) Create_AccountingRollup

func (rx *Rx) Create_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) (
	accounting_rollup *AccountingRollup, err error)

func (*Rx) Create_AccountingTimestamps

func (rx *Rx) Create_AccountingTimestamps(ctx context.Context,
	accounting_timestamps_name AccountingTimestamps_Name_Field,
	accounting_timestamps_value AccountingTimestamps_Value_Field) (
	accounting_timestamps *AccountingTimestamps, 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_BucketStorageTally

func (rx *Rx) Create_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) (
	bucket_storage_tally *BucketStorageTally, err error)

func (*Rx) Create_BucketUsage

func (rx *Rx) Create_BucketUsage(ctx context.Context,
	bucket_usage_id BucketUsage_Id_Field,
	bucket_usage_bucket_id BucketUsage_BucketId_Field,
	bucket_usage_rollup_end_time BucketUsage_RollupEndTime_Field,
	bucket_usage_remote_stored_data BucketUsage_RemoteStoredData_Field,
	bucket_usage_inline_stored_data BucketUsage_InlineStoredData_Field,
	bucket_usage_remote_segments BucketUsage_RemoteSegments_Field,
	bucket_usage_inline_segments BucketUsage_InlineSegments_Field,
	bucket_usage_objects BucketUsage_Objects_Field,
	bucket_usage_metadata_size BucketUsage_MetadataSize_Field,
	bucket_usage_repair_egress BucketUsage_RepairEgress_Field,
	bucket_usage_get_egress BucketUsage_GetEgress_Field,
	bucket_usage_audit_egress BucketUsage_AuditEgress_Field) (
	bucket_usage *BucketUsage, err error)

func (*Rx) Create_Irreparabledb

func (rx *Rx) Create_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) (
	irreparabledb *Irreparabledb, err error)

func (*Rx) Create_Node

func (rx *Rx) Create_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,
	optional Node_Create_Fields) (
	node *Node, 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_PeerIdentity added in v0.19.0

func (rx *Rx) Create_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) (
	peer_identity *PeerIdentity, 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_ProjectPayment added in v0.13.0

func (rx *Rx) Create_ProjectPayment(ctx context.Context,
	project_payment_id ProjectPayment_Id_Field,
	project_payment_project_id ProjectPayment_ProjectId_Field,
	project_payment_payer_id ProjectPayment_PayerId_Field,
	project_payment_payment_method_id ProjectPayment_PaymentMethodId_Field,
	project_payment_is_default ProjectPayment_IsDefault_Field) (
	project_payment *ProjectPayment, 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_SerialNumber

func (rx *Rx) Create_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) (
	serial_number *SerialNumber, err error)

func (*Rx) Create_StoragenodeStorageTally added in v0.12.0

func (rx *Rx) Create_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) (
	storagenode_storage_tally *StoragenodeStorageTally, err error)

func (*Rx) Create_UsedSerial

func (rx *Rx) Create_UsedSerial(ctx context.Context,
	used_serial_serial_number_id UsedSerial_SerialNumberId_Field,
	used_serial_storage_node_id UsedSerial_StorageNodeId_Field) (
	used_serial *UsedSerial, 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_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_UserPayment added in v0.13.0

func (rx *Rx) Create_UserPayment(ctx context.Context,
	user_payment_user_id UserPayment_UserId_Field,
	user_payment_customer_id UserPayment_CustomerId_Field) (
	user_payment *UserPayment, 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_BucketUsage_By_Id

func (rx *Rx) Delete_BucketUsage_By_Id(ctx context.Context,
	bucket_usage_id BucketUsage_Id_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_ProjectPayment_By_Id added in v0.15.0

func (rx *Rx) Delete_ProjectPayment_By_Id(ctx context.Context,
	project_payment_id ProjectPayment_Id_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_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_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_BucketUsage_By_Id

func (rx *Rx) Get_BucketUsage_By_Id(ctx context.Context,
	bucket_usage_id BucketUsage_Id_Field) (
	bucket_usage *BucketUsage, 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_ProjectPayment_By_Id added in v0.15.0

func (rx *Rx) Get_ProjectPayment_By_Id(ctx context.Context,
	project_payment_id ProjectPayment_Id_Field) (
	project_payment *ProjectPayment, err error)

func (*Rx) Get_ProjectPayment_By_ProjectId_And_IsDefault_Equal_True added in v0.15.0

func (rx *Rx) Get_ProjectPayment_By_ProjectId_And_IsDefault_Equal_True(ctx context.Context,
	project_payment_project_id ProjectPayment_ProjectId_Field) (
	project_payment *ProjectPayment, 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_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_UserPayment_By_UserId added in v0.13.0

func (rx *Rx) Get_UserPayment_By_UserId(ctx context.Context,
	user_payment_user_id UserPayment_UserId_Field) (
	user_payment *UserPayment, err error)

func (*Rx) Get_User_By_Email_And_Status_Not_Number

func (rx *Rx) Get_User_By_Email_And_Status_Not_Number(ctx context.Context,
	user_email User_Email_Field) (
	user *User, 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_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) 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_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Asc_RollupEndTime

func (rx *Rx) Limited_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Asc_RollupEndTime(ctx context.Context,
	bucket_usage_bucket_id BucketUsage_BucketId_Field,
	bucket_usage_rollup_end_time_greater BucketUsage_RollupEndTime_Field,
	bucket_usage_rollup_end_time_less_or_equal BucketUsage_RollupEndTime_Field,
	limit int, offset int64) (
	rows []*BucketUsage, err error)

func (*Rx) Limited_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Desc_RollupEndTime

func (rx *Rx) Limited_BucketUsage_By_BucketId_And_RollupEndTime_Greater_And_RollupEndTime_LessOrEqual_OrderBy_Desc_RollupEndTime(ctx context.Context,
	bucket_usage_bucket_id BucketUsage_BucketId_Field,
	bucket_usage_rollup_end_time_greater BucketUsage_RollupEndTime_Field,
	bucket_usage_rollup_end_time_less_or_equal BucketUsage_RollupEndTime_Field,
	limit int, offset int64) (
	rows []*BucketUsage, 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_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) Rebind

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

func (*Rx) Rollback

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

func (*Rx) UnsafeTx

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

func (*Rx) Update_AccountingTimestamps_By_Name

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

func (*Rx) Update_ApiKey_By_Id

func (rx *Rx) Update_ApiKey_By_Id(ctx context.Context,
	api_key_id ApiKey_Id_Field,
	update ApiKey_Update_Fields) (
	api_key *ApiKey, 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_Irreparabledb_By_Segmentpath

func (rx *Rx) Update_Irreparabledb_By_Segmentpath(ctx context.Context,
	irreparabledb_segmentpath Irreparabledb_Segmentpath_Field,
	update Irreparabledb_Update_Fields) (
	irreparabledb *Irreparabledb, 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_Offer_By_Id added in v0.13.0

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

func (*Rx) Update_PeerIdentity_By_NodeId added in v0.19.0

func (rx *Rx) Update_PeerIdentity_By_NodeId(ctx context.Context,
	peer_identity_node_id PeerIdentity_NodeId_Field,
	update PeerIdentity_Update_Fields) (
	peer_identity *PeerIdentity, 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_ProjectPayment_By_Id added in v0.15.0

func (rx *Rx) Update_ProjectPayment_By_Id(ctx context.Context,
	project_payment_id ProjectPayment_Id_Field,
	update ProjectPayment_Update_Fields) (
	project_payment *ProjectPayment, 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_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
}

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 Tx

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

type TxMethods

type TxMethods interface {
	Methods

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

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
	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 UserPayment added in v0.13.0

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

type UserPayment_CreatedAt_Field added in v0.13.0

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

func UserPayment_CreatedAt added in v0.13.0

func UserPayment_CreatedAt(v time.Time) UserPayment_CreatedAt_Field

type UserPayment_CustomerId_Field added in v0.13.0

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

func UserPayment_CustomerId added in v0.13.0

func UserPayment_CustomerId(v []byte) UserPayment_CustomerId_Field

type UserPayment_Update_Fields added in v0.13.0

type UserPayment_Update_Fields struct {
}

type UserPayment_UserId_Field added in v0.13.0

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

func UserPayment_UserId added in v0.13.0

func UserPayment_UserId(v []byte) UserPayment_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_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
	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