models

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Code generated by go-queryset. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var AuthDBSchema = struct {
	ID                 AuthDBSchemaField
	CreatedAt          AuthDBSchemaField
	UpdatedAt          AuthDBSchemaField
	DeletedAt          AuthDBSchemaField
	AccessToken        AuthDBSchemaField
	PrivateAccessToken AuthDBSchemaField
	RawData            AuthDBSchemaField
	UserID             AuthDBSchemaField
	Provider           AuthDBSchemaField
	ProviderUserID     AuthDBSchemaField
	Login              AuthDBSchemaField
}{

	ID:                 AuthDBSchemaField("id"),
	CreatedAt:          AuthDBSchemaField("created_at"),
	UpdatedAt:          AuthDBSchemaField("updated_at"),
	DeletedAt:          AuthDBSchemaField("deleted_at"),
	AccessToken:        AuthDBSchemaField("access_token"),
	PrivateAccessToken: AuthDBSchemaField("private_access_token"),
	RawData:            AuthDBSchemaField("raw_data"),
	UserID:             AuthDBSchemaField("user_id"),
	Provider:           AuthDBSchemaField("provider"),
	ProviderUserID:     AuthDBSchemaField("provider_user_id"),
	Login:              AuthDBSchemaField("login"),
}

AuthDBSchema stores db field names of Auth

View Source
var OrgDBSchema = struct {
	ID                     OrgDBSchemaField
	CreatedAt              OrgDBSchemaField
	UpdatedAt              OrgDBSchemaField
	DeletedAt              OrgDBSchemaField
	Name                   OrgDBSchemaField
	DisplayName            OrgDBSchemaField
	Provider               OrgDBSchemaField
	ProviderID             OrgDBSchemaField
	ProviderPersonalUserID OrgDBSchemaField
	Settings               OrgDBSchemaField
	Version                OrgDBSchemaField
}{

	ID:                     OrgDBSchemaField("id"),
	CreatedAt:              OrgDBSchemaField("created_at"),
	UpdatedAt:              OrgDBSchemaField("updated_at"),
	DeletedAt:              OrgDBSchemaField("deleted_at"),
	Name:                   OrgDBSchemaField("name"),
	DisplayName:            OrgDBSchemaField("display_name"),
	Provider:               OrgDBSchemaField("provider"),
	ProviderID:             OrgDBSchemaField("provider_id"),
	ProviderPersonalUserID: OrgDBSchemaField("provider_personal_user_id"),
	Settings:               OrgDBSchemaField("settings"),
	Version:                OrgDBSchemaField("version"),
}

OrgDBSchema stores db field names of Org

View Source
var OrgSubDBSchema = struct {
	ID                           OrgSubDBSchemaField
	CreatedAt                    OrgSubDBSchemaField
	UpdatedAt                    OrgSubDBSchemaField
	DeletedAt                    OrgSubDBSchemaField
	PaymentGatewayName           OrgSubDBSchemaField
	PaymentGatewayCardToken      OrgSubDBSchemaField
	PaymentGatewayCustomerID     OrgSubDBSchemaField
	PaymentGatewaySubscriptionID OrgSubDBSchemaField
	BillingUserID                OrgSubDBSchemaField
	OrgID                        OrgSubDBSchemaField
	SeatsCount                   OrgSubDBSchemaField
	PricePerSeat                 OrgSubDBSchemaField
	CommitState                  OrgSubDBSchemaField
	IdempotencyKey               OrgSubDBSchemaField
	Version                      OrgSubDBSchemaField
	CancelURL                    OrgSubDBSchemaField
}{

	ID:                           OrgSubDBSchemaField("id"),
	CreatedAt:                    OrgSubDBSchemaField("created_at"),
	UpdatedAt:                    OrgSubDBSchemaField("updated_at"),
	DeletedAt:                    OrgSubDBSchemaField("deleted_at"),
	PaymentGatewayName:           OrgSubDBSchemaField("payment_gateway_name"),
	PaymentGatewayCardToken:      OrgSubDBSchemaField("payment_gateway_card_token"),
	PaymentGatewayCustomerID:     OrgSubDBSchemaField("payment_gateway_customer_id"),
	PaymentGatewaySubscriptionID: OrgSubDBSchemaField("payment_gateway_subscription_id"),
	BillingUserID:                OrgSubDBSchemaField("billing_user_id"),
	OrgID:                        OrgSubDBSchemaField("org_id"),
	SeatsCount:                   OrgSubDBSchemaField("seats_count"),
	PricePerSeat:                 OrgSubDBSchemaField("price_per_seat"),
	CommitState:                  OrgSubDBSchemaField("commit_state"),
	IdempotencyKey:               OrgSubDBSchemaField("idempotency_key"),
	Version:                      OrgSubDBSchemaField("version"),
	CancelURL:                    OrgSubDBSchemaField("cancel_url"),
}

OrgSubDBSchema stores db field names of OrgSub

PaymentGatewayEventDBSchema stores db field names of PaymentGatewayEvent

View Source
var PullRequestAnalysisDBSchema = struct {
	ID                  PullRequestAnalysisDBSchemaField
	CreatedAt           PullRequestAnalysisDBSchemaField
	UpdatedAt           PullRequestAnalysisDBSchemaField
	DeletedAt           PullRequestAnalysisDBSchemaField
	RepoID              PullRequestAnalysisDBSchemaField
	PullRequestNumber   PullRequestAnalysisDBSchemaField
	GithubDeliveryGUID  PullRequestAnalysisDBSchemaField
	CommitSHA           PullRequestAnalysisDBSchemaField
	Status              PullRequestAnalysisDBSchemaField
	ReportedIssuesCount PullRequestAnalysisDBSchemaField
	ResultJSON          PullRequestAnalysisDBSchemaField
}{

	ID:                  PullRequestAnalysisDBSchemaField("id"),
	CreatedAt:           PullRequestAnalysisDBSchemaField("created_at"),
	UpdatedAt:           PullRequestAnalysisDBSchemaField("updated_at"),
	DeletedAt:           PullRequestAnalysisDBSchemaField("deleted_at"),
	RepoID:              PullRequestAnalysisDBSchemaField("repo_id"),
	PullRequestNumber:   PullRequestAnalysisDBSchemaField("pull_request_number"),
	GithubDeliveryGUID:  PullRequestAnalysisDBSchemaField("github_delivery_guid"),
	CommitSHA:           PullRequestAnalysisDBSchemaField("commit_sha"),
	Status:              PullRequestAnalysisDBSchemaField("status"),
	ReportedIssuesCount: PullRequestAnalysisDBSchemaField("reported_issues_count"),
	ResultJSON:          PullRequestAnalysisDBSchemaField("result_json"),
}

PullRequestAnalysisDBSchema stores db field names of PullRequestAnalysis

View Source
var RepoAnalysisDBSchema = struct {
	ID                   RepoAnalysisDBSchemaField
	CreatedAt            RepoAnalysisDBSchemaField
	UpdatedAt            RepoAnalysisDBSchemaField
	DeletedAt            RepoAnalysisDBSchemaField
	RepoAnalysisStatusID RepoAnalysisDBSchemaField
	RepoAnalysisStatus   RepoAnalysisDBSchemaField
	AnalysisGUID         RepoAnalysisDBSchemaField
	Status               RepoAnalysisDBSchemaField
	CommitSHA            RepoAnalysisDBSchemaField
	ResultJSON           RepoAnalysisDBSchemaField
	AttemptNumber        RepoAnalysisDBSchemaField
	LintersVersion       RepoAnalysisDBSchemaField
}{

	ID:                   RepoAnalysisDBSchemaField("id"),
	CreatedAt:            RepoAnalysisDBSchemaField("created_at"),
	UpdatedAt:            RepoAnalysisDBSchemaField("updated_at"),
	DeletedAt:            RepoAnalysisDBSchemaField("deleted_at"),
	RepoAnalysisStatusID: RepoAnalysisDBSchemaField("repo_analysis_status_id"),
	RepoAnalysisStatus:   RepoAnalysisDBSchemaField("repo_analysis_status"),
	AnalysisGUID:         RepoAnalysisDBSchemaField("analysis_guid"),
	Status:               RepoAnalysisDBSchemaField("status"),
	CommitSHA:            RepoAnalysisDBSchemaField("commit_sha"),
	ResultJSON:           RepoAnalysisDBSchemaField("result_json"),
	AttemptNumber:        RepoAnalysisDBSchemaField("attempt_number"),
	LintersVersion:       RepoAnalysisDBSchemaField("linters_version"),
}

RepoAnalysisDBSchema stores db field names of RepoAnalysis

View Source
var RepoAnalysisStatusDBSchema = struct {
	ID                         RepoAnalysisStatusDBSchemaField
	CreatedAt                  RepoAnalysisStatusDBSchemaField
	UpdatedAt                  RepoAnalysisStatusDBSchemaField
	DeletedAt                  RepoAnalysisStatusDBSchemaField
	RepoID                     RepoAnalysisStatusDBSchemaField
	LastAnalyzedAt             RepoAnalysisStatusDBSchemaField
	LastAnalyzedLintersVersion RepoAnalysisStatusDBSchemaField
	HasPendingChanges          RepoAnalysisStatusDBSchemaField
	PendingCommitSHA           RepoAnalysisStatusDBSchemaField
	Version                    RepoAnalysisStatusDBSchemaField
	DefaultBranch              RepoAnalysisStatusDBSchemaField
	IsEmpty                    RepoAnalysisStatusDBSchemaField
	Active                     RepoAnalysisStatusDBSchemaField
}{

	ID:                         RepoAnalysisStatusDBSchemaField("id"),
	CreatedAt:                  RepoAnalysisStatusDBSchemaField("created_at"),
	UpdatedAt:                  RepoAnalysisStatusDBSchemaField("updated_at"),
	DeletedAt:                  RepoAnalysisStatusDBSchemaField("deleted_at"),
	RepoID:                     RepoAnalysisStatusDBSchemaField("repo_id"),
	LastAnalyzedAt:             RepoAnalysisStatusDBSchemaField("last_analyzed_at"),
	LastAnalyzedLintersVersion: RepoAnalysisStatusDBSchemaField("last_analyzed_linters_version"),
	HasPendingChanges:          RepoAnalysisStatusDBSchemaField("has_pending_changes"),
	PendingCommitSHA:           RepoAnalysisStatusDBSchemaField("pending_commit_sha"),
	Version:                    RepoAnalysisStatusDBSchemaField("version"),
	DefaultBranch:              RepoAnalysisStatusDBSchemaField("default_branch"),
	IsEmpty:                    RepoAnalysisStatusDBSchemaField("is_empty"),
	Active:                     RepoAnalysisStatusDBSchemaField("active"),
}

RepoAnalysisStatusDBSchema stores db field names of RepoAnalysisStatus

View Source
var RepoDBSchema = struct {
	ID               RepoDBSchemaField
	CreatedAt        RepoDBSchemaField
	UpdatedAt        RepoDBSchemaField
	DeletedAt        RepoDBSchemaField
	UserID           RepoDBSchemaField
	FullName         RepoDBSchemaField
	DisplayFullName  RepoDBSchemaField
	HookID           RepoDBSchemaField
	Provider         RepoDBSchemaField
	ProviderHookID   RepoDBSchemaField
	ProviderID       RepoDBSchemaField
	CommitState      RepoDBSchemaField
	StargazersCount  RepoDBSchemaField
	IsPrivate        RepoDBSchemaField
	CreateFailReason RepoDBSchemaField
}{

	ID:               RepoDBSchemaField("id"),
	CreatedAt:        RepoDBSchemaField("created_at"),
	UpdatedAt:        RepoDBSchemaField("updated_at"),
	DeletedAt:        RepoDBSchemaField("deleted_at"),
	UserID:           RepoDBSchemaField("user_id"),
	FullName:         RepoDBSchemaField("name"),
	DisplayFullName:  RepoDBSchemaField("display_name"),
	HookID:           RepoDBSchemaField("hook_id"),
	Provider:         RepoDBSchemaField("provider"),
	ProviderHookID:   RepoDBSchemaField("provider_hook_id"),
	ProviderID:       RepoDBSchemaField("provider_id"),
	CommitState:      RepoDBSchemaField("commit_state"),
	StargazersCount:  RepoDBSchemaField("stargazers_count"),
	IsPrivate:        RepoDBSchemaField("is_private"),
	CreateFailReason: RepoDBSchemaField("create_fail_reason"),
}

RepoDBSchema stores db field names of Repo

View Source
var UserDBSchema = struct {
	ID        UserDBSchemaField
	CreatedAt UserDBSchemaField
	UpdatedAt UserDBSchemaField
	DeletedAt UserDBSchemaField
	Email     UserDBSchemaField
	Name      UserDBSchemaField
	AvatarURL UserDBSchemaField
}{

	ID:        UserDBSchemaField("id"),
	CreatedAt: UserDBSchemaField("created_at"),
	UpdatedAt: UserDBSchemaField("updated_at"),
	DeletedAt: UserDBSchemaField("deleted_at"),
	Email:     UserDBSchemaField("email"),
	Name:      UserDBSchemaField("name"),
	AvatarURL: UserDBSchemaField("avatar_url"),
}

UserDBSchema stores db field names of User

Functions

This section is empty.

Types

type Auth

type Auth struct {
	gorm.Model

	AccessToken        string
	PrivateAccessToken string

	RawData []byte
	UserID  uint

	Provider       string
	ProviderUserID uint64

	Login string
}

gen:qs

func (*Auth) Create

func (o *Auth) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*Auth) Delete

func (o *Auth) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (Auth) GoString

func (a Auth) GoString() string

func (*Auth) Update

func (o *Auth) Update(db *gorm.DB, fields ...AuthDBSchemaField) error

Update updates Auth fields by primary key nolint: dupl

type AuthDBSchemaField

type AuthDBSchemaField string

AuthDBSchemaField describes database schema field. It requires for method 'Update'

func (AuthDBSchemaField) String

func (f AuthDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type AuthQuerySet

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

AuthQuerySet is an queryset type for Auth

func NewAuthQuerySet

func NewAuthQuerySet(db *gorm.DB) AuthQuerySet

NewAuthQuerySet constructs new AuthQuerySet

func (AuthQuerySet) AccessTokenEq

func (qs AuthQuerySet) AccessTokenEq(accessToken string) AuthQuerySet

AccessTokenEq is an autogenerated method nolint: dupl

func (AuthQuerySet) AccessTokenIn

func (qs AuthQuerySet) AccessTokenIn(accessToken ...string) AuthQuerySet

AccessTokenIn is an autogenerated method nolint: dupl

func (AuthQuerySet) AccessTokenNe

func (qs AuthQuerySet) AccessTokenNe(accessToken string) AuthQuerySet

AccessTokenNe is an autogenerated method nolint: dupl

func (AuthQuerySet) AccessTokenNotIn

func (qs AuthQuerySet) AccessTokenNotIn(accessToken ...string) AuthQuerySet

AccessTokenNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) All

func (qs AuthQuerySet) All(ret *[]Auth) error

All is an autogenerated method nolint: dupl

func (AuthQuerySet) Count

