deployment

package
v1.1.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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the deployment type in the database.
	Label = "deployment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNumber holds the string denoting the number field in the database.
	FieldNumber = "number"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldEnv holds the string denoting the env field in the database.
	FieldEnv = "env"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldDynamicPayload holds the string denoting the dynamic_payload field in the database.
	FieldDynamicPayload = "dynamic_payload"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldUID holds the string denoting the uid field in the database.
	FieldUID = "uid"
	// FieldSha holds the string denoting the sha field in the database.
	FieldSha = "sha"
	// FieldHTMLURL holds the string denoting the html_url field in the database.
	FieldHTMLURL = "html_url"
	// FieldProductionEnvironment holds the string denoting the production_environment field in the database.
	FieldProductionEnvironment = "production_environment"
	// FieldIsRollback holds the string denoting the is_rollback field in the database.
	FieldIsRollback = "is_rollback"
	// 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"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldRepoID holds the string denoting the repo_id field in the database.
	FieldRepoID = "repo_id"
	// FieldIsApprovalEnabled holds the string denoting the is_approval_enabled field in the database.
	FieldIsApprovalEnabled = "is_approval_enabled"
	// FieldRequiredApprovalCount holds the string denoting the required_approval_count field in the database.
	FieldRequiredApprovalCount = "required_approval_count"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeRepo holds the string denoting the repo edge name in mutations.
	EdgeRepo = "repo"
	// EdgeReviews holds the string denoting the reviews edge name in mutations.
	EdgeReviews = "reviews"
	// EdgeDeploymentStatuses holds the string denoting the deployment_statuses edge name in mutations.
	EdgeDeploymentStatuses = "deployment_statuses"
	// Table holds the table name of the deployment in the database.
	Table = "deployments"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "deployments"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
	// RepoTable is the table that holds the repo relation/edge.
	RepoTable = "deployments"
	// 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"
	// ReviewsTable is the table that holds the reviews relation/edge.
	ReviewsTable = "reviews"
	// ReviewsInverseTable is the table name for the Review entity.
	// It exists in this package in order to avoid circular dependency with the "review" package.
	ReviewsInverseTable = "reviews"
	// ReviewsColumn is the table column denoting the reviews relation/edge.
	ReviewsColumn = "deployment_id"
	// DeploymentStatusesTable is the table that holds the deployment_statuses relation/edge.
	DeploymentStatusesTable = "deployment_status"
	// DeploymentStatusesInverseTable is the table name for the DeploymentStatus entity.
	// It exists in this package in order to avoid circular dependency with the "deploymentstatus" package.
	DeploymentStatusesInverseTable = "deployment_status"
	// DeploymentStatusesColumn is the table column denoting the deployment_statuses relation/edge.
	DeploymentStatusesColumn = "deployment_id"
)
View Source
const DefaultStatus = StatusWaiting

StatusWaiting is the default value of the Status enum.

View Source
const DefaultType = TypeCommit

TypeCommit is the default value of the Type enum.

Variables

