deploymentstatistics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the deploymentstatistics type in the database.
	Label = "deployment_statistics"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldEnv holds the string denoting the env field in the database.
	FieldEnv = "env"
	// FieldCount holds the string denoting the count field in the database.
	FieldCount = "count"
	// FieldRollbackCount holds the string denoting the rollback_count field in the database.
	FieldRollbackCount = "rollback_count"
	// FieldAdditions holds the string denoting the additions field in the database.
	FieldAdditions = "additions"
	// FieldDeletions holds the string denoting the deletions field in the database.
	FieldDeletions = "deletions"
	// FieldChanges holds the string denoting the changes field in the database.
	FieldChanges = "changes"
	// FieldLeadTimeSeconds holds the string denoting the lead_time_seconds field in the database.
	FieldLeadTimeSeconds = "lead_time_seconds"
	// FieldCommitCount holds the string denoting the commit_count field in the database.
	FieldCommitCount = "commit_count"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldRepoID holds the string denoting the repo_id field in the database.
	FieldRepoID = "repo_id"
	// EdgeRepo holds the string denoting the repo edge name in mutations.
	EdgeRepo = "repo"
	// Table holds the table name of the deploymentstatistics in the database.
	Table = "deployment_statistics"
	// RepoTable is the table that holds the repo relation/edge.
	RepoTable = "deployment_statistics"
	// RepoInverseTable is the table name for the Repo entity.
	// It exists in this package in order to avoid circular dependency with the "repo" package.
	RepoInverseTable = "repos"
	// RepoColumn is the table column denoting the repo relation/edge.
	RepoColumn = "repo_id"
)

Variables