func (qs AuthQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtEq

func (qs AuthQuerySet) CreatedAtEq(createdAt time.Time) AuthQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtGt

func (qs AuthQuerySet) CreatedAtGt(createdAt time.Time) AuthQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtGte

func (qs AuthQuerySet) CreatedAtGte(createdAt time.Time) AuthQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtLt

func (qs AuthQuerySet) CreatedAtLt(createdAt time.Time) AuthQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtLte

func (qs AuthQuerySet) CreatedAtLte(createdAt time.Time) AuthQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (AuthQuerySet) CreatedAtNe

func (qs AuthQuerySet) CreatedAtNe(createdAt time.Time) AuthQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (AuthQuerySet) Delete

func (qs AuthQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (AuthQuerySet) DeleteNum

func (qs AuthQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (AuthQuerySet) DeleteNumUnscoped

func (qs AuthQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtEq

func (qs AuthQuerySet) DeletedAtEq(deletedAt time.Time) AuthQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtGt

func (qs AuthQuerySet) DeletedAtGt(deletedAt time.Time) AuthQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtGte

func (qs AuthQuerySet) DeletedAtGte(deletedAt time.Time) AuthQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtIsNotNull

func (qs AuthQuerySet) DeletedAtIsNotNull() AuthQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtIsNull

func (qs AuthQuerySet) DeletedAtIsNull() AuthQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtLt

func (qs AuthQuerySet) DeletedAtLt(deletedAt time.Time) AuthQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtLte

func (qs AuthQuerySet) DeletedAtLte(deletedAt time.Time) AuthQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (AuthQuerySet) DeletedAtNe

func (qs AuthQuerySet) DeletedAtNe(deletedAt time.Time) AuthQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (AuthQuerySet) GetUpdater

func (qs AuthQuerySet) GetUpdater() AuthUpdater

GetUpdater is an autogenerated method nolint: dupl

func (AuthQuerySet) IDEq

func (qs AuthQuerySet) IDEq(ID uint) AuthQuerySet

IDEq is an autogenerated method nolint: dupl

func (AuthQuerySet) IDGt

func (qs AuthQuerySet) IDGt(ID uint) AuthQuerySet

IDGt is an autogenerated method nolint: dupl

func (AuthQuerySet) IDGte

func (qs AuthQuerySet) IDGte(ID uint) AuthQuerySet

IDGte is an autogenerated method nolint: dupl

func (AuthQuerySet) IDIn

func (qs AuthQuerySet) IDIn(ID ...uint) AuthQuerySet

IDIn is an autogenerated method nolint: dupl

func (AuthQuerySet) IDLt

func (qs AuthQuerySet) IDLt(ID uint) AuthQuerySet

IDLt is an autogenerated method nolint: dupl

func (AuthQuerySet) IDLte

func (qs AuthQuerySet) IDLte(ID uint) AuthQuerySet

IDLte is an autogenerated method nolint: dupl

func (AuthQuerySet) IDNe

func (qs AuthQuerySet) IDNe(ID uint) AuthQuerySet

IDNe is an autogenerated method nolint: dupl

func (AuthQuerySet) IDNotIn

func (qs AuthQuerySet) IDNotIn(ID ...uint) AuthQuerySet

IDNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) Limit

func (qs AuthQuerySet) Limit(limit int) AuthQuerySet

Limit is an autogenerated method nolint: dupl

func (AuthQuerySet) LoginEq

func (qs AuthQuerySet) LoginEq(login string) AuthQuerySet

LoginEq is an autogenerated method nolint: dupl

func (AuthQuerySet) LoginIn

func (qs AuthQuerySet) LoginIn(login ...string) AuthQuerySet

LoginIn is an autogenerated method nolint: dupl

func (AuthQuerySet) LoginNe

func (qs AuthQuerySet) LoginNe(login string) AuthQuerySet

LoginNe is an autogenerated method nolint: dupl

func (AuthQuerySet) LoginNotIn

func (qs AuthQuerySet) LoginNotIn(login ...string) AuthQuerySet

LoginNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) Offset

func (qs AuthQuerySet) Offset(offset int) AuthQuerySet

Offset is an autogenerated method nolint: dupl

func (AuthQuerySet) One

func (qs AuthQuerySet) One(ret *Auth) error

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (AuthQuerySet) OrderAscByCreatedAt

func (qs AuthQuerySet) OrderAscByCreatedAt() AuthQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderAscByDeletedAt

func (qs AuthQuerySet) OrderAscByDeletedAt() AuthQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderAscByID

func (qs AuthQuerySet) OrderAscByID() AuthQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderAscByProviderUserID

func (qs AuthQuerySet) OrderAscByProviderUserID() AuthQuerySet

OrderAscByProviderUserID is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderAscByUpdatedAt

func (qs AuthQuerySet) OrderAscByUpdatedAt() AuthQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderAscByUserID

func (qs AuthQuerySet) OrderAscByUserID() AuthQuerySet

OrderAscByUserID is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByCreatedAt

func (qs AuthQuerySet) OrderDescByCreatedAt() AuthQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByDeletedAt

func (qs AuthQuerySet) OrderDescByDeletedAt() AuthQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByID

func (qs AuthQuerySet) OrderDescByID() AuthQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByProviderUserID

func (qs AuthQuerySet) OrderDescByProviderUserID() AuthQuerySet

OrderDescByProviderUserID is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByUpdatedAt

func (qs AuthQuerySet) OrderDescByUpdatedAt() AuthQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (AuthQuerySet) OrderDescByUserID

func (qs AuthQuerySet) OrderDescByUserID() AuthQuerySet

OrderDescByUserID is an autogenerated method nolint: dupl

func (AuthQuerySet) PrivateAccessTokenEq

func (qs AuthQuerySet) PrivateAccessTokenEq(privateAccessToken string) AuthQuerySet

PrivateAccessTokenEq is an autogenerated method nolint: dupl

func (AuthQuerySet) PrivateAccessTokenIn

func (qs AuthQuerySet) PrivateAccessTokenIn(privateAccessToken ...string) AuthQuerySet

PrivateAccessTokenIn is an autogenerated method nolint: dupl

func (AuthQuerySet) PrivateAccessTokenNe

func (qs AuthQuerySet) PrivateAccessTokenNe(privateAccessToken string) AuthQuerySet

PrivateAccessTokenNe is an autogenerated method nolint: dupl

func (AuthQuerySet) PrivateAccessTokenNotIn

func (qs AuthQuerySet) PrivateAccessTokenNotIn(privateAccessToken ...string) AuthQuerySet

PrivateAccessTokenNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderEq

func (qs AuthQuerySet) ProviderEq(provider string) AuthQuerySet

ProviderEq is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderIn

func (qs AuthQuerySet) ProviderIn(provider ...string) AuthQuerySet

ProviderIn is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderNe

func (qs AuthQuerySet) ProviderNe(provider string) AuthQuerySet

ProviderNe is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderNotIn

func (qs AuthQuerySet) ProviderNotIn(provider ...string) AuthQuerySet

ProviderNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDEq

func (qs AuthQuerySet) ProviderUserIDEq(providerUserID uint64) AuthQuerySet

ProviderUserIDEq is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDGt

func (qs AuthQuerySet) ProviderUserIDGt(providerUserID uint64) AuthQuerySet

ProviderUserIDGt is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDGte

func (qs AuthQuerySet) ProviderUserIDGte(providerUserID uint64) AuthQuerySet

ProviderUserIDGte is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDIn

func (qs AuthQuerySet) ProviderUserIDIn(providerUserID ...uint64) AuthQuerySet

ProviderUserIDIn is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDLt

func (qs AuthQuerySet) ProviderUserIDLt(providerUserID uint64) AuthQuerySet

ProviderUserIDLt is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDLte

func (qs AuthQuerySet) ProviderUserIDLte(providerUserID uint64) AuthQuerySet

ProviderUserIDLte is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDNe

func (qs AuthQuerySet) ProviderUserIDNe(providerUserID uint64) AuthQuerySet

ProviderUserIDNe is an autogenerated method nolint: dupl

func (AuthQuerySet) ProviderUserIDNotIn

func (qs AuthQuerySet) ProviderUserIDNotIn(providerUserID ...uint64) AuthQuerySet

ProviderUserIDNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) RawDataEq

func (qs AuthQuerySet) RawDataEq(rawData []byte) AuthQuerySet

RawDataEq is an autogenerated method nolint: dupl

func (AuthQuerySet) RawDataIn

func (qs AuthQuerySet) RawDataIn(rawData ...[]byte) AuthQuerySet

RawDataIn is an autogenerated method nolint: dupl

func (AuthQuerySet) RawDataNe

func (qs AuthQuerySet) RawDataNe(rawData []byte) AuthQuerySet

RawDataNe is an autogenerated method nolint: dupl

func (AuthQuerySet) RawDataNotIn

func (qs AuthQuerySet) RawDataNotIn(rawData ...[]byte) AuthQuerySet

RawDataNotIn is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtEq

func (qs AuthQuerySet) UpdatedAtEq(updatedAt time.Time) AuthQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtGt

func (qs AuthQuerySet) UpdatedAtGt(updatedAt time.Time) AuthQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtGte

func (qs AuthQuerySet) UpdatedAtGte(updatedAt time.Time) AuthQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtLt

func (qs AuthQuerySet) UpdatedAtLt(updatedAt time.Time) AuthQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtLte

func (qs AuthQuerySet) UpdatedAtLte(updatedAt time.Time) AuthQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (AuthQuerySet) UpdatedAtNe

func (qs AuthQuerySet) UpdatedAtNe(updatedAt time.Time) AuthQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDEq

func (qs AuthQuerySet) UserIDEq(userID uint) AuthQuerySet

UserIDEq is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDGt

func (qs AuthQuerySet) UserIDGt(userID uint) AuthQuerySet

UserIDGt is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDGte

func (qs AuthQuerySet) UserIDGte(userID uint) AuthQuerySet

UserIDGte is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDIn

func (qs AuthQuerySet) UserIDIn(userID ...uint) AuthQuerySet

UserIDIn is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDLt

func (qs AuthQuerySet) UserIDLt(userID uint) AuthQuerySet

UserIDLt is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDLte

func (qs AuthQuerySet) UserIDLte(userID uint) AuthQuerySet

UserIDLte is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDNe

func (qs AuthQuerySet) UserIDNe(userID uint) AuthQuerySet

UserIDNe is an autogenerated method nolint: dupl

func (AuthQuerySet) UserIDNotIn

func (qs AuthQuerySet) UserIDNotIn(userID ...uint) AuthQuerySet

UserIDNotIn is an autogenerated method nolint: dupl

type AuthUpdater

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

AuthUpdater is an Auth updates manager

func NewAuthUpdater

func NewAuthUpdater(db *gorm.DB) AuthUpdater

NewAuthUpdater creates new Auth updater nolint: dupl

func (AuthUpdater) SetAccessToken

func (u AuthUpdater) SetAccessToken(accessToken string) AuthUpdater

SetAccessToken is an autogenerated method nolint: dupl

func (AuthUpdater) SetCreatedAt

func (u AuthUpdater) SetCreatedAt(createdAt time.Time) AuthUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (AuthUpdater) SetDeletedAt

func (u AuthUpdater) SetDeletedAt(deletedAt *time.Time) AuthUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (AuthUpdater) SetID

func (u AuthUpdater) SetID(ID uint) AuthUpdater

SetID is an autogenerated method nolint: dupl

func (AuthUpdater) SetLogin

func (u AuthUpdater) SetLogin(login string) AuthUpdater

SetLogin is an autogenerated method nolint: dupl

func (AuthUpdater) SetPrivateAccessToken

func (u AuthUpdater) SetPrivateAccessToken(privateAccessToken string) AuthUpdater

SetPrivateAccessToken is an autogenerated method nolint: dupl

func (AuthUpdater) SetProvider

func (u AuthUpdater) SetProvider(provider string) AuthUpdater

SetProvider is an autogenerated method nolint: dupl

func (AuthUpdater) SetProviderUserID

func (u AuthUpdater) SetProviderUserID(providerUserID uint64) AuthUpdater

SetProviderUserID is an autogenerated method nolint: dupl

func (AuthUpdater) SetRawData

func (u AuthUpdater) SetRawData(rawData []byte) AuthUpdater

SetRawData is an autogenerated method nolint: dupl

func (AuthUpdater) SetUpdatedAt

func (u AuthUpdater) SetUpdatedAt(updatedAt time.Time) AuthUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (AuthUpdater) SetUserID

func (u AuthUpdater) SetUserID(userID uint) AuthUpdater

SetUserID is an autogenerated method nolint: dupl

func (AuthUpdater) Update

func (u AuthUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (AuthUpdater) UpdateNum

func (u AuthUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

type Org

type Org struct {
	gorm.Model `json:"-"`

	Name        string `json:"-"`
	DisplayName string `json:"name"`

	Provider               string `json:"provider"`
	ProviderID             int    `json:"-"`
	ProviderPersonalUserID int    `json:"-"`

	Settings json.RawMessage `json:"settings"`
	Version  int             `json:"version"`
}

gen:qs

func (*Org) Create

func (o *Org) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*Org) Delete

func (o *Org) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (*Org) IsFake

func (o *Org) IsFake() bool

func (*Org) MarshalSettings

func (o *Org) MarshalSettings(v interface{}) error

func (*Org) UnmarshalSettings

func (o *Org) UnmarshalSettings() (*OrgSettings, error)

func (*Org) Update

func (o *Org) Update(db *gorm.DB, fields ...OrgDBSchemaField) error

Update updates Org fields by primary key nolint: dupl

type OrgDBSchemaField

type OrgDBSchemaField string

OrgDBSchemaField describes database schema field. It requires for method 'Update'

func (OrgDBSchemaField) String

func (f OrgDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type OrgQuerySet

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

OrgQuerySet is an queryset type for Org

func NewOrgQuerySet

func NewOrgQuerySet(db *gorm.DB) OrgQuerySet

NewOrgQuerySet constructs new OrgQuerySet

func (OrgQuerySet) All

func (qs OrgQuerySet) All(ret *[]Org) error

All is an autogenerated method nolint: dupl

func (OrgQuerySet) Count

func (qs OrgQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtEq

func (qs OrgQuerySet) CreatedAtEq(createdAt time.Time) OrgQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtGt

func (qs OrgQuerySet) CreatedAtGt(createdAt time.Time) OrgQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtGte

func (qs OrgQuerySet) CreatedAtGte(createdAt time.Time) OrgQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtLt

func (qs OrgQuerySet) CreatedAtLt(createdAt time.Time) OrgQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtLte

func (qs OrgQuerySet) CreatedAtLte(createdAt time.Time) OrgQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (OrgQuerySet) CreatedAtNe

func (qs OrgQuerySet) CreatedAtNe(createdAt time.Time) OrgQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (OrgQuerySet) Delete

func (qs OrgQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (OrgQuerySet) DeleteNum

func (qs OrgQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (OrgQuerySet) DeleteNumUnscoped

func (qs OrgQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtEq

func (qs OrgQuerySet) DeletedAtEq(deletedAt time.Time) OrgQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtGt

func (qs OrgQuerySet) DeletedAtGt(deletedAt time.Time) OrgQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtGte

func (qs OrgQuerySet) DeletedAtGte(deletedAt time.Time) OrgQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtIsNotNull

func (qs OrgQuerySet) DeletedAtIsNotNull() OrgQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtIsNull

func (qs OrgQuerySet) DeletedAtIsNull() OrgQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtLt

func (qs OrgQuerySet) DeletedAtLt(deletedAt time.Time) OrgQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtLte

func (qs OrgQuerySet) DeletedAtLte(deletedAt time.Time) OrgQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (OrgQuerySet) DeletedAtNe

func (qs OrgQuerySet) DeletedAtNe(deletedAt time.Time) OrgQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (OrgQuerySet) DisplayNameEq

func (qs OrgQuerySet) DisplayNameEq(displayName string) OrgQuerySet

DisplayNameEq is an autogenerated method nolint: dupl

func (OrgQuerySet) DisplayNameIn

func (qs OrgQuerySet) DisplayNameIn(displayName ...string) OrgQuerySet

DisplayNameIn is an autogenerated method nolint: dupl

func (OrgQuerySet) DisplayNameNe

func (qs OrgQuerySet) DisplayNameNe(displayName string) OrgQuerySet

DisplayNameNe is an autogenerated method nolint: dupl

func (OrgQuerySet) DisplayNameNotIn

func (qs OrgQuerySet) DisplayNameNotIn(displayName ...string) OrgQuerySet

DisplayNameNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ForProviderRepo

func (qs OrgQuerySet) ForProviderRepo(providerName, orgName string, providerOwnerID int) OrgQuerySet

func (OrgQuerySet) GetUpdater

func (qs OrgQuerySet) GetUpdater() OrgUpdater

GetUpdater is an autogenerated method nolint: dupl

func (OrgQuerySet) IDEq

func (qs OrgQuerySet) IDEq(ID uint) OrgQuerySet

IDEq is an autogenerated method nolint: dupl

func (OrgQuerySet) IDGt

func (qs OrgQuerySet) IDGt(ID uint) OrgQuerySet

IDGt is an autogenerated method nolint: dupl

func (OrgQuerySet) IDGte

func (qs OrgQuerySet) IDGte(ID uint) OrgQuerySet

IDGte is an autogenerated method nolint: dupl

func (OrgQuerySet) IDIn

func (qs OrgQuerySet) IDIn(ID ...uint) OrgQuerySet

IDIn is an autogenerated method nolint: dupl

func (OrgQuerySet) IDLt

func (qs OrgQuerySet) IDLt(ID uint) OrgQuerySet

IDLt is an autogenerated method nolint: dupl

func (OrgQuerySet) IDLte

func (qs OrgQuerySet) IDLte(ID uint) OrgQuerySet

IDLte is an autogenerated method nolint: dupl

func (OrgQuerySet) IDNe

func (qs OrgQuerySet) IDNe(ID uint) OrgQuerySet

IDNe is an autogenerated method nolint: dupl

func (OrgQuerySet) IDNotIn

func (qs OrgQuerySet) IDNotIn(ID ...uint) OrgQuerySet

IDNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) Limit

func (qs OrgQuerySet) Limit(limit int) OrgQuerySet

Limit is an autogenerated method nolint: dupl

func (OrgQuerySet) NameEq

func (qs OrgQuerySet) NameEq(name string) OrgQuerySet

NameEq is an autogenerated method nolint: dupl

func (OrgQuerySet) NameIn

func (qs OrgQuerySet) NameIn(name ...string) OrgQuerySet

NameIn is an autogenerated method nolint: dupl

func (OrgQuerySet) NameNe

func (qs OrgQuerySet) NameNe(name string) OrgQuerySet

NameNe is an autogenerated method nolint: dupl

func (OrgQuerySet) NameNotIn

func (qs OrgQuerySet) NameNotIn(name ...string) OrgQuerySet

NameNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) Offset

func (qs OrgQuerySet) Offset(offset int) OrgQuerySet

Offset is an autogenerated method nolint: dupl

func (OrgQuerySet) One

func (qs OrgQuerySet) One(ret *Org) error

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (OrgQuerySet) OrderAscByCreatedAt

func (qs OrgQuerySet) OrderAscByCreatedAt() OrgQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByDeletedAt

func (qs OrgQuerySet) OrderAscByDeletedAt() OrgQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByID

func (qs OrgQuerySet) OrderAscByID() OrgQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByProviderID

func (qs OrgQuerySet) OrderAscByProviderID() OrgQuerySet

OrderAscByProviderID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByProviderPersonalUserID

func (qs OrgQuerySet) OrderAscByProviderPersonalUserID() OrgQuerySet

OrderAscByProviderPersonalUserID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByUpdatedAt

func (qs OrgQuerySet) OrderAscByUpdatedAt() OrgQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderAscByVersion

func (qs OrgQuerySet) OrderAscByVersion() OrgQuerySet

OrderAscByVersion is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByCreatedAt

func (qs OrgQuerySet) OrderDescByCreatedAt() OrgQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByDeletedAt

func (qs OrgQuerySet) OrderDescByDeletedAt() OrgQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByID

func (qs OrgQuerySet) OrderDescByID() OrgQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByProviderID

func (qs OrgQuerySet) OrderDescByProviderID() OrgQuerySet

OrderDescByProviderID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByProviderPersonalUserID

func (qs OrgQuerySet) OrderDescByProviderPersonalUserID() OrgQuerySet

OrderDescByProviderPersonalUserID is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByUpdatedAt

func (qs OrgQuerySet) OrderDescByUpdatedAt() OrgQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (OrgQuerySet) OrderDescByVersion

func (qs OrgQuerySet) OrderDescByVersion() OrgQuerySet

OrderDescByVersion is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderEq

func (qs OrgQuerySet) ProviderEq(provider string) OrgQuerySet

ProviderEq is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDEq

func (qs OrgQuerySet) ProviderIDEq(providerID int) OrgQuerySet

ProviderIDEq is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDGt

func (qs OrgQuerySet) ProviderIDGt(providerID int) OrgQuerySet

ProviderIDGt is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDGte

func (qs OrgQuerySet) ProviderIDGte(providerID int) OrgQuerySet

ProviderIDGte is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDIn

func (qs OrgQuerySet) ProviderIDIn(providerID ...int) OrgQuerySet

ProviderIDIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDLt

func (qs OrgQuerySet) ProviderIDLt(providerID int) OrgQuerySet

ProviderIDLt is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDLte

func (qs OrgQuerySet) ProviderIDLte(providerID int) OrgQuerySet

ProviderIDLte is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDNe

func (qs OrgQuerySet) ProviderIDNe(providerID int) OrgQuerySet

ProviderIDNe is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIDNotIn

func (qs OrgQuerySet) ProviderIDNotIn(providerID ...int) OrgQuerySet

ProviderIDNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderIn

func (qs OrgQuerySet) ProviderIn(provider ...string) OrgQuerySet

ProviderIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderNe

func (qs OrgQuerySet) ProviderNe(provider string) OrgQuerySet

ProviderNe is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderNotIn

func (qs OrgQuerySet) ProviderNotIn(provider ...string) OrgQuerySet

ProviderNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDEq

func (qs OrgQuerySet) ProviderPersonalUserIDEq(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDEq is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDGt

func (qs OrgQuerySet) ProviderPersonalUserIDGt(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDGt is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDGte

func (qs OrgQuerySet) ProviderPersonalUserIDGte(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDGte is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDIn

func (qs OrgQuerySet) ProviderPersonalUserIDIn(providerPersonalUserID ...int) OrgQuerySet

ProviderPersonalUserIDIn is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDLt

func (qs OrgQuerySet) ProviderPersonalUserIDLt(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDLt is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDLte

func (qs OrgQuerySet) ProviderPersonalUserIDLte(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDLte is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDNe

func (qs OrgQuerySet) ProviderPersonalUserIDNe(providerPersonalUserID int) OrgQuerySet

ProviderPersonalUserIDNe is an autogenerated method nolint: dupl

func (OrgQuerySet) ProviderPersonalUserIDNotIn

func (qs OrgQuerySet) ProviderPersonalUserIDNotIn(providerPersonalUserID ...int) OrgQuerySet

ProviderPersonalUserIDNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) SettingsEq

func (qs OrgQuerySet) SettingsEq(settings json.RawMessage) OrgQuerySet

SettingsEq is an autogenerated method nolint: dupl

func (OrgQuerySet) SettingsIn

func (qs OrgQuerySet) SettingsIn(settings ...json.RawMessage) OrgQuerySet

SettingsIn is an autogenerated method nolint: dupl

func (OrgQuerySet) SettingsNe

func (qs OrgQuerySet) SettingsNe(settings json.RawMessage) OrgQuerySet

SettingsNe is an autogenerated method nolint: dupl

func (OrgQuerySet) SettingsNotIn

func (qs OrgQuerySet) SettingsNotIn(settings ...json.RawMessage) OrgQuerySet

SettingsNotIn is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtEq

func (qs OrgQuerySet) UpdatedAtEq(updatedAt time.Time) OrgQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtGt

func (qs OrgQuerySet) UpdatedAtGt(updatedAt time.Time) OrgQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtGte

func (qs OrgQuerySet) UpdatedAtGte(updatedAt time.Time) OrgQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtLt

func (qs OrgQuerySet) UpdatedAtLt(updatedAt time.Time) OrgQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtLte

func (qs OrgQuerySet) UpdatedAtLte(updatedAt time.Time) OrgQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (OrgQuerySet) UpdatedAtNe

func (qs OrgQuerySet) UpdatedAtNe(updatedAt time.Time) OrgQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionEq

func (qs OrgQuerySet) VersionEq(version int) OrgQuerySet

VersionEq is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionGt

func (qs OrgQuerySet) VersionGt(version int) OrgQuerySet

VersionGt is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionGte

func (qs OrgQuerySet) VersionGte(version int) OrgQuerySet

VersionGte is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionIn

func (qs OrgQuerySet) VersionIn(version ...int) OrgQuerySet

VersionIn is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionLt

func (qs OrgQuerySet) VersionLt(version int) OrgQuerySet

VersionLt is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionLte

func (qs OrgQuerySet) VersionLte(version int) OrgQuerySet

VersionLte is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionNe

func (qs OrgQuerySet) VersionNe(version int) OrgQuerySet

VersionNe is an autogenerated method nolint: dupl

func (OrgQuerySet) VersionNotIn

func (qs OrgQuerySet) VersionNotIn(version ...int) OrgQuerySet

VersionNotIn is an autogenerated method nolint: dupl

type OrgSeat

type OrgSeat struct {
	Email string `json:"email"`
}

type OrgSettings

type OrgSettings struct {
	Seats []OrgSeat `json:"seats,omitempty"`
}

type OrgSub

type OrgSub struct {
	gorm.Model

	PaymentGatewayName           string
	PaymentGatewayCardToken      string
	PaymentGatewayCustomerID     string
	PaymentGatewaySubscriptionID string

	BillingUserID uint
	OrgID         uint
	SeatsCount    int
	PricePerSeat  string
	CommitState   OrgSubCommitState

	IdempotencyKey string
	Version        int
	CancelURL      string
}

gen:qs

func (*OrgSub) Create

func (o *OrgSub) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*OrgSub) Delete

func (o *OrgSub) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (*OrgSub) GoString

func (s *OrgSub) GoString() string

func (OrgSub) IsActive

func (s OrgSub) IsActive() bool

func (OrgSub) IsCreating

func (s OrgSub) IsCreating() bool

func (OrgSub) IsDeleting

func (s OrgSub) IsDeleting() bool

func (OrgSub) IsUpdating

func (s OrgSub) IsUpdating() bool

func (*OrgSub) Update

func (o *OrgSub) Update(db *gorm.DB, fields ...OrgSubDBSchemaField) error

Update updates OrgSub fields by primary key nolint: dupl

type OrgSubCommitState

type OrgSubCommitState string
const (
	OrgSubCommitStateCreateInit        OrgSubCommitState = "create/init"
	OrgSubCommitStateCreateSentToQueue OrgSubCommitState = "create/sent_to_queue"
	OrgSubCommitStateCreateDone        OrgSubCommitState = "create/done"

	OrgSubCommitStateUpdateInit        OrgSubCommitState = "update/init"
	OrgSubCommitStateUpdateSentToQueue OrgSubCommitState = "update/sent_to_queue"
	OrgSubCommitStateUpdateDone        OrgSubCommitState = "update/done"

	OrgSubCommitStateDeleteInit        OrgSubCommitState = "delete/init"
	OrgSubCommitStateDeleteSentToQueue OrgSubCommitState = "delete/sent_to_queue"
	OrgSubCommitStateDeleteDone        OrgSubCommitState = "delete/done"
)

func (OrgSubCommitState) IsCreateState

func (s OrgSubCommitState) IsCreateState() bool

func (OrgSubCommitState) IsDeleteState

func (s OrgSubCommitState) IsDeleteState() bool

func (OrgSubCommitState) IsDone

func (s OrgSubCommitState) IsDone() bool

func (OrgSubCommitState) IsUpdateState

func (s OrgSubCommitState) IsUpdateState() bool

type OrgSubDBSchemaField

type OrgSubDBSchemaField string

OrgSubDBSchemaField describes database schema field. It requires for method 'Update'

func (OrgSubDBSchemaField) String

func (f OrgSubDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type OrgSubQuerySet

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

OrgSubQuerySet is an queryset type for OrgSub

func NewOrgSubQuerySet

func NewOrgSubQuerySet(db *gorm.DB) OrgSubQuerySet

NewOrgSubQuerySet constructs new OrgSubQuerySet

func (OrgSubQuerySet) All

func (qs OrgSubQuerySet) All(ret *[]OrgSub) error

All is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDEq

func (qs OrgSubQuerySet) BillingUserIDEq(billingUserID uint) OrgSubQuerySet

BillingUserIDEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDGt

func (qs OrgSubQuerySet) BillingUserIDGt(billingUserID uint) OrgSubQuerySet

BillingUserIDGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDGte

func (qs OrgSubQuerySet) BillingUserIDGte(billingUserID uint) OrgSubQuerySet

BillingUserIDGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDIn

func (qs OrgSubQuerySet) BillingUserIDIn(billingUserID ...uint) OrgSubQuerySet

BillingUserIDIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDLt

func (qs OrgSubQuerySet) BillingUserIDLt(billingUserID uint) OrgSubQuerySet

BillingUserIDLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDLte

func (qs OrgSubQuerySet) BillingUserIDLte(billingUserID uint) OrgSubQuerySet

BillingUserIDLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDNe

func (qs OrgSubQuerySet) BillingUserIDNe(billingUserID uint) OrgSubQuerySet

BillingUserIDNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) BillingUserIDNotIn

func (qs OrgSubQuerySet) BillingUserIDNotIn(billingUserID ...uint) OrgSubQuerySet

BillingUserIDNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CancelURLEq

func (qs OrgSubQuerySet) CancelURLEq(cancelURL string) OrgSubQuerySet

CancelURLEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CancelURLIn

func (qs OrgSubQuerySet) CancelURLIn(cancelURL ...string) OrgSubQuerySet

CancelURLIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CancelURLNe

func (qs OrgSubQuerySet) CancelURLNe(cancelURL string) OrgSubQuerySet

CancelURLNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CancelURLNotIn

func (qs OrgSubQuerySet) CancelURLNotIn(cancelURL ...string) OrgSubQuerySet

CancelURLNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CommitStateEq

func (qs OrgSubQuerySet) CommitStateEq(commitState OrgSubCommitState) OrgSubQuerySet

CommitStateEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CommitStateIn

func (qs OrgSubQuerySet) CommitStateIn(commitState ...OrgSubCommitState) OrgSubQuerySet

CommitStateIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CommitStateNe

func (qs OrgSubQuerySet) CommitStateNe(commitState OrgSubCommitState) OrgSubQuerySet

CommitStateNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CommitStateNotIn

func (qs OrgSubQuerySet) CommitStateNotIn(commitState ...OrgSubCommitState) OrgSubQuerySet

CommitStateNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) Count

func (qs OrgSubQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtEq

func (qs OrgSubQuerySet) CreatedAtEq(createdAt time.Time) OrgSubQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtGt

func (qs OrgSubQuerySet) CreatedAtGt(createdAt time.Time) OrgSubQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtGte

func (qs OrgSubQuerySet) CreatedAtGte(createdAt time.Time) OrgSubQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtLt

func (qs OrgSubQuerySet) CreatedAtLt(createdAt time.Time) OrgSubQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtLte

func (qs OrgSubQuerySet) CreatedAtLte(createdAt time.Time) OrgSubQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) CreatedAtNe

func (qs OrgSubQuerySet) CreatedAtNe(createdAt time.Time) OrgSubQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) Delete

func (qs OrgSubQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeleteNum

func (qs OrgSubQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeleteNumUnscoped

func (qs OrgSubQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtEq

func (qs OrgSubQuerySet) DeletedAtEq(deletedAt time.Time) OrgSubQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtGt

func (qs OrgSubQuerySet) DeletedAtGt(deletedAt time.Time) OrgSubQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtGte

func (qs OrgSubQuerySet) DeletedAtGte(deletedAt time.Time) OrgSubQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtIsNotNull

func (qs OrgSubQuerySet) DeletedAtIsNotNull() OrgSubQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtIsNull

func (qs OrgSubQuerySet) DeletedAtIsNull() OrgSubQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtLt

func (qs OrgSubQuerySet) DeletedAtLt(deletedAt time.Time) OrgSubQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtLte

func (qs OrgSubQuerySet) DeletedAtLte(deletedAt time.Time) OrgSubQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) DeletedAtNe

func (qs OrgSubQuerySet) DeletedAtNe(deletedAt time.Time) OrgSubQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) GetUpdater

func (qs OrgSubQuerySet) GetUpdater() OrgSubUpdater

GetUpdater is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDEq

func (qs OrgSubQuerySet) IDEq(ID uint) OrgSubQuerySet

IDEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDGt

func (qs OrgSubQuerySet) IDGt(ID uint) OrgSubQuerySet

IDGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDGte

func (qs OrgSubQuerySet) IDGte(ID uint) OrgSubQuerySet

IDGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDIn

func (qs OrgSubQuerySet) IDIn(ID ...uint) OrgSubQuerySet

IDIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDLt

func (qs OrgSubQuerySet) IDLt(ID uint) OrgSubQuerySet

IDLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDLte

func (qs OrgSubQuerySet) IDLte(ID uint) OrgSubQuerySet

IDLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDNe

func (qs OrgSubQuerySet) IDNe(ID uint) OrgSubQuerySet

IDNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IDNotIn

func (qs OrgSubQuerySet) IDNotIn(ID ...uint) OrgSubQuerySet

IDNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IdempotencyKeyEq

func (qs OrgSubQuerySet) IdempotencyKeyEq(idempotencyKey string) OrgSubQuerySet

IdempotencyKeyEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IdempotencyKeyIn

func (qs OrgSubQuerySet) IdempotencyKeyIn(idempotencyKey ...string) OrgSubQuerySet

IdempotencyKeyIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IdempotencyKeyNe

func (qs OrgSubQuerySet) IdempotencyKeyNe(idempotencyKey string) OrgSubQuerySet

IdempotencyKeyNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) IdempotencyKeyNotIn

func (qs OrgSubQuerySet) IdempotencyKeyNotIn(idempotencyKey ...string) OrgSubQuerySet

IdempotencyKeyNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) Limit

func (qs OrgSubQuerySet) Limit(limit int) OrgSubQuerySet

Limit is an autogenerated method nolint: dupl

func (OrgSubQuerySet) Offset

func (qs OrgSubQuerySet) Offset(offset int) OrgSubQuerySet

Offset is an autogenerated method nolint: dupl

func (OrgSubQuerySet) One

func (qs OrgSubQuerySet) One(ret *OrgSub) error

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (OrgSubQuerySet) OrderAscByBillingUserID

func (qs OrgSubQuerySet) OrderAscByBillingUserID() OrgSubQuerySet

OrderAscByBillingUserID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByCreatedAt

func (qs OrgSubQuerySet) OrderAscByCreatedAt() OrgSubQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByDeletedAt

func (qs OrgSubQuerySet) OrderAscByDeletedAt() OrgSubQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByID

func (qs OrgSubQuerySet) OrderAscByID() OrgSubQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByOrgID

func (qs OrgSubQuerySet) OrderAscByOrgID() OrgSubQuerySet

OrderAscByOrgID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscBySeatsCount

func (qs OrgSubQuerySet) OrderAscBySeatsCount() OrgSubQuerySet

OrderAscBySeatsCount is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByUpdatedAt

func (qs OrgSubQuerySet) OrderAscByUpdatedAt() OrgSubQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderAscByVersion

func (qs OrgSubQuerySet) OrderAscByVersion() OrgSubQuerySet

OrderAscByVersion is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByBillingUserID

func (qs OrgSubQuerySet) OrderDescByBillingUserID() OrgSubQuerySet

OrderDescByBillingUserID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByCreatedAt

func (qs OrgSubQuerySet) OrderDescByCreatedAt() OrgSubQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByDeletedAt

func (qs OrgSubQuerySet) OrderDescByDeletedAt() OrgSubQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByID

func (qs OrgSubQuerySet) OrderDescByID() OrgSubQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByOrgID

func (qs OrgSubQuerySet) OrderDescByOrgID() OrgSubQuerySet

OrderDescByOrgID is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescBySeatsCount

func (qs OrgSubQuerySet) OrderDescBySeatsCount() OrgSubQuerySet

OrderDescBySeatsCount is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByUpdatedAt

func (qs OrgSubQuerySet) OrderDescByUpdatedAt() OrgSubQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrderDescByVersion

func (qs OrgSubQuerySet) OrderDescByVersion() OrgSubQuerySet

OrderDescByVersion is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDEq

func (qs OrgSubQuerySet) OrgIDEq(orgID uint) OrgSubQuerySet

OrgIDEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDGt

func (qs OrgSubQuerySet) OrgIDGt(orgID uint) OrgSubQuerySet

OrgIDGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDGte

func (qs OrgSubQuerySet) OrgIDGte(orgID uint) OrgSubQuerySet

OrgIDGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDIn

func (qs OrgSubQuerySet) OrgIDIn(orgID ...uint) OrgSubQuerySet

OrgIDIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDLt

func (qs OrgSubQuerySet) OrgIDLt(orgID uint) OrgSubQuerySet

OrgIDLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDLte

func (qs OrgSubQuerySet) OrgIDLte(orgID uint) OrgSubQuerySet

OrgIDLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDNe

func (qs OrgSubQuerySet) OrgIDNe(orgID uint) OrgSubQuerySet

OrgIDNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) OrgIDNotIn

func (qs OrgSubQuerySet) OrgIDNotIn(orgID ...uint) OrgSubQuerySet

OrgIDNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCardTokenEq

func (qs OrgSubQuerySet) PaymentGatewayCardTokenEq(paymentGatewayCardToken string) OrgSubQuerySet

PaymentGatewayCardTokenEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCardTokenIn

func (qs OrgSubQuerySet) PaymentGatewayCardTokenIn(paymentGatewayCardToken ...string) OrgSubQuerySet

PaymentGatewayCardTokenIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCardTokenNe

func (qs OrgSubQuerySet) PaymentGatewayCardTokenNe(paymentGatewayCardToken string) OrgSubQuerySet

PaymentGatewayCardTokenNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCardTokenNotIn

func (qs OrgSubQuerySet) PaymentGatewayCardTokenNotIn(paymentGatewayCardToken ...string) OrgSubQuerySet

PaymentGatewayCardTokenNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCustomerIDEq

func (qs OrgSubQuerySet) PaymentGatewayCustomerIDEq(paymentGatewayCustomerID string) OrgSubQuerySet

PaymentGatewayCustomerIDEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCustomerIDIn

func (qs OrgSubQuerySet) PaymentGatewayCustomerIDIn(paymentGatewayCustomerID ...string) OrgSubQuerySet

PaymentGatewayCustomerIDIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCustomerIDNe

func (qs OrgSubQuerySet) PaymentGatewayCustomerIDNe(paymentGatewayCustomerID string) OrgSubQuerySet

PaymentGatewayCustomerIDNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayCustomerIDNotIn

func (qs OrgSubQuerySet) PaymentGatewayCustomerIDNotIn(paymentGatewayCustomerID ...string) OrgSubQuerySet

PaymentGatewayCustomerIDNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayNameEq

func (qs OrgSubQuerySet) PaymentGatewayNameEq(paymentGatewayName string) OrgSubQuerySet

PaymentGatewayNameEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayNameIn

func (qs OrgSubQuerySet) PaymentGatewayNameIn(paymentGatewayName ...string) OrgSubQuerySet

PaymentGatewayNameIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayNameNe

func (qs OrgSubQuerySet) PaymentGatewayNameNe(paymentGatewayName string) OrgSubQuerySet

PaymentGatewayNameNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewayNameNotIn

func (qs OrgSubQuerySet) PaymentGatewayNameNotIn(paymentGatewayName ...string) OrgSubQuerySet

PaymentGatewayNameNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewaySubscriptionIDEq

func (qs OrgSubQuerySet) PaymentGatewaySubscriptionIDEq(paymentGatewaySubscriptionID string) OrgSubQuerySet

PaymentGatewaySubscriptionIDEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewaySubscriptionIDIn

func (qs OrgSubQuerySet) PaymentGatewaySubscriptionIDIn(paymentGatewaySubscriptionID ...string) OrgSubQuerySet

PaymentGatewaySubscriptionIDIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewaySubscriptionIDNe

func (qs OrgSubQuerySet) PaymentGatewaySubscriptionIDNe(paymentGatewaySubscriptionID string) OrgSubQuerySet

PaymentGatewaySubscriptionIDNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PaymentGatewaySubscriptionIDNotIn

func (qs OrgSubQuerySet) PaymentGatewaySubscriptionIDNotIn(paymentGatewaySubscriptionID ...string) OrgSubQuerySet

PaymentGatewaySubscriptionIDNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PricePerSeatEq

func (qs OrgSubQuerySet) PricePerSeatEq(pricePerSeat string) OrgSubQuerySet

PricePerSeatEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PricePerSeatIn

func (qs OrgSubQuerySet) PricePerSeatIn(pricePerSeat ...string) OrgSubQuerySet

PricePerSeatIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PricePerSeatNe

func (qs OrgSubQuerySet) PricePerSeatNe(pricePerSeat string) OrgSubQuerySet

PricePerSeatNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) PricePerSeatNotIn

func (qs OrgSubQuerySet) PricePerSeatNotIn(pricePerSeat ...string) OrgSubQuerySet

PricePerSeatNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountEq

func (qs OrgSubQuerySet) SeatsCountEq(seatsCount int) OrgSubQuerySet

SeatsCountEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountGt

func (qs OrgSubQuerySet) SeatsCountGt(seatsCount int) OrgSubQuerySet

SeatsCountGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountGte

func (qs OrgSubQuerySet) SeatsCountGte(seatsCount int) OrgSubQuerySet

SeatsCountGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountIn

func (qs OrgSubQuerySet) SeatsCountIn(seatsCount ...int) OrgSubQuerySet

SeatsCountIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountLt

func (qs OrgSubQuerySet) SeatsCountLt(seatsCount int) OrgSubQuerySet

SeatsCountLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountLte

func (qs OrgSubQuerySet) SeatsCountLte(seatsCount int) OrgSubQuerySet

SeatsCountLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountNe

func (qs OrgSubQuerySet) SeatsCountNe(seatsCount int) OrgSubQuerySet

SeatsCountNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) SeatsCountNotIn

func (qs OrgSubQuerySet) SeatsCountNotIn(seatsCount ...int) OrgSubQuerySet

SeatsCountNotIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtEq

func (qs OrgSubQuerySet) UpdatedAtEq(updatedAt time.Time) OrgSubQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtGt

func (qs OrgSubQuerySet) UpdatedAtGt(updatedAt time.Time) OrgSubQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtGte

func (qs OrgSubQuerySet) UpdatedAtGte(updatedAt time.Time) OrgSubQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtLt

func (qs OrgSubQuerySet) UpdatedAtLt(updatedAt time.Time) OrgSubQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtLte

func (qs OrgSubQuerySet) UpdatedAtLte(updatedAt time.Time) OrgSubQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) UpdatedAtNe

func (qs OrgSubQuerySet) UpdatedAtNe(updatedAt time.Time) OrgSubQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionEq

func (qs OrgSubQuerySet) VersionEq(version int) OrgSubQuerySet

VersionEq is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionGt

func (qs OrgSubQuerySet) VersionGt(version int) OrgSubQuerySet

VersionGt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionGte

func (qs OrgSubQuerySet) VersionGte(version int) OrgSubQuerySet

VersionGte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionIn

func (qs OrgSubQuerySet) VersionIn(version ...int) OrgSubQuerySet

VersionIn is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionLt

func (qs OrgSubQuerySet) VersionLt(version int) OrgSubQuerySet

VersionLt is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionLte

func (qs OrgSubQuerySet) VersionLte(version int) OrgSubQuerySet

VersionLte is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionNe

func (qs OrgSubQuerySet) VersionNe(version int) OrgSubQuerySet

VersionNe is an autogenerated method nolint: dupl

func (OrgSubQuerySet) VersionNotIn

func (qs OrgSubQuerySet) VersionNotIn(version ...int) OrgSubQuerySet

VersionNotIn is an autogenerated method nolint: dupl

type OrgSubUpdater

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

OrgSubUpdater is an OrgSub updates manager

func NewOrgSubUpdater

func NewOrgSubUpdater(db *gorm.DB) OrgSubUpdater

NewOrgSubUpdater creates new OrgSub updater nolint: dupl

func (OrgSubUpdater) SetBillingUserID

func (u OrgSubUpdater) SetBillingUserID(billingUserID uint) OrgSubUpdater

SetBillingUserID is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetCancelURL

func (u OrgSubUpdater) SetCancelURL(cancelURL string) OrgSubUpdater

SetCancelURL is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetCommitState

func (u OrgSubUpdater) SetCommitState(commitState OrgSubCommitState) OrgSubUpdater

SetCommitState is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetCreatedAt

func (u OrgSubUpdater) SetCreatedAt(createdAt time.Time) OrgSubUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetDeletedAt

func (u OrgSubUpdater) SetDeletedAt(deletedAt *time.Time) OrgSubUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetID

func (u OrgSubUpdater) SetID(ID uint) OrgSubUpdater

SetID is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetIdempotencyKey

func (u OrgSubUpdater) SetIdempotencyKey(idempotencyKey string) OrgSubUpdater

SetIdempotencyKey is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetOrgID

func (u OrgSubUpdater) SetOrgID(orgID uint) OrgSubUpdater

SetOrgID is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetPaymentGatewayCardToken

func (u OrgSubUpdater) SetPaymentGatewayCardToken(paymentGatewayCardToken string) OrgSubUpdater

SetPaymentGatewayCardToken is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetPaymentGatewayCustomerID

func (u OrgSubUpdater) SetPaymentGatewayCustomerID(paymentGatewayCustomerID string) OrgSubUpdater

SetPaymentGatewayCustomerID is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetPaymentGatewayName

func (u OrgSubUpdater) SetPaymentGatewayName(paymentGatewayName string) OrgSubUpdater

SetPaymentGatewayName is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetPaymentGatewaySubscriptionID

func (u OrgSubUpdater) SetPaymentGatewaySubscriptionID(paymentGatewaySubscriptionID string) OrgSubUpdater

SetPaymentGatewaySubscriptionID is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetPricePerSeat

func (u OrgSubUpdater) SetPricePerSeat(pricePerSeat string) OrgSubUpdater

SetPricePerSeat is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetSeatsCount

func (u OrgSubUpdater) SetSeatsCount(seatsCount int) OrgSubUpdater

SetSeatsCount is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetUpdatedAt

func (u OrgSubUpdater) SetUpdatedAt(updatedAt time.Time) OrgSubUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (OrgSubUpdater) SetVersion

func (u OrgSubUpdater) SetVersion(version int) OrgSubUpdater

SetVersion is an autogenerated method nolint: dupl

func (OrgSubUpdater) Update

func (u OrgSubUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (OrgSubUpdater) UpdateNum

func (u OrgSubUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

func (OrgSubUpdater) UpdateRequired

func (u OrgSubUpdater) UpdateRequired() error

type OrgUpdater

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

OrgUpdater is an Org updates manager

func NewOrgUpdater

func NewOrgUpdater(db *gorm.DB) OrgUpdater

NewOrgUpdater creates new Org updater nolint: dupl

func (OrgUpdater) SetCreatedAt

func (u OrgUpdater) SetCreatedAt(createdAt time.Time) OrgUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (OrgUpdater) SetDeletedAt

func (u OrgUpdater) SetDeletedAt(deletedAt *time.Time) OrgUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (OrgUpdater) SetDisplayName

func (u OrgUpdater) SetDisplayName(displayName string) OrgUpdater

SetDisplayName is an autogenerated method nolint: dupl

func (OrgUpdater) SetID

func (u OrgUpdater) SetID(ID uint) OrgUpdater

SetID is an autogenerated method nolint: dupl

func (OrgUpdater) SetName

func (u OrgUpdater) SetName(name string) OrgUpdater

SetName is an autogenerated method nolint: dupl

func (OrgUpdater) SetProvider

func (u OrgUpdater) SetProvider(provider string) OrgUpdater

SetProvider is an autogenerated method nolint: dupl

func (OrgUpdater) SetProviderID

func (u OrgUpdater) SetProviderID(providerID int) OrgUpdater

SetProviderID is an autogenerated method nolint: dupl

func (OrgUpdater) SetProviderPersonalUserID

func (u OrgUpdater) SetProviderPersonalUserID(providerPersonalUserID int) OrgUpdater

SetProviderPersonalUserID is an autogenerated method nolint: dupl

func (OrgUpdater) SetSettings

func (u OrgUpdater) SetSettings(settings json.RawMessage) OrgUpdater

SetSettings is an autogenerated method nolint: dupl

func (OrgUpdater) SetUpdatedAt

func (u OrgUpdater) SetUpdatedAt(updatedAt time.Time) OrgUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (OrgUpdater) SetVersion

func (u OrgUpdater) SetVersion(version int) OrgUpdater

SetVersion is an autogenerated method nolint: dupl

func (OrgUpdater) Update

func (u OrgUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (OrgUpdater) UpdateNum

func (u OrgUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

func (OrgUpdater) UpdateRequired

func (u OrgUpdater) UpdateRequired() error

type PaymentGatewayEvent

type PaymentGatewayEvent struct {
	gorm.Model

	Provider   string
	ProviderID string

	UserID *uint

	Type string
	Data []byte
}

gen:qs

func (*PaymentGatewayEvent) Create

func (o *PaymentGatewayEvent) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*PaymentGatewayEvent) Delete

func (o *PaymentGatewayEvent) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (*PaymentGatewayEvent) Update

Update updates PaymentGatewayEvent fields by primary key nolint: dupl

type PaymentGatewayEventDBSchemaField

type PaymentGatewayEventDBSchemaField string

PaymentGatewayEventDBSchemaField describes database schema field. It requires for method 'Update'

func (PaymentGatewayEventDBSchemaField) String

String method returns string representation of field. nolint: dupl

type PaymentGatewayEventQuerySet

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

PaymentGatewayEventQuerySet is an queryset type for PaymentGatewayEvent

func NewPaymentGatewayEventQuerySet

func NewPaymentGatewayEventQuerySet(db *gorm.DB) PaymentGatewayEventQuerySet

NewPaymentGatewayEventQuerySet constructs new PaymentGatewayEventQuerySet

func (PaymentGatewayEventQuerySet) All

All is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) Count

func (qs PaymentGatewayEventQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtEq

CreatedAtEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtGt

CreatedAtGt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtGte

CreatedAtGte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtLt

CreatedAtLt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtLte

CreatedAtLte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) CreatedAtNe

CreatedAtNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DataEq

DataEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DataIn

DataIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DataNe

DataNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DataNotIn

DataNotIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) Delete

func (qs PaymentGatewayEventQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeleteNum

func (qs PaymentGatewayEventQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeleteNumUnscoped

func (qs PaymentGatewayEventQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtEq

DeletedAtEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtGt

DeletedAtGt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtGte

DeletedAtGte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtIsNotNull

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtIsNull

DeletedAtIsNull is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtLt

DeletedAtLt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtLte

DeletedAtLte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) DeletedAtNe

DeletedAtNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) GetUpdater

GetUpdater is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDEq

IDEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDGt

IDGt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDGte

IDGte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDIn

IDIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDLt

IDLt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDLte

IDLte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDNe

IDNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) IDNotIn

IDNotIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) Limit

Limit is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) Offset