View Source
var (
	// HTMLURLValidator is a validator for the "html_url" field. It is called by the builders before save.
	HTMLURLValidator func(string) error
	// DefaultProductionEnvironment holds the default value on creation for the "production_environment" field.
	DefaultProductionEnvironment bool
	// DefaultIsRollback holds the default value on creation for the "is_rollback" field.
	DefaultIsRollback bool
	// 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 deployment fields.

Functions

func And

func And(predicates ...predicate.Deployment) predicate.Deployment

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Deployment

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Deployment

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Deployment

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Deployment

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Deployment

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Deployment

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Deployment

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

func CreatedAtNotIn

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

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

func DynamicPayloadIsNil

func DynamicPayloadIsNil() predicate.Deployment

DynamicPayloadIsNil applies the IsNil predicate on the "dynamic_payload" field.

func DynamicPayloadNotNil

func DynamicPayloadNotNil() predicate.Deployment

DynamicPayloadNotNil applies the NotNil predicate on the "dynamic_payload" field.

func Env

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

func EnvContains

func EnvContains(v string) predicate.Deployment

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

func EnvContainsFold

func EnvContainsFold(v string) predicate.Deployment

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

func EnvEQ

func EnvEQ(v string) predicate.Deployment

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

func EnvEqualFold

func EnvEqualFold(v string) predicate.Deployment

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

func EnvGT

func EnvGT(v string) predicate.Deployment

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

func EnvGTE

func EnvGTE(v string) predicate.Deployment

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

func EnvHasPrefix

func EnvHasPrefix(v string) predicate.Deployment

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

func EnvHasSuffix

func EnvHasSuffix(v string) predicate.Deployment

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

func EnvIn

func EnvIn(vs ...string) predicate.Deployment

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

func EnvLT

func EnvLT(v string) predicate.Deployment

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

func EnvLTE

func EnvLTE(v string) predicate.Deployment

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

func EnvNEQ

func EnvNEQ(v string) predicate.Deployment

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

func EnvNotIn

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

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

func HTMLURL

func HTMLURL(v string) predicate.Deployment

HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.

func HTMLURLContains

func HTMLURLContains(v string) predicate.Deployment

HTMLURLContains applies the Contains predicate on the "html_url" field.

func HTMLURLContainsFold

func HTMLURLContainsFold(v string) predicate.Deployment

HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.

func HTMLURLEQ

func HTMLURLEQ(v string) predicate.Deployment

HTMLURLEQ applies the EQ predicate on the "html_url" field.

func HTMLURLEqualFold

func HTMLURLEqualFold(v string) predicate.Deployment

HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.

func HTMLURLGT

func HTMLURLGT(v string) predicate.Deployment

HTMLURLGT applies the GT predicate on the "html_url" field.

func HTMLURLGTE

func HTMLURLGTE(v string) predicate.Deployment

HTMLURLGTE applies the GTE predicate on the "html_url" field.

func HTMLURLHasPrefix

func HTMLURLHasPrefix(v string) predicate.Deployment

HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.

func HTMLURLHasSuffix

func HTMLURLHasSuffix(v string) predicate.Deployment

HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.

func HTMLURLIn

func HTMLURLIn(vs ...string) predicate.Deployment

HTMLURLIn applies the In predicate on the "html_url" field.

func HTMLURLIsNil

func HTMLURLIsNil() predicate.Deployment

HTMLURLIsNil applies the IsNil predicate on the "html_url" field.

func HTMLURLLT

func HTMLURLLT(v string) predicate.Deployment

HTMLURLLT applies the LT predicate on the "html_url" field.

func HTMLURLLTE

func HTMLURLLTE(v string) predicate.Deployment

HTMLURLLTE applies the LTE predicate on the "html_url" field.

func HTMLURLNEQ

func HTMLURLNEQ(v string) predicate.Deployment

HTMLURLNEQ applies the NEQ predicate on the "html_url" field.

func HTMLURLNotIn

func HTMLURLNotIn(vs ...string) predicate.Deployment

HTMLURLNotIn applies the NotIn predicate on the "html_url" field.

func HTMLURLNotNil

func HTMLURLNotNil() predicate.Deployment

HTMLURLNotNil applies the NotNil predicate on the "html_url" field.

func HasDeploymentStatuses

func HasDeploymentStatuses() predicate.Deployment

HasDeploymentStatuses applies the HasEdge predicate on the "deployment_statuses" edge.

func HasDeploymentStatusesWith

func HasDeploymentStatusesWith(preds ...predicate.DeploymentStatus) predicate.Deployment

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

func HasRepo

func HasRepo() predicate.Deployment

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

func HasRepoWith

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

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

func HasReviews

func HasReviews() predicate.Deployment

HasReviews applies the HasEdge predicate on the "reviews" edge.

func HasReviewsWith

func HasReviewsWith(preds ...predicate.Review) predicate.Deployment

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

func HasUser

func HasUser() predicate.Deployment

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Deployment

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

func ID

func ID(id int) predicate.Deployment

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Deployment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Deployment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Deployment

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Deployment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Deployment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Deployment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsApprovalEnabled

func IsApprovalEnabled(v bool) predicate.Deployment

IsApprovalEnabled applies equality check predicate on the "is_approval_enabled" field. It's identical to IsApprovalEnabledEQ.

func IsApprovalEnabledEQ

func IsApprovalEnabledEQ(v bool) predicate.Deployment

IsApprovalEnabledEQ applies the EQ predicate on the "is_approval_enabled" field.

func IsApprovalEnabledIsNil

func IsApprovalEnabledIsNil() predicate.Deployment

IsApprovalEnabledIsNil applies the IsNil predicate on the "is_approval_enabled" field.

func IsApprovalEnabledNEQ

func IsApprovalEnabledNEQ(v bool) predicate.Deployment

IsApprovalEnabledNEQ applies the NEQ predicate on the "is_approval_enabled" field.

func IsApprovalEnabledNotNil

func IsApprovalEnabledNotNil() predicate.Deployment

IsApprovalEnabledNotNil applies the NotNil predicate on the "is_approval_enabled" field.

func IsRollback

func IsRollback(v bool) predicate.Deployment

IsRollback applies equality check predicate on the "is_rollback" field. It's identical to IsRollbackEQ.

func IsRollbackEQ

func IsRollbackEQ(v bool) predicate.Deployment

IsRollbackEQ applies the EQ predicate on the "is_rollback" field.

func IsRollbackNEQ

func IsRollbackNEQ(v bool) predicate.Deployment

IsRollbackNEQ applies the NEQ predicate on the "is_rollback" field.

func Not

Not applies the not operator on the given predicate.

func Number

func Number(v int) predicate.Deployment

Number applies equality check predicate on the "number" field. It's identical to NumberEQ.

func NumberEQ

func NumberEQ(v int) predicate.Deployment

NumberEQ applies the EQ predicate on the "number" field.

func NumberGT

func NumberGT(v int) predicate.Deployment

NumberGT applies the GT predicate on the "number" field.

func NumberGTE

func NumberGTE(v int) predicate.Deployment

NumberGTE applies the GTE predicate on the "number" field.

func NumberIn

func NumberIn(vs ...int) predicate.Deployment

NumberIn applies the In predicate on the "number" field.

func NumberLT

func NumberLT(v int) predicate.Deployment

NumberLT applies the LT predicate on the "number" field.

func NumberLTE

func NumberLTE(v int) predicate.Deployment

NumberLTE applies the LTE predicate on the "number" field.

func NumberNEQ

func NumberNEQ(v int) predicate.Deployment

NumberNEQ applies the NEQ predicate on the "number" field.

func NumberNotIn

func NumberNotIn(vs ...int) predicate.Deployment

NumberNotIn applies the NotIn predicate on the "number" field.

func Or

func Or(predicates ...predicate.Deployment) predicate.Deployment

Or groups predicates with the OR operator between them.

func ProductionEnvironment

func ProductionEnvironment(v bool) predicate.Deployment

ProductionEnvironment applies equality check predicate on the "production_environment" field. It's identical to ProductionEnvironmentEQ.

func ProductionEnvironmentEQ

func ProductionEnvironmentEQ(v bool) predicate.Deployment

ProductionEnvironmentEQ applies the EQ predicate on the "production_environment" field.

func ProductionEnvironmentNEQ

func ProductionEnvironmentNEQ(v bool) predicate.Deployment

ProductionEnvironmentNEQ applies the NEQ predicate on the "production_environment" field.

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

func RefContains(v string) predicate.Deployment

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.Deployment

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

func RefEQ(v string) predicate.Deployment

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.Deployment

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

func RefGT(v string) predicate.Deployment

RefGT applies the GT predicate on the "ref" field.

func RefGTE

func RefGTE(v string) predicate.Deployment

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.Deployment

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.Deployment

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

func RefIn(vs ...string) predicate.Deployment

RefIn applies the In predicate on the "ref" field.

func RefLT

func RefLT(v string) predicate.Deployment

RefLT applies the LT predicate on the "ref" field.

func RefLTE

func RefLTE(v string) predicate.Deployment

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

func RefNEQ(v string) predicate.Deployment

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.Deployment

RefNotIn applies the NotIn predicate on the "ref" field.

func RepoID

func RepoID(v int64) predicate.Deployment

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

func RepoIDEQ

func RepoIDEQ(v int64) predicate.Deployment

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

func RepoIDIn

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

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

func RepoIDNEQ

func RepoIDNEQ(v int64) predicate.Deployment

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

func RepoIDNotIn

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

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

func RequiredApprovalCount

func RequiredApprovalCount(v int) predicate.Deployment

RequiredApprovalCount applies equality check predicate on the "required_approval_count" field. It's identical to RequiredApprovalCountEQ.

func RequiredApprovalCountEQ

func RequiredApprovalCountEQ(v int) predicate.Deployment

RequiredApprovalCountEQ applies the EQ predicate on the "required_approval_count" field.

func RequiredApprovalCountGT

func RequiredApprovalCountGT(v int) predicate.Deployment

RequiredApprovalCountGT applies the GT predicate on the "required_approval_count" field.

func RequiredApprovalCountGTE

func RequiredApprovalCountGTE(v int) predicate.Deployment

RequiredApprovalCountGTE applies the GTE predicate on the "required_approval_count" field.

func RequiredApprovalCountIn

func RequiredApprovalCountIn(vs ...int) predicate.Deployment

RequiredApprovalCountIn applies the In predicate on the "required_approval_count" field.

func RequiredApprovalCountIsNil

func RequiredApprovalCountIsNil() predicate.Deployment

RequiredApprovalCountIsNil applies the IsNil predicate on the "required_approval_count" field.

func RequiredApprovalCountLT

func RequiredApprovalCountLT(v int) predicate.Deployment

RequiredApprovalCountLT applies the LT predicate on the "required_approval_count" field.

func RequiredApprovalCountLTE

func RequiredApprovalCountLTE(v int) predicate.Deployment

RequiredApprovalCountLTE applies the LTE predicate on the "required_approval_count" field.

func RequiredApprovalCountNEQ

func RequiredApprovalCountNEQ(v int) predicate.Deployment

RequiredApprovalCountNEQ applies the NEQ predicate on the "required_approval_count" field.

func RequiredApprovalCountNotIn

func RequiredApprovalCountNotIn(vs ...int) predicate.Deployment

RequiredApprovalCountNotIn applies the NotIn predicate on the "required_approval_count" field.

func RequiredApprovalCountNotNil

func RequiredApprovalCountNotNil() predicate.Deployment

RequiredApprovalCountNotNil applies the NotNil predicate on the "required_approval_count" field.

func Sha

Sha applies equality check predicate on the "sha" field. It's identical to ShaEQ.

func ShaContains

func ShaContains(v string) predicate.Deployment

ShaContains applies the Contains predicate on the "sha" field.

func ShaContainsFold

func ShaContainsFold(v string) predicate.Deployment

ShaContainsFold applies the ContainsFold predicate on the "sha" field.

func ShaEQ

func ShaEQ(v string) predicate.Deployment

ShaEQ applies the EQ predicate on the "sha" field.

func ShaEqualFold

func ShaEqualFold(v string) predicate.Deployment

ShaEqualFold applies the EqualFold predicate on the "sha" field.

func ShaGT

func ShaGT(v string) predicate.Deployment

ShaGT applies the GT predicate on the "sha" field.

func ShaGTE

func ShaGTE(v string) predicate.Deployment

ShaGTE applies the GTE predicate on the "sha" field.

func ShaHasPrefix

func ShaHasPrefix(v string) predicate.Deployment

ShaHasPrefix applies the HasPrefix predicate on the "sha" field.

func ShaHasSuffix

func ShaHasSuffix(v string) predicate.Deployment

ShaHasSuffix applies the HasSuffix predicate on the "sha" field.

func ShaIn

func ShaIn(vs ...string) predicate.Deployment

ShaIn applies the In predicate on the "sha" field.

func ShaIsNil

func ShaIsNil() predicate.Deployment

ShaIsNil applies the IsNil predicate on the "sha" field.

func ShaLT

func ShaLT(v string) predicate.Deployment

ShaLT applies the LT predicate on the "sha" field.

func ShaLTE

func ShaLTE(v string) predicate.Deployment

ShaLTE applies the LTE predicate on the "sha" field.

func ShaNEQ

func ShaNEQ(v string) predicate.Deployment

ShaNEQ applies the NEQ predicate on the "sha" field.

func ShaNotIn

func ShaNotIn(vs ...string) predicate.Deployment

ShaNotIn applies the NotIn predicate on the "sha" field.

func ShaNotNil

func ShaNotNil() predicate.Deployment

ShaNotNil applies the NotNil predicate on the "sha" field.

func StatusEQ

func StatusEQ(v Status) predicate.Deployment

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...Status) predicate.Deployment