View Source
var (
	// DefaultCount holds the default value on creation for the "count" field.
	DefaultCount int
	// DefaultRollbackCount holds the default value on creation for the "rollback_count" field.
	DefaultRollbackCount int
	// DefaultAdditions holds the default value on creation for the "additions" field.
	DefaultAdditions int
	// DefaultDeletions holds the default value on creation for the "deletions" field.
	DefaultDeletions int
	// DefaultChanges holds the default value on creation for the "changes" field.
	DefaultChanges int
	// DefaultLeadTimeSeconds holds the default value on creation for the "lead_time_seconds" field.
	DefaultLeadTimeSeconds int
	// DefaultCommitCount holds the default value on creation for the "commit_count" field.
	DefaultCommitCount int
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for deploymentstatistics fields.

Functions

func Additions

func Additions(v int) predicate.DeploymentStatistics

Additions applies equality check predicate on the "additions" field. It's identical to AdditionsEQ.

func AdditionsEQ

func AdditionsEQ(v int) predicate.DeploymentStatistics

AdditionsEQ applies the EQ predicate on the "additions" field.

func AdditionsGT

func AdditionsGT(v int) predicate.DeploymentStatistics

AdditionsGT applies the GT predicate on the "additions" field.

func AdditionsGTE

func AdditionsGTE(v int) predicate.DeploymentStatistics

AdditionsGTE applies the GTE predicate on the "additions" field.

func AdditionsIn

func AdditionsIn(vs ...int) predicate.DeploymentStatistics

AdditionsIn applies the In predicate on the "additions" field.

func AdditionsLT

func AdditionsLT(v int) predicate.DeploymentStatistics

AdditionsLT applies the LT predicate on the "additions" field.

func AdditionsLTE

func AdditionsLTE(v int) predicate.DeploymentStatistics

AdditionsLTE applies the LTE predicate on the "additions" field.

func AdditionsNEQ

func AdditionsNEQ(v int) predicate.DeploymentStatistics

AdditionsNEQ applies the NEQ predicate on the "additions" field.

func AdditionsNotIn

func AdditionsNotIn(vs ...int) predicate.DeploymentStatistics

AdditionsNotIn applies the NotIn predicate on the "additions" field.

func And

And groups predicates with the AND operator between them.

func Changes

Changes applies equality check predicate on the "changes" field. It's identical to ChangesEQ.

func ChangesEQ

func ChangesEQ(v int) predicate.DeploymentStatistics

ChangesEQ applies the EQ predicate on the "changes" field.

func ChangesGT

func ChangesGT(v int) predicate.DeploymentStatistics

ChangesGT applies the GT predicate on the "changes" field.

func ChangesGTE

func ChangesGTE(v int) predicate.DeploymentStatistics

ChangesGTE applies the GTE predicate on the "changes" field.

func ChangesIn

func ChangesIn(vs ...int) predicate.DeploymentStatistics

ChangesIn applies the In predicate on the "changes" field.

func ChangesLT

func ChangesLT(v int) predicate.DeploymentStatistics

ChangesLT applies the LT predicate on the "changes" field.

func ChangesLTE

func ChangesLTE(v int) predicate.DeploymentStatistics

ChangesLTE applies the LTE predicate on the "changes" field.

func ChangesNEQ

func ChangesNEQ(v int) predicate.DeploymentStatistics

ChangesNEQ applies the NEQ predicate on the "changes" field.

func ChangesNotIn

func ChangesNotIn(vs ...int) predicate.DeploymentStatistics

ChangesNotIn applies the NotIn predicate on the "changes" field.

func CommitCount

func CommitCount(v int) predicate.DeploymentStatistics

CommitCount applies equality check predicate on the "commit_count" field. It's identical to CommitCountEQ.

func CommitCountEQ

func CommitCountEQ(v int) predicate.DeploymentStatistics

CommitCountEQ applies the EQ predicate on the "commit_count" field.

func CommitCountGT

func CommitCountGT(v int) predicate.DeploymentStatistics

CommitCountGT applies the GT predicate on the "commit_count" field.

func CommitCountGTE

func CommitCountGTE(v int) predicate.DeploymentStatistics

CommitCountGTE applies the GTE predicate on the "commit_count" field.

func CommitCountIn

func CommitCountIn(vs ...int) predicate.DeploymentStatistics

CommitCountIn applies the In predicate on the "commit_count" field.

func CommitCountLT

func CommitCountLT(v int) predicate.DeploymentStatistics

CommitCountLT applies the LT predicate on the "commit_count" field.

func CommitCountLTE

func CommitCountLTE(v int) predicate.DeploymentStatistics

CommitCountLTE applies the LTE predicate on the "commit_count" field.

func CommitCountNEQ

func CommitCountNEQ(v int) predicate.DeploymentStatistics

CommitCountNEQ applies the NEQ predicate on the "commit_count" field.

func CommitCountNotIn

func CommitCountNotIn(vs ...int) predicate.DeploymentStatistics

CommitCountNotIn applies the NotIn predicate on the "commit_count" field.

func Count

Count applies equality check predicate on the "count" field. It's identical to CountEQ.

func CountEQ

CountEQ applies the EQ predicate on the "count" field.

func CountGT

CountGT applies the GT predicate on the "count" field.

func CountGTE

CountGTE applies the GTE predicate on the "count" field.

func CountIn

func CountIn(vs ...int) predicate.DeploymentStatistics

CountIn applies the In predicate on the "count" field.

func CountLT

CountLT applies the LT predicate on the "count" field.

func CountLTE

CountLTE applies the LTE predicate on the "count" field.

func CountNEQ

CountNEQ applies the NEQ predicate on the "count" field.

func CountNotIn

func CountNotIn(vs ...int) predicate.DeploymentStatistics

CountNotIn applies the NotIn predicate on the "count" field.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DeploymentStatistics

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DeploymentStatistics

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DeploymentStatistics

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.DeploymentStatistics

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DeploymentStatistics

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DeploymentStatistics

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DeploymentStatistics

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.DeploymentStatistics

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Deletions

func Deletions(v int) predicate.DeploymentStatistics

Deletions applies equality check predicate on the "deletions" field. It's identical to DeletionsEQ.

func DeletionsEQ

func DeletionsEQ(v int) predicate.DeploymentStatistics

DeletionsEQ applies the EQ predicate on the "deletions" field.

func DeletionsGT

func DeletionsGT(v int) predicate.DeploymentStatistics

DeletionsGT applies the GT predicate on the "deletions" field.

func DeletionsGTE

func DeletionsGTE(v int) predicate.DeploymentStatistics

DeletionsGTE applies the GTE predicate on the "deletions" field.

func DeletionsIn

func DeletionsIn(vs ...int) predicate.DeploymentStatistics

DeletionsIn applies the In predicate on the "deletions" field.

func DeletionsLT

func DeletionsLT(v int) predicate.DeploymentStatistics

DeletionsLT applies the LT predicate on the "deletions" field.

func DeletionsLTE

func DeletionsLTE(v int) predicate.DeploymentStatistics

DeletionsLTE applies the LTE predicate on the "deletions" field.

func DeletionsNEQ

func DeletionsNEQ(v int) predicate.DeploymentStatistics

DeletionsNEQ applies the NEQ predicate on the "deletions" field.

func DeletionsNotIn

func DeletionsNotIn(vs ...int) predicate.DeploymentStatistics

DeletionsNotIn applies the NotIn predicate on the "deletions" field.

func Env

Env applies equality check predicate on the "env" field. It's identical to EnvEQ.

func EnvContains

func EnvContains(v string) predicate.DeploymentStatistics

EnvContains applies the Contains predicate on the "env" field.

func EnvContainsFold

func EnvContainsFold(v string) predicate.DeploymentStatistics

EnvContainsFold applies the ContainsFold predicate on the "env" field.

func EnvEQ

EnvEQ applies the EQ predicate on the "env" field.

func EnvEqualFold

func EnvEqualFold(v string) predicate.DeploymentStatistics

EnvEqualFold applies the EqualFold predicate on the "env" field.

func EnvGT

EnvGT applies the GT predicate on the "env" field.

func EnvGTE

EnvGTE applies the GTE predicate on the "env" field.

func EnvHasPrefix

func EnvHasPrefix(v string) predicate.DeploymentStatistics

EnvHasPrefix applies the HasPrefix predicate on the "env" field.

func EnvHasSuffix

func EnvHasSuffix(v string) predicate.DeploymentStatistics

EnvHasSuffix applies the HasSuffix predicate on the "env" field.

func EnvIn

EnvIn applies the In predicate on the "env" field.

func EnvLT

EnvLT applies the LT predicate on the "env" field.

func EnvLTE

EnvLTE applies the LTE predicate on the "env" field.

func EnvNEQ

EnvNEQ applies the NEQ predicate on the "env" field.

func EnvNotIn

func EnvNotIn(vs ...string) predicate.DeploymentStatistics

EnvNotIn applies the NotIn predicate on the "env" field.

func HasRepo

HasRepo applies the HasEdge predicate on the "repo" edge.

func HasRepoWith

func HasRepoWith(preds ...predicate.Repo) predicate.DeploymentStatistics

HasRepoWith applies the HasEdge predicate on the "repo" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.DeploymentStatistics

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.DeploymentStatistics

IDNotIn applies the NotIn predicate on the ID field.

func LeadTimeSeconds

func LeadTimeSeconds(v int) predicate.DeploymentStatistics

LeadTimeSeconds applies equality check predicate on the "lead_time_seconds" field. It's identical to LeadTimeSecondsEQ.

func LeadTimeSecondsEQ

func LeadTimeSecondsEQ(v int) predicate.DeploymentStatistics

LeadTimeSecondsEQ applies the EQ predicate on the "lead_time_seconds" field.

func LeadTimeSecondsGT

func LeadTimeSecondsGT(v int) predicate.DeploymentStatistics

LeadTimeSecondsGT applies the GT predicate on the "lead_time_seconds" field.

func LeadTimeSecondsGTE

func LeadTimeSecondsGTE(v int) predicate.DeploymentStatistics

LeadTimeSecondsGTE applies the GTE predicate on the "lead_time_seconds" field.

func LeadTimeSecondsIn

func LeadTimeSecondsIn(vs ...int) predicate.DeploymentStatistics

LeadTimeSecondsIn applies the In predicate on the "lead_time_seconds" field.

func LeadTimeSecondsLT

func LeadTimeSecondsLT(v int) predicate.DeploymentStatistics

LeadTimeSecondsLT applies the LT predicate on the "lead_time_seconds" field.

func LeadTimeSecondsLTE

func LeadTimeSecondsLTE(v int) predicate.DeploymentStatistics

LeadTimeSecondsLTE applies the LTE predicate on the "lead_time_seconds" field.

func LeadTimeSecondsNEQ

func LeadTimeSecondsNEQ(v int) predicate.DeploymentStatistics

LeadTimeSecondsNEQ applies the NEQ predicate on the "lead_time_seconds" field.

func LeadTimeSecondsNotIn

func LeadTimeSecondsNotIn(vs ...int) predicate.DeploymentStatistics

LeadTimeSecondsNotIn applies the NotIn predicate on the "lead_time_seconds" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RepoID

RepoID applies equality check predicate on the "repo_id" field. It's identical to RepoIDEQ.

func RepoIDEQ

RepoIDEQ applies the EQ predicate on the "repo_id" field.

func RepoIDIn

func RepoIDIn(vs ...int64) predicate.DeploymentStatistics

RepoIDIn applies the In predicate on the "repo_id" field.

func RepoIDNEQ

RepoIDNEQ applies the NEQ predicate on the "repo_id" field.

func RepoIDNotIn

func RepoIDNotIn(vs ...int64) predicate.DeploymentStatistics

RepoIDNotIn applies the NotIn predicate on the "repo_id" field.

func RollbackCount

func RollbackCount(v int) predicate.DeploymentStatistics

RollbackCount applies equality check predicate on the "rollback_count" field. It's identical to RollbackCountEQ.

func RollbackCountEQ

func RollbackCountEQ(v int) predicate.DeploymentStatistics

RollbackCountEQ applies the EQ predicate on the "rollback_count" field.

func RollbackCountGT

func RollbackCountGT(v int) predicate.DeploymentStatistics

RollbackCountGT applies the GT predicate on the "rollback_count" field.

func RollbackCountGTE

func RollbackCountGTE(v int) predicate.DeploymentStatistics

RollbackCountGTE applies the GTE predicate on the "rollback_count" field.

func RollbackCountIn

func RollbackCountIn(vs ...int) predicate.DeploymentStatistics

RollbackCountIn applies the In predicate on the "rollback_count" field.

func RollbackCountLT

func RollbackCountLT(v int) predicate.DeploymentStatistics

RollbackCountLT applies the LT predicate on the "rollback_count" field.

func RollbackCountLTE

func RollbackCountLTE(v int) predicate.DeploymentStatistics

RollbackCountLTE applies the LTE predicate on the "rollback_count" field.

func RollbackCountNEQ

func RollbackCountNEQ(v int) predicate.DeploymentStatistics

RollbackCountNEQ applies the NEQ predicate on the "rollback_count" field.

func RollbackCountNotIn

func RollbackCountNotIn(vs ...int) predicate.DeploymentStatistics

RollbackCountNotIn applies the NotIn predicate on the "rollback_count" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DeploymentStatistics

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DeploymentStatistics

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DeploymentStatistics

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.DeploymentStatistics

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DeploymentStatistics

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DeploymentStatistics

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DeploymentStatistics

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.DeploymentStatistics

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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