Offset is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) One

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (PaymentGatewayEventQuerySet) OrderAscByCreatedAt

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderAscByDeletedAt

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderAscByID

OrderAscByID is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderAscByUpdatedAt

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderAscByUserID

OrderAscByUserID is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderDescByCreatedAt

func (qs PaymentGatewayEventQuerySet) OrderDescByCreatedAt() PaymentGatewayEventQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderDescByDeletedAt

func (qs PaymentGatewayEventQuerySet) OrderDescByDeletedAt() PaymentGatewayEventQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderDescByID

OrderDescByID is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderDescByUpdatedAt

func (qs PaymentGatewayEventQuerySet) OrderDescByUpdatedAt() PaymentGatewayEventQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) OrderDescByUserID

OrderDescByUserID is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderEq

ProviderEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderIDEq

ProviderIDEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderIDIn

func (qs PaymentGatewayEventQuerySet) ProviderIDIn(providerID ...string) PaymentGatewayEventQuerySet

ProviderIDIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderIDNe

ProviderIDNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderIDNotIn

func (qs PaymentGatewayEventQuerySet) ProviderIDNotIn(providerID ...string) PaymentGatewayEventQuerySet

ProviderIDNotIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderIn

ProviderIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderNe

ProviderNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) ProviderNotIn