StatusIn applies the In predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v Status) predicate.Deployment

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...Status) predicate.Deployment

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusValidator

func StatusValidator(s Status) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func TypeEQ

func TypeEQ(v Type) predicate.Deployment

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.Deployment

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v Type) predicate.Deployment

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.Deployment

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.

func UID

func UID(v int64) predicate.Deployment

UID applies equality check predicate on the "uid" field. It's identical to UIDEQ.

func UIDEQ

func UIDEQ(v int64) predicate.Deployment

UIDEQ applies the EQ predicate on the "uid" field.

func UIDGT

func UIDGT(v int64) predicate.Deployment

UIDGT applies the GT predicate on the "uid" field.

func UIDGTE

func UIDGTE(v int64) predicate.Deployment

UIDGTE applies the GTE predicate on the "uid" field.

func UIDIn

func UIDIn(vs ...int64) predicate.Deployment

UIDIn applies the In predicate on the "uid" field.

func UIDIsNil

func UIDIsNil() predicate.Deployment

UIDIsNil applies the IsNil predicate on the "uid" field.

func UIDLT

func UIDLT(v int64) predicate.Deployment

UIDLT applies the LT predicate on the "uid" field.

func UIDLTE

func UIDLTE(v int64) predicate.Deployment

UIDLTE applies the LTE predicate on the "uid" field.