func (qs PaymentGatewayEventQuerySet) ProviderNotIn(provider ...string) PaymentGatewayEventQuerySet

ProviderNotIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) TypeEq

TypeEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) TypeIn

TypeIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) TypeNe

TypeNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) TypeNotIn

TypeNotIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtEq

UpdatedAtEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtGt

UpdatedAtGt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtGte

UpdatedAtGte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtLt

UpdatedAtLt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtLte

UpdatedAtLte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UpdatedAtNe

UpdatedAtNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDEq

UserIDEq is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDGt

UserIDGt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDGte

UserIDGte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDIn

UserIDIn is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDIsNotNull

UserIDIsNotNull is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDIsNull

UserIDIsNull is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDLt

UserIDLt is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDLte

UserIDLte is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDNe

UserIDNe is an autogenerated method nolint: dupl

func (PaymentGatewayEventQuerySet) UserIDNotIn

UserIDNotIn is an autogenerated method nolint: dupl

type PaymentGatewayEventUpdater

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

PaymentGatewayEventUpdater is an PaymentGatewayEvent updates manager

func NewPaymentGatewayEventUpdater

func NewPaymentGatewayEventUpdater(db *gorm.DB) PaymentGatewayEventUpdater

NewPaymentGatewayEventUpdater creates new PaymentGatewayEvent updater nolint: dupl

func (PaymentGatewayEventUpdater) SetCreatedAt

SetCreatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetData

SetData is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetDeletedAt

SetDeletedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetID

SetID is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetProvider

SetProvider is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetProviderID

func (u PaymentGatewayEventUpdater) SetProviderID(providerID string) PaymentGatewayEventUpdater

SetProviderID is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetType

SetType is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetUpdatedAt

SetUpdatedAt is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) SetUserID

SetUserID is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) Update

func (u PaymentGatewayEventUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (PaymentGatewayEventUpdater) UpdateNum

func (u PaymentGatewayEventUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

type PullRequestAnalysis

type PullRequestAnalysis struct {
	gorm.Model

	RepoID            uint
	PullRequestNumber int

	GithubDeliveryGUID string

	CommitSHA string

	Status              string
	ReportedIssuesCount int

	ResultJSON []byte
}

func (*PullRequestAnalysis) Create

func (o *PullRequestAnalysis) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*PullRequestAnalysis) Delete

func (o *PullRequestAnalysis) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (PullRequestAnalysis) TableName

func (PullRequestAnalysis) TableName() string

func (*PullRequestAnalysis) Update

Update updates PullRequestAnalysis fields by primary key nolint: dupl

type PullRequestAnalysisDBSchemaField

type PullRequestAnalysisDBSchemaField string

PullRequestAnalysisDBSchemaField describes database schema field. It requires for method 'Update'

func (PullRequestAnalysisDBSchemaField) String

String method returns string representation of field. nolint: dupl

type PullRequestAnalysisQuerySet

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

PullRequestAnalysisQuerySet is an queryset type for PullRequestAnalysis

func NewPullRequestAnalysisQuerySet

func NewPullRequestAnalysisQuerySet(db *gorm.DB) PullRequestAnalysisQuerySet

NewPullRequestAnalysisQuerySet constructs new PullRequestAnalysisQuerySet

func (PullRequestAnalysisQuerySet) All

All is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CommitSHAEq

CommitSHAEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CommitSHAIn

func (qs PullRequestAnalysisQuerySet) CommitSHAIn(commitSHA ...string) PullRequestAnalysisQuerySet

CommitSHAIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CommitSHANe

CommitSHANe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CommitSHANotIn

func (qs PullRequestAnalysisQuerySet) CommitSHANotIn(commitSHA ...string) PullRequestAnalysisQuerySet

CommitSHANotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) Count

func (qs PullRequestAnalysisQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtEq

CreatedAtEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtGt

CreatedAtGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtGte

CreatedAtGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtLt

CreatedAtLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtLte

CreatedAtLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) CreatedAtNe

CreatedAtNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) Delete

func (qs PullRequestAnalysisQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeleteNum

func (qs PullRequestAnalysisQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeleteNumUnscoped

func (qs PullRequestAnalysisQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtEq

DeletedAtEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtGt

DeletedAtGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtGte

DeletedAtGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtIsNotNull

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtIsNull

DeletedAtIsNull is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtLt

DeletedAtLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtLte

DeletedAtLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) DeletedAtNe

DeletedAtNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) GetUpdater

GetUpdater is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) GithubDeliveryGUIDEq

func (qs PullRequestAnalysisQuerySet) GithubDeliveryGUIDEq(githubDeliveryGUID string) PullRequestAnalysisQuerySet

GithubDeliveryGUIDEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) GithubDeliveryGUIDIn

func (qs PullRequestAnalysisQuerySet) GithubDeliveryGUIDIn(githubDeliveryGUID ...string) PullRequestAnalysisQuerySet

GithubDeliveryGUIDIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) GithubDeliveryGUIDNe

func (qs PullRequestAnalysisQuerySet) GithubDeliveryGUIDNe(githubDeliveryGUID string) PullRequestAnalysisQuerySet

GithubDeliveryGUIDNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) GithubDeliveryGUIDNotIn

func (qs PullRequestAnalysisQuerySet) GithubDeliveryGUIDNotIn(githubDeliveryGUID ...string) PullRequestAnalysisQuerySet

GithubDeliveryGUIDNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDEq

IDEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDGt

IDGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDGte

IDGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDIn

IDIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDLt

IDLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDLte

IDLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDNe

IDNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) IDNotIn

IDNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) Limit

Limit is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) Offset

Offset is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) One

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (PullRequestAnalysisQuerySet) OrderAscByCreatedAt

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByDeletedAt

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByID

OrderAscByID is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByPullRequestNumber

func (qs PullRequestAnalysisQuerySet) OrderAscByPullRequestNumber() PullRequestAnalysisQuerySet

OrderAscByPullRequestNumber is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByRepoID

OrderAscByRepoID is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByReportedIssuesCount

func (qs PullRequestAnalysisQuerySet) OrderAscByReportedIssuesCount() PullRequestAnalysisQuerySet

OrderAscByReportedIssuesCount is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderAscByUpdatedAt

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByCreatedAt

func (qs PullRequestAnalysisQuerySet) OrderDescByCreatedAt() PullRequestAnalysisQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByDeletedAt

func (qs PullRequestAnalysisQuerySet) OrderDescByDeletedAt() PullRequestAnalysisQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByID

OrderDescByID is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByPullRequestNumber

func (qs PullRequestAnalysisQuerySet) OrderDescByPullRequestNumber() PullRequestAnalysisQuerySet

OrderDescByPullRequestNumber is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByRepoID

OrderDescByRepoID is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByReportedIssuesCount

func (qs PullRequestAnalysisQuerySet) OrderDescByReportedIssuesCount() PullRequestAnalysisQuerySet

OrderDescByReportedIssuesCount is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) OrderDescByUpdatedAt

func (qs PullRequestAnalysisQuerySet) OrderDescByUpdatedAt() PullRequestAnalysisQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberEq

func (qs PullRequestAnalysisQuerySet) PullRequestNumberEq(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberGt

func (qs PullRequestAnalysisQuerySet) PullRequestNumberGt(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberGte

func (qs PullRequestAnalysisQuerySet) PullRequestNumberGte(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberIn

func (qs PullRequestAnalysisQuerySet) PullRequestNumberIn(pullRequestNumber ...int) PullRequestAnalysisQuerySet

PullRequestNumberIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberLt

func (qs PullRequestAnalysisQuerySet) PullRequestNumberLt(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberLte

func (qs PullRequestAnalysisQuerySet) PullRequestNumberLte(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberNe

func (qs PullRequestAnalysisQuerySet) PullRequestNumberNe(pullRequestNumber int) PullRequestAnalysisQuerySet

PullRequestNumberNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) PullRequestNumberNotIn

func (qs PullRequestAnalysisQuerySet) PullRequestNumberNotIn(pullRequestNumber ...int) PullRequestAnalysisQuerySet

PullRequestNumberNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDEq

RepoIDEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDGt

RepoIDGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDGte

RepoIDGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDIn

RepoIDIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDLt

RepoIDLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDLte

RepoIDLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDNe

RepoIDNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) RepoIDNotIn

RepoIDNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountEq

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountEq(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountGt

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountGt(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountGte

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountGte(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountIn

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountIn(reportedIssuesCount ...int) PullRequestAnalysisQuerySet

ReportedIssuesCountIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountLt

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountLt(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountLte

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountLte(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountNe

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountNe(reportedIssuesCount int) PullRequestAnalysisQuerySet

ReportedIssuesCountNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ReportedIssuesCountNotIn

func (qs PullRequestAnalysisQuerySet) ReportedIssuesCountNotIn(reportedIssuesCount ...int) PullRequestAnalysisQuerySet

ReportedIssuesCountNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ResultJSONEq

func (qs PullRequestAnalysisQuerySet) ResultJSONEq(resultJSON []byte) PullRequestAnalysisQuerySet

ResultJSONEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ResultJSONIn

func (qs PullRequestAnalysisQuerySet) ResultJSONIn(resultJSON ...[]byte) PullRequestAnalysisQuerySet

ResultJSONIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ResultJSONNe

func (qs PullRequestAnalysisQuerySet) ResultJSONNe(resultJSON []byte) PullRequestAnalysisQuerySet

ResultJSONNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) ResultJSONNotIn

func (qs PullRequestAnalysisQuerySet) ResultJSONNotIn(resultJSON ...[]byte) PullRequestAnalysisQuerySet

ResultJSONNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) StatusEq

StatusEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) StatusIn

StatusIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) StatusNe

StatusNe is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) StatusNotIn

StatusNotIn is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtEq

UpdatedAtEq is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtGt

UpdatedAtGt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtGte

UpdatedAtGte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtLt

UpdatedAtLt is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtLte

UpdatedAtLte is an autogenerated method nolint: dupl

func (PullRequestAnalysisQuerySet) UpdatedAtNe

UpdatedAtNe is an autogenerated method nolint: dupl

type PullRequestAnalysisUpdater

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

PullRequestAnalysisUpdater is an PullRequestAnalysis updates manager

func NewPullRequestAnalysisUpdater

func NewPullRequestAnalysisUpdater(db *gorm.DB) PullRequestAnalysisUpdater

NewPullRequestAnalysisUpdater creates new PullRequestAnalysis updater nolint: dupl

func (PullRequestAnalysisUpdater) SetCommitSHA

SetCommitSHA is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetCreatedAt

SetCreatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetDeletedAt

SetDeletedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetGithubDeliveryGUID

func (u PullRequestAnalysisUpdater) SetGithubDeliveryGUID(githubDeliveryGUID string) PullRequestAnalysisUpdater

SetGithubDeliveryGUID is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetID

SetID is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetPullRequestNumber

func (u PullRequestAnalysisUpdater) SetPullRequestNumber(pullRequestNumber int) PullRequestAnalysisUpdater

SetPullRequestNumber is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetRepoID

SetRepoID is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetReportedIssuesCount

func (u PullRequestAnalysisUpdater) SetReportedIssuesCount(reportedIssuesCount int) PullRequestAnalysisUpdater

SetReportedIssuesCount is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetResultJSON

func (u PullRequestAnalysisUpdater) SetResultJSON(resultJSON []byte) PullRequestAnalysisUpdater

SetResultJSON is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetStatus

SetStatus is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) SetUpdatedAt

SetUpdatedAt is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) Update

func (u PullRequestAnalysisUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (PullRequestAnalysisUpdater) UpdateNum

func (u PullRequestAnalysisUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

type Repo

type Repo struct {
	gorm.Model

	// TODO: remove it and move repo connections to another table,
	// take organizations into account
	UserID uint // user who the last time connected this repo

	FullName        string `gorm:"column:name"`         // lower-cased DisplayName to avoid case-sensitivity bugs
	DisplayFullName string `gorm:"column:display_name"` // original name of repo from github: original register is saved

	HookID string

	Provider       string // github.com, gitlab.com etc
	ProviderHookID int
	ProviderID     int // provider repo id: use it (not name) as repo identifier because of repo renaming

	CommitState RepoCommitState // state of creation or deletion

	StargazersCount int
	IsPrivate       bool

	CreateFailReason string
}

func (*Repo) Create

func (o *Repo) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*Repo) Delete

func (o *Repo) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (Repo) FullNameWithProvider

func (r Repo) FullNameWithProvider() string

func (*Repo) GoString

func (r *Repo) GoString() string

func (Repo) IsCreating

func (r Repo) IsCreating() bool

func (Repo) IsDeleting

func (r Repo) IsDeleting() bool

func (*Repo) Owner

func (r *Repo) Owner() string

func (*Repo) Repo

func (r *Repo) Repo() string

func (*Repo) String

func (r *Repo) String() string

func (*Repo) Update

func (o *Repo) Update(db *gorm.DB, fields ...RepoDBSchemaField) error

Update updates Repo fields by primary key nolint: dupl

type RepoAnalysis

type RepoAnalysis struct {
	gorm.Model

	RepoAnalysisStatusID uint
	RepoAnalysisStatus   RepoAnalysisStatus

	AnalysisGUID   string
	Status         string
	CommitSHA      string
	ResultJSON     json.RawMessage
	AttemptNumber  int
	LintersVersion string
}

gen:qs

func (*RepoAnalysis) Create

func (o *RepoAnalysis) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*RepoAnalysis) Delete

func (o *RepoAnalysis) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (RepoAnalysis) TableName

func (RepoAnalysis) TableName() string

func (*RepoAnalysis) Update

func (o *RepoAnalysis) Update(db *gorm.DB, fields ...RepoAnalysisDBSchemaField) error

Update updates RepoAnalysis fields by primary key nolint: dupl

type RepoAnalysisDBSchemaField

type RepoAnalysisDBSchemaField string

RepoAnalysisDBSchemaField describes database schema field. It requires for method 'Update'

func (RepoAnalysisDBSchemaField) String

func (f RepoAnalysisDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type RepoAnalysisQuerySet

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

RepoAnalysisQuerySet is an queryset type for RepoAnalysis

func NewRepoAnalysisQuerySet

func NewRepoAnalysisQuerySet(db *gorm.DB) RepoAnalysisQuerySet

NewRepoAnalysisQuerySet constructs new RepoAnalysisQuerySet

func (RepoAnalysisQuerySet) All

func (qs RepoAnalysisQuerySet) All(ret *[]RepoAnalysis) error

All is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AnalysisGUIDEq

func (qs RepoAnalysisQuerySet) AnalysisGUIDEq(analysisGUID string) RepoAnalysisQuerySet

AnalysisGUIDEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AnalysisGUIDIn

func (qs RepoAnalysisQuerySet) AnalysisGUIDIn(analysisGUID ...string) RepoAnalysisQuerySet

AnalysisGUIDIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AnalysisGUIDNe

func (qs RepoAnalysisQuerySet) AnalysisGUIDNe(analysisGUID string) RepoAnalysisQuerySet

AnalysisGUIDNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AnalysisGUIDNotIn

func (qs RepoAnalysisQuerySet) AnalysisGUIDNotIn(analysisGUID ...string) RepoAnalysisQuerySet

AnalysisGUIDNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberEq

func (qs RepoAnalysisQuerySet) AttemptNumberEq(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberGt

func (qs RepoAnalysisQuerySet) AttemptNumberGt(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberGte

func (qs RepoAnalysisQuerySet) AttemptNumberGte(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberIn

func (qs RepoAnalysisQuerySet) AttemptNumberIn(attemptNumber ...int) RepoAnalysisQuerySet

AttemptNumberIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberLt

func (qs RepoAnalysisQuerySet) AttemptNumberLt(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberLte

func (qs RepoAnalysisQuerySet) AttemptNumberLte(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberNe

func (qs RepoAnalysisQuerySet) AttemptNumberNe(attemptNumber int) RepoAnalysisQuerySet

AttemptNumberNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) AttemptNumberNotIn

func (qs RepoAnalysisQuerySet) AttemptNumberNotIn(attemptNumber ...int) RepoAnalysisQuerySet

AttemptNumberNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CommitSHAEq

func (qs RepoAnalysisQuerySet) CommitSHAEq(commitSHA string) RepoAnalysisQuerySet

CommitSHAEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CommitSHAIn

func (qs RepoAnalysisQuerySet) CommitSHAIn(commitSHA ...string) RepoAnalysisQuerySet

CommitSHAIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CommitSHANe

func (qs RepoAnalysisQuerySet) CommitSHANe(commitSHA string) RepoAnalysisQuerySet

CommitSHANe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CommitSHANotIn

func (qs RepoAnalysisQuerySet) CommitSHANotIn(commitSHA ...string) RepoAnalysisQuerySet

CommitSHANotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) Count

func (qs RepoAnalysisQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtEq

func (qs RepoAnalysisQuerySet) CreatedAtEq(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtGt

func (qs RepoAnalysisQuerySet) CreatedAtGt(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtGte

func (qs RepoAnalysisQuerySet) CreatedAtGte(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtLt

func (qs RepoAnalysisQuerySet) CreatedAtLt(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtLte

func (qs RepoAnalysisQuerySet) CreatedAtLte(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) CreatedAtNe

func (qs RepoAnalysisQuerySet) CreatedAtNe(createdAt time.Time) RepoAnalysisQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) Delete

func (qs RepoAnalysisQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeleteNum

func (qs RepoAnalysisQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeleteNumUnscoped

func (qs RepoAnalysisQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtEq

func (qs RepoAnalysisQuerySet) DeletedAtEq(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtGt

func (qs RepoAnalysisQuerySet) DeletedAtGt(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtGte

func (qs RepoAnalysisQuerySet) DeletedAtGte(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtIsNotNull

func (qs RepoAnalysisQuerySet) DeletedAtIsNotNull() RepoAnalysisQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtIsNull

func (qs RepoAnalysisQuerySet) DeletedAtIsNull() RepoAnalysisQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtLt

func (qs RepoAnalysisQuerySet) DeletedAtLt(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtLte

func (qs RepoAnalysisQuerySet) DeletedAtLte(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) DeletedAtNe

func (qs RepoAnalysisQuerySet) DeletedAtNe(deletedAt time.Time) RepoAnalysisQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) GetUpdater

func (qs RepoAnalysisQuerySet) GetUpdater() RepoAnalysisUpdater

GetUpdater is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDEq

IDEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDGt

IDGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDGte

IDGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDIn

IDIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDLt

IDLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDLte

IDLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDNe

IDNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) IDNotIn

IDNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) Limit

Limit is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) LintersVersionEq

func (qs RepoAnalysisQuerySet) LintersVersionEq(lintersVersion string) RepoAnalysisQuerySet

LintersVersionEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) LintersVersionIn

func (qs RepoAnalysisQuerySet) LintersVersionIn(lintersVersion ...string) RepoAnalysisQuerySet

LintersVersionIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) LintersVersionNe

func (qs RepoAnalysisQuerySet) LintersVersionNe(lintersVersion string) RepoAnalysisQuerySet

LintersVersionNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) LintersVersionNotIn

func (qs RepoAnalysisQuerySet) LintersVersionNotIn(lintersVersion ...string) RepoAnalysisQuerySet

LintersVersionNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) Offset

func (qs RepoAnalysisQuerySet) Offset(offset int) RepoAnalysisQuerySet

Offset is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) One

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (RepoAnalysisQuerySet) OrderAscByAttemptNumber

func (qs RepoAnalysisQuerySet) OrderAscByAttemptNumber() RepoAnalysisQuerySet

OrderAscByAttemptNumber is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderAscByCreatedAt

func (qs RepoAnalysisQuerySet) OrderAscByCreatedAt() RepoAnalysisQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderAscByDeletedAt

func (qs RepoAnalysisQuerySet) OrderAscByDeletedAt() RepoAnalysisQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderAscByID

func (qs RepoAnalysisQuerySet) OrderAscByID() RepoAnalysisQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderAscByRepoAnalysisStatusID

func (qs RepoAnalysisQuerySet) OrderAscByRepoAnalysisStatusID() RepoAnalysisQuerySet

OrderAscByRepoAnalysisStatusID is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderAscByUpdatedAt

func (qs RepoAnalysisQuerySet) OrderAscByUpdatedAt() RepoAnalysisQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByAttemptNumber

func (qs RepoAnalysisQuerySet) OrderDescByAttemptNumber() RepoAnalysisQuerySet

OrderDescByAttemptNumber is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByCreatedAt

func (qs RepoAnalysisQuerySet) OrderDescByCreatedAt() RepoAnalysisQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByDeletedAt

func (qs RepoAnalysisQuerySet) OrderDescByDeletedAt() RepoAnalysisQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByID

func (qs RepoAnalysisQuerySet) OrderDescByID() RepoAnalysisQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByRepoAnalysisStatusID

func (qs RepoAnalysisQuerySet) OrderDescByRepoAnalysisStatusID() RepoAnalysisQuerySet

OrderDescByRepoAnalysisStatusID is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) OrderDescByUpdatedAt

func (qs RepoAnalysisQuerySet) OrderDescByUpdatedAt() RepoAnalysisQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) PreloadRepoAnalysisStatus

func (qs RepoAnalysisQuerySet) PreloadRepoAnalysisStatus() RepoAnalysisQuerySet

PreloadRepoAnalysisStatus is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDEq

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDEq(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDGt

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDGt(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDGte

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDGte(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDIn

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDIn(repoAnalysisStatusID ...uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDLt

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDLt(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDLte

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDLte(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDNe

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDNe(repoAnalysisStatusID uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) RepoAnalysisStatusIDNotIn

func (qs RepoAnalysisQuerySet) RepoAnalysisStatusIDNotIn(repoAnalysisStatusID ...uint) RepoAnalysisQuerySet

RepoAnalysisStatusIDNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) ResultJSONEq

func (qs RepoAnalysisQuerySet) ResultJSONEq(resultJSON json.RawMessage) RepoAnalysisQuerySet

ResultJSONEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) ResultJSONIn

func (qs RepoAnalysisQuerySet) ResultJSONIn(resultJSON ...json.RawMessage) RepoAnalysisQuerySet

ResultJSONIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) ResultJSONNe

func (qs RepoAnalysisQuerySet) ResultJSONNe(resultJSON json.RawMessage) RepoAnalysisQuerySet

ResultJSONNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) ResultJSONNotIn

func (qs RepoAnalysisQuerySet) ResultJSONNotIn(resultJSON ...json.RawMessage) RepoAnalysisQuerySet

ResultJSONNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) StatusEq

func (qs RepoAnalysisQuerySet) StatusEq(status string) RepoAnalysisQuerySet

StatusEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) StatusIn

func (qs RepoAnalysisQuerySet) StatusIn(status ...string) RepoAnalysisQuerySet

StatusIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) StatusNe

func (qs RepoAnalysisQuerySet) StatusNe(status string) RepoAnalysisQuerySet

StatusNe is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) StatusNotIn

func (qs RepoAnalysisQuerySet) StatusNotIn(status ...string) RepoAnalysisQuerySet

StatusNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtEq

func (qs RepoAnalysisQuerySet) UpdatedAtEq(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtGt

func (qs RepoAnalysisQuerySet) UpdatedAtGt(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtGte

func (qs RepoAnalysisQuerySet) UpdatedAtGte(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtLt

func (qs RepoAnalysisQuerySet) UpdatedAtLt(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtLte

func (qs RepoAnalysisQuerySet) UpdatedAtLte(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisQuerySet) UpdatedAtNe

func (qs RepoAnalysisQuerySet) UpdatedAtNe(updatedAt time.Time) RepoAnalysisQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

type RepoAnalysisStatus

type RepoAnalysisStatus struct {
	gorm.Model

	RepoID uint

	LastAnalyzedAt             time.Time
	LastAnalyzedLintersVersion string

	HasPendingChanges bool
	PendingCommitSHA  string
	Version           int
	DefaultBranch     string
	IsEmpty           bool

	Active bool
}

gen:qs

func (*RepoAnalysisStatus) Create

func (o *RepoAnalysisStatus) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*RepoAnalysisStatus) Delete

func (o *RepoAnalysisStatus) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (*RepoAnalysisStatus) Update

Update updates RepoAnalysisStatus fields by primary key nolint: dupl

type RepoAnalysisStatusDBSchemaField

type RepoAnalysisStatusDBSchemaField string

RepoAnalysisStatusDBSchemaField describes database schema field. It requires for method 'Update'

func (RepoAnalysisStatusDBSchemaField) String

String method returns string representation of field. nolint: dupl

type RepoAnalysisStatusQuerySet

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

RepoAnalysisStatusQuerySet is an queryset type for RepoAnalysisStatus

func NewRepoAnalysisStatusQuerySet

func NewRepoAnalysisStatusQuerySet(db *gorm.DB) RepoAnalysisStatusQuerySet

NewRepoAnalysisStatusQuerySet constructs new RepoAnalysisStatusQuerySet

func (RepoAnalysisStatusQuerySet) ActiveEq

ActiveEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) ActiveIn

ActiveIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) ActiveNe

ActiveNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) ActiveNotIn

ActiveNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) All

All is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) Count

func (qs RepoAnalysisStatusQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtEq

CreatedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtGt

CreatedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtGte

CreatedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtLt

CreatedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtLte

CreatedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) CreatedAtNe

CreatedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DefaultBranchEq

func (qs RepoAnalysisStatusQuerySet) DefaultBranchEq(defaultBranch string) RepoAnalysisStatusQuerySet

DefaultBranchEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DefaultBranchIn

func (qs RepoAnalysisStatusQuerySet) DefaultBranchIn(defaultBranch ...string) RepoAnalysisStatusQuerySet

DefaultBranchIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DefaultBranchNe

func (qs RepoAnalysisStatusQuerySet) DefaultBranchNe(defaultBranch string) RepoAnalysisStatusQuerySet

DefaultBranchNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DefaultBranchNotIn

func (qs RepoAnalysisStatusQuerySet) DefaultBranchNotIn(defaultBranch ...string) RepoAnalysisStatusQuerySet

DefaultBranchNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) Delete