func UIDNEQ

func UIDNEQ(v int64) predicate.Deployment

UIDNEQ applies the NEQ predicate on the "uid" field.

func UIDNotIn

func UIDNotIn(vs ...int64) predicate.Deployment

UIDNotIn applies the NotIn predicate on the "uid" field.

func UIDNotNil

func UIDNotNil() predicate.Deployment

UIDNotNil applies the NotNil predicate on the "uid" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Deployment

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Deployment

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Deployment

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Deployment

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Deployment

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Deployment

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Deployment

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

func UpdatedAtNotIn

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

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

func UserID

func UserID(v int64) predicate.Deployment

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int64) predicate.Deployment

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int64) predicate.Deployment

UserIDIn applies the In predicate on the "user_id" field.

func UserIDIsNil

func UserIDIsNil() predicate.Deployment

UserIDIsNil applies the IsNil predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int64) predicate.Deployment

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int64) predicate.Deployment

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserIDNotNil

func UserIDNotNil() predicate.Deployment

UserIDNotNil applies the NotNil predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type Status

type Status string

Status defines the type for the "status" enum field.

const (
	StatusWaiting  Status = "waiting"
	StatusCreated  Status = "created"
	StatusQueued   Status = "queued"
	StatusRunning  Status = "running"
	StatusSuccess  Status = "success"
	StatusFailure  Status = "failure"
	StatusCanceled Status = "canceled"
)

Status values.

func (Status) String

func (s Status) String() string

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeCommit Type = "commit"
	TypeBranch Type = "branch"
	TypeTag    Type = "tag"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

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