func (qs RepoAnalysisStatusQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeleteNum

func (qs RepoAnalysisStatusQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeleteNumUnscoped

func (qs RepoAnalysisStatusQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtEq

DeletedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtGt

DeletedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtGte

DeletedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtIsNotNull

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtIsNull

DeletedAtIsNull is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtLt

DeletedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtLte

DeletedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) DeletedAtNe

DeletedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) GetUpdater

GetUpdater is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) HasPendingChangesEq

func (qs RepoAnalysisStatusQuerySet) HasPendingChangesEq(hasPendingChanges bool) RepoAnalysisStatusQuerySet

HasPendingChangesEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) HasPendingChangesIn

func (qs RepoAnalysisStatusQuerySet) HasPendingChangesIn(hasPendingChanges ...bool) RepoAnalysisStatusQuerySet

HasPendingChangesIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) HasPendingChangesNe

func (qs RepoAnalysisStatusQuerySet) HasPendingChangesNe(hasPendingChanges bool) RepoAnalysisStatusQuerySet

HasPendingChangesNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) HasPendingChangesNotIn

func (qs RepoAnalysisStatusQuerySet) HasPendingChangesNotIn(hasPendingChanges ...bool) RepoAnalysisStatusQuerySet

HasPendingChangesNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDEq

IDEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDGt

IDGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDGte

IDGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDIn

IDIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDLt

IDLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDLte

IDLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDNe

IDNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IDNotIn

IDNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IsEmptyEq

IsEmptyEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IsEmptyIn

IsEmptyIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IsEmptyNe

IsEmptyNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) IsEmptyNotIn

func (qs RepoAnalysisStatusQuerySet) IsEmptyNotIn(isEmpty ...bool) RepoAnalysisStatusQuerySet

IsEmptyNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtEq

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtEq(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtGt

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtGt(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtGte

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtGte(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtLt

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtLt(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtLte

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtLte(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedAtNe

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedAtNe(lastAnalyzedAt time.Time) RepoAnalysisStatusQuerySet

LastAnalyzedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionEq

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionEq(lastAnalyzedLintersVersion string) RepoAnalysisStatusQuerySet

LastAnalyzedLintersVersionEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionIn

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionIn(lastAnalyzedLintersVersion ...string) RepoAnalysisStatusQuerySet

LastAnalyzedLintersVersionIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionNe

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionNe(lastAnalyzedLintersVersion string) RepoAnalysisStatusQuerySet

LastAnalyzedLintersVersionNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionNotIn

func (qs RepoAnalysisStatusQuerySet) LastAnalyzedLintersVersionNotIn(lastAnalyzedLintersVersion ...string) RepoAnalysisStatusQuerySet

LastAnalyzedLintersVersionNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) Limit

Limit is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) Offset

Offset is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) One

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (RepoAnalysisStatusQuerySet) OrderAscByCreatedAt

func (qs RepoAnalysisStatusQuerySet) OrderAscByCreatedAt() RepoAnalysisStatusQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByDeletedAt

func (qs RepoAnalysisStatusQuerySet) OrderAscByDeletedAt() RepoAnalysisStatusQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByID

OrderAscByID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByLastAnalyzedAt

func (qs RepoAnalysisStatusQuerySet) OrderAscByLastAnalyzedAt() RepoAnalysisStatusQuerySet

OrderAscByLastAnalyzedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByRepoID

OrderAscByRepoID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByUpdatedAt

func (qs RepoAnalysisStatusQuerySet) OrderAscByUpdatedAt() RepoAnalysisStatusQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderAscByVersion

OrderAscByVersion is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByCreatedAt

func (qs RepoAnalysisStatusQuerySet) OrderDescByCreatedAt() RepoAnalysisStatusQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByDeletedAt

func (qs RepoAnalysisStatusQuerySet) OrderDescByDeletedAt() RepoAnalysisStatusQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByID

OrderDescByID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByLastAnalyzedAt

func (qs RepoAnalysisStatusQuerySet) OrderDescByLastAnalyzedAt() RepoAnalysisStatusQuerySet

OrderDescByLastAnalyzedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByRepoID

OrderDescByRepoID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByUpdatedAt

func (qs RepoAnalysisStatusQuerySet) OrderDescByUpdatedAt() RepoAnalysisStatusQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) OrderDescByVersion

OrderDescByVersion is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) PendingCommitSHAEq

func (qs RepoAnalysisStatusQuerySet) PendingCommitSHAEq(pendingCommitSHA string) RepoAnalysisStatusQuerySet

PendingCommitSHAEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) PendingCommitSHAIn

func (qs RepoAnalysisStatusQuerySet) PendingCommitSHAIn(pendingCommitSHA ...string) RepoAnalysisStatusQuerySet

PendingCommitSHAIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) PendingCommitSHANe

func (qs RepoAnalysisStatusQuerySet) PendingCommitSHANe(pendingCommitSHA string) RepoAnalysisStatusQuerySet

PendingCommitSHANe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) PendingCommitSHANotIn

func (qs RepoAnalysisStatusQuerySet) PendingCommitSHANotIn(pendingCommitSHA ...string) RepoAnalysisStatusQuerySet

PendingCommitSHANotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDEq

RepoIDEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDGt

RepoIDGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDGte

RepoIDGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDIn

RepoIDIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDLt

RepoIDLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDLte

RepoIDLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDNe

RepoIDNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) RepoIDNotIn

RepoIDNotIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtEq

UpdatedAtEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtGt

UpdatedAtGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtGte

UpdatedAtGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtLt

UpdatedAtLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtLte

UpdatedAtLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) UpdatedAtNe

UpdatedAtNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionEq

VersionEq is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionGt

VersionGt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionGte

VersionGte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionIn

VersionIn is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionLt

VersionLt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionLte

VersionLte is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionNe

VersionNe is an autogenerated method nolint: dupl

func (RepoAnalysisStatusQuerySet) VersionNotIn

func (qs RepoAnalysisStatusQuerySet) VersionNotIn(version ...int) RepoAnalysisStatusQuerySet

VersionNotIn is an autogenerated method nolint: dupl

type RepoAnalysisStatusUpdater

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

RepoAnalysisStatusUpdater is an RepoAnalysisStatus updates manager

func NewRepoAnalysisStatusUpdater

func NewRepoAnalysisStatusUpdater(db *gorm.DB) RepoAnalysisStatusUpdater

NewRepoAnalysisStatusUpdater creates new RepoAnalysisStatus updater nolint: dupl

func (RepoAnalysisStatusUpdater) SetActive

SetActive is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetCreatedAt

SetCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetDefaultBranch

func (u RepoAnalysisStatusUpdater) SetDefaultBranch(defaultBranch string) RepoAnalysisStatusUpdater

SetDefaultBranch is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetDeletedAt

func (u RepoAnalysisStatusUpdater) SetDeletedAt(deletedAt *time.Time) RepoAnalysisStatusUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetHasPendingChanges

func (u RepoAnalysisStatusUpdater) SetHasPendingChanges(hasPendingChanges bool) RepoAnalysisStatusUpdater

SetHasPendingChanges is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetID

SetID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetIsEmpty

SetIsEmpty is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetLastAnalyzedAt

func (u RepoAnalysisStatusUpdater) SetLastAnalyzedAt(lastAnalyzedAt time.Time) RepoAnalysisStatusUpdater

SetLastAnalyzedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetLastAnalyzedLintersVersion

func (u RepoAnalysisStatusUpdater) SetLastAnalyzedLintersVersion(lastAnalyzedLintersVersion string) RepoAnalysisStatusUpdater

SetLastAnalyzedLintersVersion is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetPendingCommitSHA

func (u RepoAnalysisStatusUpdater) SetPendingCommitSHA(pendingCommitSHA string) RepoAnalysisStatusUpdater

SetPendingCommitSHA is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetRepoID

SetRepoID is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetUpdatedAt

SetUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) SetVersion

SetVersion is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) Update

func (u RepoAnalysisStatusUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (RepoAnalysisStatusUpdater) UpdateNum

func (u RepoAnalysisStatusUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

type RepoAnalysisUpdater

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

RepoAnalysisUpdater is an RepoAnalysis updates manager

func NewRepoAnalysisUpdater

func NewRepoAnalysisUpdater(db *gorm.DB) RepoAnalysisUpdater

NewRepoAnalysisUpdater creates new RepoAnalysis updater nolint: dupl

func (RepoAnalysisUpdater) SetAnalysisGUID

func (u RepoAnalysisUpdater) SetAnalysisGUID(analysisGUID string) RepoAnalysisUpdater

SetAnalysisGUID is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetAttemptNumber

func (u RepoAnalysisUpdater) SetAttemptNumber(attemptNumber int) RepoAnalysisUpdater

SetAttemptNumber is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetCommitSHA

func (u RepoAnalysisUpdater) SetCommitSHA(commitSHA string) RepoAnalysisUpdater

SetCommitSHA is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetCreatedAt

func (u RepoAnalysisUpdater) SetCreatedAt(createdAt time.Time) RepoAnalysisUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetDeletedAt

func (u RepoAnalysisUpdater) SetDeletedAt(deletedAt *time.Time) RepoAnalysisUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetID

SetID is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetLintersVersion

func (u RepoAnalysisUpdater) SetLintersVersion(lintersVersion string) RepoAnalysisUpdater

SetLintersVersion is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetRepoAnalysisStatus

func (u RepoAnalysisUpdater) SetRepoAnalysisStatus(repoAnalysisStatus RepoAnalysisStatus) RepoAnalysisUpdater

SetRepoAnalysisStatus is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetRepoAnalysisStatusID

func (u RepoAnalysisUpdater) SetRepoAnalysisStatusID(repoAnalysisStatusID uint) RepoAnalysisUpdater

SetRepoAnalysisStatusID is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetResultJSON

func (u RepoAnalysisUpdater) SetResultJSON(resultJSON json.RawMessage) RepoAnalysisUpdater

SetResultJSON is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetStatus

func (u RepoAnalysisUpdater) SetStatus(status string) RepoAnalysisUpdater

SetStatus is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) SetUpdatedAt

func (u RepoAnalysisUpdater) SetUpdatedAt(updatedAt time.Time) RepoAnalysisUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) Update

func (u RepoAnalysisUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (RepoAnalysisUpdater) UpdateNum

func (u RepoAnalysisUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

type RepoCommitState

type RepoCommitState string
const (
	RepoCommitStateCreateInit        RepoCommitState = "create/init"
	RepoCommitStateCreateSentToQueue RepoCommitState = "create/sent_to_queue"
	RepoCommitStateCreateCreatedRepo RepoCommitState = "create/created_repo"
	RepoCommitStateCreateDone        RepoCommitState = "create/done"

	RepoCommitStateCreateRollbackInit RepoCommitState = "create/rollback/init"
	RepoCommitStateCreateRollbackDone RepoCommitState = "create/rollback/done"

	RepoCommitStateDeleteInit        RepoCommitState = "delete/init"
	RepoCommitStateDeleteSentToQueue RepoCommitState = "delete/sent_to_queue"
	RepoCommitStateDeleteDone        RepoCommitState = "delete/done"
)

func (RepoCommitState) IsCreateState

func (s RepoCommitState) IsCreateState() bool

func (RepoCommitState) IsDeleteState

func (s RepoCommitState) IsDeleteState() bool

func (RepoCommitState) IsTerminalState

func (s RepoCommitState) IsTerminalState() bool

type RepoDBSchemaField

type RepoDBSchemaField string

RepoDBSchemaField describes database schema field. It requires for method 'Update'

func (RepoDBSchemaField) String

func (f RepoDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type RepoQuerySet

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

RepoQuerySet is an queryset type for Repo

func NewRepoQuerySet

func NewRepoQuerySet(db *gorm.DB) RepoQuerySet

NewRepoQuerySet constructs new RepoQuerySet

func (RepoQuerySet) All

func (qs RepoQuerySet) All(ret *[]Repo) error

All is an autogenerated method nolint: dupl

func (RepoQuerySet) CommitStateEq

func (qs RepoQuerySet) CommitStateEq(commitState RepoCommitState) RepoQuerySet

CommitStateEq is an autogenerated method nolint: dupl

func (RepoQuerySet) CommitStateIn

func (qs RepoQuerySet) CommitStateIn(commitState ...RepoCommitState) RepoQuerySet

CommitStateIn is an autogenerated method nolint: dupl

func (RepoQuerySet) CommitStateNe

func (qs RepoQuerySet) CommitStateNe(commitState RepoCommitState) RepoQuerySet

CommitStateNe is an autogenerated method nolint: dupl

func (RepoQuerySet) CommitStateNotIn

func (qs RepoQuerySet) CommitStateNotIn(commitState ...RepoCommitState) RepoQuerySet

CommitStateNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) Count

func (qs RepoQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (RepoQuerySet) CreateFailReasonEq

func (qs RepoQuerySet) CreateFailReasonEq(createFailReason string) RepoQuerySet

CreateFailReasonEq is an autogenerated method nolint: dupl

func (RepoQuerySet) CreateFailReasonIn

func (qs RepoQuerySet) CreateFailReasonIn(createFailReason ...string) RepoQuerySet

CreateFailReasonIn is an autogenerated method nolint: dupl

func (RepoQuerySet) CreateFailReasonNe

func (qs RepoQuerySet) CreateFailReasonNe(createFailReason string) RepoQuerySet

CreateFailReasonNe is an autogenerated method nolint: dupl

func (RepoQuerySet) CreateFailReasonNotIn

func (qs RepoQuerySet) CreateFailReasonNotIn(createFailReason ...string) RepoQuerySet

CreateFailReasonNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtEq

func (qs RepoQuerySet) CreatedAtEq(createdAt time.Time) RepoQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtGt

func (qs RepoQuerySet) CreatedAtGt(createdAt time.Time) RepoQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtGte

func (qs RepoQuerySet) CreatedAtGte(createdAt time.Time) RepoQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtLt

func (qs RepoQuerySet) CreatedAtLt(createdAt time.Time) RepoQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtLte

func (qs RepoQuerySet) CreatedAtLte(createdAt time.Time) RepoQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (RepoQuerySet) CreatedAtNe

func (qs RepoQuerySet) CreatedAtNe(createdAt time.Time) RepoQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (RepoQuerySet) Delete

func (qs RepoQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (RepoQuerySet) DeleteNum

func (qs RepoQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (RepoQuerySet) DeleteNumUnscoped

func (qs RepoQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtEq

func (qs RepoQuerySet) DeletedAtEq(deletedAt time.Time) RepoQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtGt

func (qs RepoQuerySet) DeletedAtGt(deletedAt time.Time) RepoQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtGte

func (qs RepoQuerySet) DeletedAtGte(deletedAt time.Time) RepoQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtIsNotNull

func (qs RepoQuerySet) DeletedAtIsNotNull() RepoQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtIsNull

func (qs RepoQuerySet) DeletedAtIsNull() RepoQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtLt

func (qs RepoQuerySet) DeletedAtLt(deletedAt time.Time) RepoQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtLte

func (qs RepoQuerySet) DeletedAtLte(deletedAt time.Time) RepoQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (RepoQuerySet) DeletedAtNe

func (qs RepoQuerySet) DeletedAtNe(deletedAt time.Time) RepoQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (RepoQuerySet) DisplayFullNameEq

func (qs RepoQuerySet) DisplayFullNameEq(displayFullName string) RepoQuerySet

DisplayFullNameEq is an autogenerated method nolint: dupl

func (RepoQuerySet) DisplayFullNameIn

func (qs RepoQuerySet) DisplayFullNameIn(displayFullName ...string) RepoQuerySet

DisplayFullNameIn is an autogenerated method nolint: dupl

func (RepoQuerySet) DisplayFullNameNe

func (qs RepoQuerySet) DisplayFullNameNe(displayFullName string) RepoQuerySet

DisplayFullNameNe is an autogenerated method nolint: dupl

func (RepoQuerySet) DisplayFullNameNotIn

func (qs RepoQuerySet) DisplayFullNameNotIn(displayFullName ...string) RepoQuerySet

DisplayFullNameNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) FullNameEq

func (qs RepoQuerySet) FullNameEq(fullName string) RepoQuerySet

FullNameEq is an autogenerated method nolint: dupl

func (RepoQuerySet) FullNameIn

func (qs RepoQuerySet) FullNameIn(fullName ...string) RepoQuerySet

FullNameIn is an autogenerated method nolint: dupl

func (RepoQuerySet) FullNameNe

func (qs RepoQuerySet) FullNameNe(fullName string) RepoQuerySet

FullNameNe is an autogenerated method nolint: dupl

func (RepoQuerySet) FullNameNotIn

func (qs RepoQuerySet) FullNameNotIn(fullName ...string) RepoQuerySet

FullNameNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) GetUpdater

func (qs RepoQuerySet) GetUpdater() RepoUpdater

GetUpdater is an autogenerated method nolint: dupl

func (RepoQuerySet) HookIDEq

func (qs RepoQuerySet) HookIDEq(hookID string) RepoQuerySet

HookIDEq is an autogenerated method nolint: dupl

func (RepoQuerySet) HookIDIn

func (qs RepoQuerySet) HookIDIn(hookID ...string) RepoQuerySet

HookIDIn is an autogenerated method nolint: dupl

func (RepoQuerySet) HookIDNe

func (qs RepoQuerySet) HookIDNe(hookID string) RepoQuerySet

HookIDNe is an autogenerated method nolint: dupl

func (RepoQuerySet) HookIDNotIn

func (qs RepoQuerySet) HookIDNotIn(hookID ...string) RepoQuerySet

HookIDNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) IDEq

func (qs RepoQuerySet) IDEq(ID uint) RepoQuerySet

IDEq is an autogenerated method nolint: dupl

func (RepoQuerySet) IDGt

func (qs RepoQuerySet) IDGt(ID uint) RepoQuerySet

IDGt is an autogenerated method nolint: dupl

func (RepoQuerySet) IDGte

func (qs RepoQuerySet) IDGte(ID uint) RepoQuerySet

IDGte is an autogenerated method nolint: dupl

func (RepoQuerySet) IDIn

func (qs RepoQuerySet) IDIn(ID ...uint) RepoQuerySet

IDIn is an autogenerated method nolint: dupl

func (RepoQuerySet) IDLt

func (qs RepoQuerySet) IDLt(ID uint) RepoQuerySet

IDLt is an autogenerated method nolint: dupl

func (RepoQuerySet) IDLte

func (qs RepoQuerySet) IDLte(ID uint) RepoQuerySet

IDLte is an autogenerated method nolint: dupl

func (RepoQuerySet) IDNe

func (qs RepoQuerySet) IDNe(ID uint) RepoQuerySet

IDNe is an autogenerated method nolint: dupl

func (RepoQuerySet) IDNotIn

func (qs RepoQuerySet) IDNotIn(ID ...uint) RepoQuerySet

IDNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) IsPrivateEq

func (qs RepoQuerySet) IsPrivateEq(isPrivate bool) RepoQuerySet

IsPrivateEq is an autogenerated method nolint: dupl

func (RepoQuerySet) IsPrivateIn

func (qs RepoQuerySet) IsPrivateIn(isPrivate ...bool) RepoQuerySet

IsPrivateIn is an autogenerated method nolint: dupl

func (RepoQuerySet) IsPrivateNe

func (qs RepoQuerySet) IsPrivateNe(isPrivate bool) RepoQuerySet

IsPrivateNe is an autogenerated method nolint: dupl

func (RepoQuerySet) IsPrivateNotIn

func (qs RepoQuerySet) IsPrivateNotIn(isPrivate ...bool) RepoQuerySet

IsPrivateNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) Limit

func (qs RepoQuerySet) Limit(limit int) RepoQuerySet

Limit is an autogenerated method nolint: dupl

func (RepoQuerySet) Offset

func (qs RepoQuerySet) Offset(offset int) RepoQuerySet

Offset is an autogenerated method nolint: dupl

func (RepoQuerySet) One

func (qs RepoQuerySet) One(ret *Repo) error

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (RepoQuerySet) OrderAscByCreatedAt

func (qs RepoQuerySet) OrderAscByCreatedAt() RepoQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByDeletedAt

func (qs RepoQuerySet) OrderAscByDeletedAt() RepoQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByID

func (qs RepoQuerySet) OrderAscByID() RepoQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByProviderHookID

func (qs RepoQuerySet) OrderAscByProviderHookID() RepoQuerySet

OrderAscByProviderHookID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByProviderID

func (qs RepoQuerySet) OrderAscByProviderID() RepoQuerySet

OrderAscByProviderID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByStargazersCount

func (qs RepoQuerySet) OrderAscByStargazersCount() RepoQuerySet

OrderAscByStargazersCount is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByUpdatedAt

func (qs RepoQuerySet) OrderAscByUpdatedAt() RepoQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderAscByUserID

func (qs RepoQuerySet) OrderAscByUserID() RepoQuerySet

OrderAscByUserID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByCreatedAt

func (qs RepoQuerySet) OrderDescByCreatedAt() RepoQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByDeletedAt

func (qs RepoQuerySet) OrderDescByDeletedAt() RepoQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByID

func (qs RepoQuerySet) OrderDescByID() RepoQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByProviderHookID

func (qs RepoQuerySet) OrderDescByProviderHookID() RepoQuerySet

OrderDescByProviderHookID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByProviderID

func (qs RepoQuerySet) OrderDescByProviderID() RepoQuerySet

OrderDescByProviderID is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByStargazersCount

func (qs RepoQuerySet) OrderDescByStargazersCount() RepoQuerySet

OrderDescByStargazersCount is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByUpdatedAt

func (qs RepoQuerySet) OrderDescByUpdatedAt() RepoQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (RepoQuerySet) OrderDescByUserID

func (qs RepoQuerySet) OrderDescByUserID() RepoQuerySet

OrderDescByUserID is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderEq

func (qs RepoQuerySet) ProviderEq(provider string) RepoQuerySet

ProviderEq is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDEq

func (qs RepoQuerySet) ProviderHookIDEq(providerHookID int) RepoQuerySet

ProviderHookIDEq is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDGt

func (qs RepoQuerySet) ProviderHookIDGt(providerHookID int) RepoQuerySet

ProviderHookIDGt is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDGte

func (qs RepoQuerySet) ProviderHookIDGte(providerHookID int) RepoQuerySet

ProviderHookIDGte is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDIn

func (qs RepoQuerySet) ProviderHookIDIn(providerHookID ...int) RepoQuerySet

ProviderHookIDIn is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDLt

func (qs RepoQuerySet) ProviderHookIDLt(providerHookID int) RepoQuerySet

ProviderHookIDLt is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDLte

func (qs RepoQuerySet) ProviderHookIDLte(providerHookID int) RepoQuerySet

ProviderHookIDLte is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDNe

func (qs RepoQuerySet) ProviderHookIDNe(providerHookID int) RepoQuerySet

ProviderHookIDNe is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderHookIDNotIn

func (qs RepoQuerySet) ProviderHookIDNotIn(providerHookID ...int) RepoQuerySet

ProviderHookIDNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDEq

func (qs RepoQuerySet) ProviderIDEq(providerID int) RepoQuerySet

ProviderIDEq is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDGt

func (qs RepoQuerySet) ProviderIDGt(providerID int) RepoQuerySet

ProviderIDGt is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDGte

func (qs RepoQuerySet) ProviderIDGte(providerID int) RepoQuerySet

ProviderIDGte is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDIn

func (qs RepoQuerySet) ProviderIDIn(providerID ...int) RepoQuerySet

ProviderIDIn is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDLt

func (qs RepoQuerySet) ProviderIDLt(providerID int) RepoQuerySet

ProviderIDLt is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDLte

func (qs RepoQuerySet) ProviderIDLte(providerID int) RepoQuerySet

ProviderIDLte is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDNe

func (qs RepoQuerySet) ProviderIDNe(providerID int) RepoQuerySet

ProviderIDNe is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIDNotIn

func (qs RepoQuerySet) ProviderIDNotIn(providerID ...int) RepoQuerySet

ProviderIDNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderIn

func (qs RepoQuerySet) ProviderIn(provider ...string) RepoQuerySet

ProviderIn is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderNe

func (qs RepoQuerySet) ProviderNe(provider string) RepoQuerySet

ProviderNe is an autogenerated method nolint: dupl

func (RepoQuerySet) ProviderNotIn

func (qs RepoQuerySet) ProviderNotIn(provider ...string) RepoQuerySet

ProviderNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountEq

func (qs RepoQuerySet) StargazersCountEq(stargazersCount int) RepoQuerySet

StargazersCountEq is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountGt

func (qs RepoQuerySet) StargazersCountGt(stargazersCount int) RepoQuerySet

StargazersCountGt is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountGte

func (qs RepoQuerySet) StargazersCountGte(stargazersCount int) RepoQuerySet

StargazersCountGte is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountIn

func (qs RepoQuerySet) StargazersCountIn(stargazersCount ...int) RepoQuerySet

StargazersCountIn is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountLt

func (qs RepoQuerySet) StargazersCountLt(stargazersCount int) RepoQuerySet

StargazersCountLt is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountLte

func (qs RepoQuerySet) StargazersCountLte(stargazersCount int) RepoQuerySet

StargazersCountLte is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountNe

func (qs RepoQuerySet) StargazersCountNe(stargazersCount int) RepoQuerySet

StargazersCountNe is an autogenerated method nolint: dupl

func (RepoQuerySet) StargazersCountNotIn

func (qs RepoQuerySet) StargazersCountNotIn(stargazersCount ...int) RepoQuerySet

StargazersCountNotIn is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtEq

func (qs RepoQuerySet) UpdatedAtEq(updatedAt time.Time) RepoQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtGt

func (qs RepoQuerySet) UpdatedAtGt(updatedAt time.Time) RepoQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtGte

func (qs RepoQuerySet) UpdatedAtGte(updatedAt time.Time) RepoQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtLt

func (qs RepoQuerySet) UpdatedAtLt(updatedAt time.Time) RepoQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtLte

func (qs RepoQuerySet) UpdatedAtLte(updatedAt time.Time) RepoQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (RepoQuerySet) UpdatedAtNe

func (qs RepoQuerySet) UpdatedAtNe(updatedAt time.Time) RepoQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDEq

func (qs RepoQuerySet) UserIDEq(userID uint) RepoQuerySet

UserIDEq is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDGt

func (qs RepoQuerySet) UserIDGt(userID uint) RepoQuerySet

UserIDGt is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDGte

func (qs RepoQuerySet) UserIDGte(userID uint) RepoQuerySet

UserIDGte is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDIn

func (qs RepoQuerySet) UserIDIn(userID ...uint) RepoQuerySet

UserIDIn is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDLt

func (qs RepoQuerySet) UserIDLt(userID uint) RepoQuerySet

UserIDLt is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDLte

func (qs RepoQuerySet) UserIDLte(userID uint) RepoQuerySet

UserIDLte is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDNe

func (qs RepoQuerySet) UserIDNe(userID uint) RepoQuerySet

UserIDNe is an autogenerated method nolint: dupl

func (RepoQuerySet) UserIDNotIn

func (qs RepoQuerySet) UserIDNotIn(userID ...uint) RepoQuerySet

UserIDNotIn is an autogenerated method nolint: dupl

type RepoUpdater

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

RepoUpdater is an Repo updates manager

func NewRepoUpdater

func NewRepoUpdater(db *gorm.DB) RepoUpdater

NewRepoUpdater creates new Repo updater nolint: dupl

func (RepoUpdater) SetCommitState

func (u RepoUpdater) SetCommitState(commitState RepoCommitState) RepoUpdater

SetCommitState is an autogenerated method nolint: dupl

func (RepoUpdater) SetCreateFailReason

func (u RepoUpdater) SetCreateFailReason(createFailReason string) RepoUpdater

SetCreateFailReason is an autogenerated method nolint: dupl

func (RepoUpdater) SetCreatedAt

func (u RepoUpdater) SetCreatedAt(createdAt time.Time) RepoUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (RepoUpdater) SetDeletedAt

func (u RepoUpdater) SetDeletedAt(deletedAt *time.Time) RepoUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (RepoUpdater) SetDisplayFullName

func (u RepoUpdater) SetDisplayFullName(displayFullName string) RepoUpdater

SetDisplayFullName is an autogenerated method nolint: dupl

func (RepoUpdater) SetFullName

func (u RepoUpdater) SetFullName(fullName string) RepoUpdater

SetFullName is an autogenerated method nolint: dupl

func (RepoUpdater) SetHookID

func (u RepoUpdater) SetHookID(hookID string) RepoUpdater

SetHookID is an autogenerated method nolint: dupl

func (RepoUpdater) SetID

func (u RepoUpdater) SetID(ID uint) RepoUpdater

SetID is an autogenerated method nolint: dupl

func (RepoUpdater) SetIsPrivate

func (u RepoUpdater) SetIsPrivate(isPrivate bool) RepoUpdater

SetIsPrivate is an autogenerated method nolint: dupl

func (RepoUpdater) SetProvider

func (u RepoUpdater) SetProvider(provider string) RepoUpdater

SetProvider is an autogenerated method nolint: dupl

func (RepoUpdater) SetProviderHookID

func (u RepoUpdater) SetProviderHookID(providerHookID int) RepoUpdater

SetProviderHookID is an autogenerated method nolint: dupl

func (RepoUpdater) SetProviderID

func (u RepoUpdater) SetProviderID(providerID int) RepoUpdater

SetProviderID is an autogenerated method nolint: dupl

func (RepoUpdater) SetStargazersCount

func (u RepoUpdater) SetStargazersCount(stargazersCount int) RepoUpdater

SetStargazersCount is an autogenerated method nolint: dupl

func (RepoUpdater) SetUpdatedAt

func (u RepoUpdater) SetUpdatedAt(updatedAt time.Time) RepoUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (RepoUpdater) SetUserID

func (u RepoUpdater) SetUserID(userID uint) RepoUpdater

SetUserID is an autogenerated method nolint: dupl

func (RepoUpdater) Update

func (u RepoUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (RepoUpdater) UpdateNum

func (u RepoUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

func (RepoUpdater) UpdateRequired

func (u RepoUpdater) UpdateRequired() error

type UniversalRepo

type UniversalRepo interface {
	Owner() string
	Repo() string
}

type User

type User struct {
	gorm.Model

	Email string

	Name      string
	AvatarURL string
}

gen:qs

func (*User) Create

func (o *User) Create(db *gorm.DB) error

Create is an autogenerated method nolint: dupl

func (*User) Delete

func (o *User) Delete(db *gorm.DB) error

Delete is an autogenerated method nolint: dupl

func (*User) Update

func (o *User) Update(db *gorm.DB, fields ...UserDBSchemaField) error

Update updates User fields by primary key nolint: dupl

type UserDBSchemaField

type UserDBSchemaField string

UserDBSchemaField describes database schema field. It requires for method 'Update'

func (UserDBSchemaField) String

func (f UserDBSchemaField) String() string

String method returns string representation of field. nolint: dupl

type UserQuerySet

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

UserQuerySet is an queryset type for User

func NewUserQuerySet

func NewUserQuerySet(db *gorm.DB) UserQuerySet

NewUserQuerySet constructs new UserQuerySet

func (UserQuerySet) All

func (qs UserQuerySet) All(ret *[]User) error

All is an autogenerated method nolint: dupl

func (UserQuerySet) AvatarURLEq

func (qs UserQuerySet) AvatarURLEq(avatarURL string) UserQuerySet

AvatarURLEq is an autogenerated method nolint: dupl

func (UserQuerySet) AvatarURLIn

func (qs UserQuerySet) AvatarURLIn(avatarURL ...string) UserQuerySet

AvatarURLIn is an autogenerated method nolint: dupl

func (UserQuerySet) AvatarURLNe

func (qs UserQuerySet) AvatarURLNe(avatarURL string) UserQuerySet

AvatarURLNe is an autogenerated method nolint: dupl

func (UserQuerySet) AvatarURLNotIn

func (qs UserQuerySet) AvatarURLNotIn(avatarURL ...string) UserQuerySet

AvatarURLNotIn is an autogenerated method nolint: dupl

func (UserQuerySet) Count

func (qs UserQuerySet) Count() (int, error)

Count is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtEq

func (qs UserQuerySet) CreatedAtEq(createdAt time.Time) UserQuerySet

CreatedAtEq is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtGt

func (qs UserQuerySet) CreatedAtGt(createdAt time.Time) UserQuerySet

CreatedAtGt is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtGte

func (qs UserQuerySet) CreatedAtGte(createdAt time.Time) UserQuerySet

CreatedAtGte is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtLt

func (qs UserQuerySet) CreatedAtLt(createdAt time.Time) UserQuerySet

CreatedAtLt is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtLte

func (qs UserQuerySet) CreatedAtLte(createdAt time.Time) UserQuerySet

CreatedAtLte is an autogenerated method nolint: dupl

func (UserQuerySet) CreatedAtNe

func (qs UserQuerySet) CreatedAtNe(createdAt time.Time) UserQuerySet

CreatedAtNe is an autogenerated method nolint: dupl

func (UserQuerySet) Delete

func (qs UserQuerySet) Delete() error

Delete is an autogenerated method nolint: dupl

func (UserQuerySet) DeleteNum

func (qs UserQuerySet) DeleteNum() (int64, error)

DeleteNum is an autogenerated method nolint: dupl

func (UserQuerySet) DeleteNumUnscoped

func (qs UserQuerySet) DeleteNumUnscoped() (int64, error)

DeleteNumUnscoped is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtEq

func (qs UserQuerySet) DeletedAtEq(deletedAt time.Time) UserQuerySet

DeletedAtEq is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtGt

func (qs UserQuerySet) DeletedAtGt(deletedAt time.Time) UserQuerySet

DeletedAtGt is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtGte

func (qs UserQuerySet) DeletedAtGte(deletedAt time.Time) UserQuerySet

DeletedAtGte is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtIsNotNull

func (qs UserQuerySet) DeletedAtIsNotNull() UserQuerySet

DeletedAtIsNotNull is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtIsNull

func (qs UserQuerySet) DeletedAtIsNull() UserQuerySet

DeletedAtIsNull is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtLt

func (qs UserQuerySet) DeletedAtLt(deletedAt time.Time) UserQuerySet

DeletedAtLt is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtLte

func (qs UserQuerySet) DeletedAtLte(deletedAt time.Time) UserQuerySet

DeletedAtLte is an autogenerated method nolint: dupl

func (UserQuerySet) DeletedAtNe

func (qs UserQuerySet) DeletedAtNe(deletedAt time.Time) UserQuerySet

DeletedAtNe is an autogenerated method nolint: dupl

func (UserQuerySet) EmailEq

func (qs UserQuerySet) EmailEq(email string) UserQuerySet

EmailEq is an autogenerated method nolint: dupl

func (UserQuerySet) EmailIn

func (qs UserQuerySet) EmailIn(email ...string) UserQuerySet

EmailIn is an autogenerated method nolint: dupl

func (UserQuerySet) EmailNe

func (qs UserQuerySet) EmailNe(email string) UserQuerySet

EmailNe is an autogenerated method nolint: dupl

func (UserQuerySet) EmailNotIn

func (qs UserQuerySet) EmailNotIn(email ...string) UserQuerySet

EmailNotIn is an autogenerated method nolint: dupl

func (UserQuerySet) GetUpdater

func (qs UserQuerySet) GetUpdater() UserUpdater

GetUpdater is an autogenerated method nolint: dupl

func (UserQuerySet) IDEq

func (qs UserQuerySet) IDEq(ID uint) UserQuerySet

IDEq is an autogenerated method nolint: dupl

func (UserQuerySet) IDGt

func (qs UserQuerySet) IDGt(ID uint) UserQuerySet

IDGt is an autogenerated method nolint: dupl

func (UserQuerySet) IDGte

func (qs UserQuerySet) IDGte(ID uint) UserQuerySet

IDGte is an autogenerated method nolint: dupl

func (UserQuerySet) IDIn

func (qs UserQuerySet) IDIn(ID ...uint) UserQuerySet

IDIn is an autogenerated method nolint: dupl

func (UserQuerySet) IDLt

func (qs UserQuerySet) IDLt(ID uint) UserQuerySet

IDLt is an autogenerated method nolint: dupl

func (UserQuerySet) IDLte

func (qs UserQuerySet) IDLte(ID uint) UserQuerySet

IDLte is an autogenerated method nolint: dupl

func (UserQuerySet) IDNe

func (qs UserQuerySet) IDNe(ID uint) UserQuerySet

IDNe is an autogenerated method nolint: dupl

func (UserQuerySet) IDNotIn

func (qs UserQuerySet) IDNotIn(ID ...uint) UserQuerySet

IDNotIn is an autogenerated method nolint: dupl

func (UserQuerySet) Limit

func (qs UserQuerySet) Limit(limit int) UserQuerySet

Limit is an autogenerated method nolint: dupl

func (UserQuerySet) NameEq

func (qs UserQuerySet) NameEq(name string) UserQuerySet

NameEq is an autogenerated method nolint: dupl

func (UserQuerySet) NameIn

func (qs UserQuerySet) NameIn(name ...string) UserQuerySet

NameIn is an autogenerated method nolint: dupl

func (UserQuerySet) NameNe

func (qs UserQuerySet) NameNe(name string) UserQuerySet

NameNe is an autogenerated method nolint: dupl

func (UserQuerySet) NameNotIn

func (qs UserQuerySet) NameNotIn(name ...string) UserQuerySet

NameNotIn is an autogenerated method nolint: dupl

func (UserQuerySet) Offset

func (qs UserQuerySet) Offset(offset int) UserQuerySet

Offset is an autogenerated method nolint: dupl

func (UserQuerySet) One

func (qs UserQuerySet) One(ret *User) error

One is used to retrieve one result. It returns gorm.ErrRecordNotFound if nothing was fetched

func (UserQuerySet) OrderAscByCreatedAt

func (qs UserQuerySet) OrderAscByCreatedAt() UserQuerySet

OrderAscByCreatedAt is an autogenerated method nolint: dupl

func (UserQuerySet) OrderAscByDeletedAt

func (qs UserQuerySet) OrderAscByDeletedAt() UserQuerySet

OrderAscByDeletedAt is an autogenerated method nolint: dupl

func (UserQuerySet) OrderAscByID

func (qs UserQuerySet) OrderAscByID() UserQuerySet

OrderAscByID is an autogenerated method nolint: dupl

func (UserQuerySet) OrderAscByUpdatedAt

func (qs UserQuerySet) OrderAscByUpdatedAt() UserQuerySet

OrderAscByUpdatedAt is an autogenerated method nolint: dupl

func (UserQuerySet) OrderDescByCreatedAt

func (qs UserQuerySet) OrderDescByCreatedAt() UserQuerySet

OrderDescByCreatedAt is an autogenerated method nolint: dupl

func (UserQuerySet) OrderDescByDeletedAt

func (qs UserQuerySet) OrderDescByDeletedAt() UserQuerySet

OrderDescByDeletedAt is an autogenerated method nolint: dupl

func (UserQuerySet) OrderDescByID

func (qs UserQuerySet) OrderDescByID() UserQuerySet

OrderDescByID is an autogenerated method nolint: dupl

func (UserQuerySet) OrderDescByUpdatedAt

func (qs UserQuerySet) OrderDescByUpdatedAt() UserQuerySet

OrderDescByUpdatedAt is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtEq

func (qs UserQuerySet) UpdatedAtEq(updatedAt time.Time) UserQuerySet

UpdatedAtEq is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtGt

func (qs UserQuerySet) UpdatedAtGt(updatedAt time.Time) UserQuerySet

UpdatedAtGt is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtGte

func (qs UserQuerySet) UpdatedAtGte(updatedAt time.Time) UserQuerySet

UpdatedAtGte is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtLt

func (qs UserQuerySet) UpdatedAtLt(updatedAt time.Time) UserQuerySet

UpdatedAtLt is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtLte

func (qs UserQuerySet) UpdatedAtLte(updatedAt time.Time) UserQuerySet

UpdatedAtLte is an autogenerated method nolint: dupl

func (UserQuerySet) UpdatedAtNe

func (qs UserQuerySet) UpdatedAtNe(updatedAt time.Time) UserQuerySet

UpdatedAtNe is an autogenerated method nolint: dupl

type UserUpdater

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

UserUpdater is an User updates manager

func NewUserUpdater

func NewUserUpdater(db *gorm.DB) UserUpdater

NewUserUpdater creates new User updater nolint: dupl

func (UserUpdater) SetAvatarURL

func (u UserUpdater) SetAvatarURL(avatarURL string) UserUpdater

SetAvatarURL is an autogenerated method nolint: dupl

func (UserUpdater) SetCreatedAt

func (u UserUpdater) SetCreatedAt(createdAt time.Time) UserUpdater

SetCreatedAt is an autogenerated method nolint: dupl

func (UserUpdater) SetDeletedAt

func (u UserUpdater) SetDeletedAt(deletedAt *time.Time) UserUpdater

SetDeletedAt is an autogenerated method nolint: dupl

func (UserUpdater) SetEmail

func (u UserUpdater) SetEmail(email string) UserUpdater

SetEmail is an autogenerated method nolint: dupl

func (UserUpdater) SetID

func (u UserUpdater) SetID(ID uint) UserUpdater

SetID is an autogenerated method nolint: dupl

func (UserUpdater) SetName

func (u UserUpdater) SetName(name string) UserUpdater

SetName is an autogenerated method nolint: dupl

func (UserUpdater) SetUpdatedAt

func (u UserUpdater) SetUpdatedAt(updatedAt time.Time) UserUpdater

SetUpdatedAt is an autogenerated method nolint: dupl

func (UserUpdater) Update

func (u UserUpdater) Update() error

Update is an autogenerated method nolint: dupl

func (UserUpdater) UpdateNum

func (u UserUpdater) UpdateNum() (int64, error)

UpdateNum is an autogenerated method nolint: dupl

Jump to

Keyboard shortcuts

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