deployment

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 7 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"
	// 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"
	// FieldServiceID holds the string denoting the service_id field in the database.
	FieldServiceID = "service_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldError holds the string denoting the error field in the database.
	FieldError = "error"
	// FieldCommitSha holds the string denoting the commit_sha field in the database.
	FieldCommitSha = "commit_sha"
	// FieldCommitMessage holds the string denoting the commit_message field in the database.
	FieldCommitMessage = "commit_message"
	// FieldCommitAuthor holds the string denoting the commit_author field in the database.
	FieldCommitAuthor = "commit_author"
	// FieldQueuedAt holds the string denoting the queued_at field in the database.
	FieldQueuedAt = "queued_at"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// FieldKubernetesJobName holds the string denoting the kubernetes_job_name field in the database.
	FieldKubernetesJobName = "kubernetes_job_name"
	// FieldKubernetesJobStatus holds the string denoting the kubernetes_job_status field in the database.
	FieldKubernetesJobStatus = "kubernetes_job_status"
	// FieldAttempts holds the string denoting the attempts field in the database.
	FieldAttempts = "attempts"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldResourceDefinition holds the string denoting the resource_definition field in the database.
	FieldResourceDefinition = "resource_definition"
	// EdgeService holds the string denoting the service edge name in mutations.
	EdgeService = "service"
	// Table holds the table name of the deployment in the database.
	Table = "deployments"
	// ServiceTable is the table that holds the service relation/edge.
	ServiceTable = "deployments"
	// ServiceInverseTable is the table name for the Service entity.
	// It exists in this package in order to avoid circular dependency with the "service" package.
	ServiceInverseTable = "services"
	// ServiceColumn is the table column denoting the service relation/edge.
	ServiceColumn = "service_id"
)
View Source
const DefaultSource schema.DeploymentSource = "manual"

Variables

View Source
var (
	// 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
	// DefaultAttempts holds the default value on creation for the "attempts" field.
	DefaultAttempts int
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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 Attempts

func Attempts(v int) predicate.Deployment

Attempts applies equality check predicate on the "attempts" field. It's identical to AttemptsEQ.

func AttemptsEQ

func AttemptsEQ(v int) predicate.Deployment

AttemptsEQ applies the EQ predicate on the "attempts" field.

func AttemptsGT

func AttemptsGT(v int) predicate.Deployment

AttemptsGT applies the GT predicate on the "attempts" field.

func AttemptsGTE

func AttemptsGTE(v int) predicate.Deployment

AttemptsGTE applies the GTE predicate on the "attempts" field.

func AttemptsIn

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

AttemptsIn applies the In predicate on the "attempts" field.

func AttemptsLT

func AttemptsLT(v int) predicate.Deployment

AttemptsLT applies the LT predicate on the "attempts" field.

func AttemptsLTE

func AttemptsLTE(v int) predicate.Deployment

AttemptsLTE applies the LTE predicate on the "attempts" field.

func AttemptsNEQ

func AttemptsNEQ(v int) predicate.Deployment

AttemptsNEQ applies the NEQ predicate on the "attempts" field.

func AttemptsNotIn

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

AttemptsNotIn applies the NotIn predicate on the "attempts" field.

func CommitAuthorIsNil

func CommitAuthorIsNil() predicate.Deployment

CommitAuthorIsNil applies the IsNil predicate on the "commit_author" field.

func CommitAuthorNotNil

func CommitAuthorNotNil() predicate.Deployment

CommitAuthorNotNil applies the NotNil predicate on the "commit_author" field.

func CommitMessage

func CommitMessage(v string) predicate.Deployment

CommitMessage applies equality check predicate on the "commit_message" field. It's identical to CommitMessageEQ.

func CommitMessageContains

func CommitMessageContains(v string) predicate.Deployment

CommitMessageContains applies the Contains predicate on the "commit_message" field.

func CommitMessageContainsFold

func CommitMessageContainsFold(v string) predicate.Deployment

CommitMessageContainsFold applies the ContainsFold predicate on the "commit_message" field.

func CommitMessageEQ

func CommitMessageEQ(v string) predicate.Deployment

CommitMessageEQ applies the EQ predicate on the "commit_message" field.

func CommitMessageEqualFold

func CommitMessageEqualFold(v string) predicate.Deployment

CommitMessageEqualFold applies the EqualFold predicate on the "commit_message" field.

func CommitMessageGT

func CommitMessageGT(v string) predicate.Deployment

CommitMessageGT applies the GT predicate on the "commit_message" field.

func CommitMessageGTE

func CommitMessageGTE(v string) predicate.Deployment

CommitMessageGTE applies the GTE predicate on the "commit_message" field.

func CommitMessageHasPrefix

func CommitMessageHasPrefix(v string) predicate.Deployment

CommitMessageHasPrefix applies the HasPrefix predicate on the "commit_message" field.

func CommitMessageHasSuffix

func CommitMessageHasSuffix(v string) predicate.Deployment

CommitMessageHasSuffix applies the HasSuffix predicate on the "commit_message" field.

func CommitMessageIn

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

CommitMessageIn applies the In predicate on the "commit_message" field.

func CommitMessageIsNil

func CommitMessageIsNil() predicate.Deployment

CommitMessageIsNil applies the IsNil predicate on the "commit_message" field.

func CommitMessageLT

func CommitMessageLT(v string) predicate.Deployment

CommitMessageLT applies the LT predicate on the "commit_message" field.

func CommitMessageLTE

func CommitMessageLTE(v string) predicate.Deployment

CommitMessageLTE applies the LTE predicate on the "commit_message" field.

func CommitMessageNEQ

func CommitMessageNEQ(v string) predicate.Deployment

CommitMessageNEQ applies the NEQ predicate on the "commit_message" field.

func CommitMessageNotIn

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

CommitMessageNotIn applies the NotIn predicate on the "commit_message" field.

func CommitMessageNotNil

func CommitMessageNotNil() predicate.Deployment

CommitMessageNotNil applies the NotNil predicate on the "commit_message" field.

func CommitSha

func CommitSha(v string) predicate.Deployment

CommitSha applies equality check predicate on the "commit_sha" field. It's identical to CommitShaEQ.

func CommitShaContains

func CommitShaContains(v string) predicate.Deployment

CommitShaContains applies the Contains predicate on the "commit_sha" field.

func CommitShaContainsFold

func CommitShaContainsFold(v string) predicate.Deployment

CommitShaContainsFold applies the ContainsFold predicate on the "commit_sha" field.

func CommitShaEQ

func CommitShaEQ(v string) predicate.Deployment

CommitShaEQ applies the EQ predicate on the "commit_sha" field.

func CommitShaEqualFold

func CommitShaEqualFold(v string) predicate.Deployment

CommitShaEqualFold applies the EqualFold predicate on the "commit_sha" field.

func CommitShaGT

func CommitShaGT(v string) predicate.Deployment

CommitShaGT applies the GT predicate on the "commit_sha" field.

func CommitShaGTE

func CommitShaGTE(v string) predicate.Deployment

CommitShaGTE applies the GTE predicate on the "commit_sha" field.

func CommitShaHasPrefix

func CommitShaHasPrefix(v string) predicate.Deployment

CommitShaHasPrefix applies the HasPrefix predicate on the "commit_sha" field.

func CommitShaHasSuffix

func CommitShaHasSuffix(v string) predicate.Deployment

CommitShaHasSuffix applies the HasSuffix predicate on the "commit_sha" field.

func CommitShaIn

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

CommitShaIn applies the In predicate on the "commit_sha" field.

func CommitShaIsNil

func CommitShaIsNil() predicate.Deployment

CommitShaIsNil applies the IsNil predicate on the "commit_sha" field.

func CommitShaLT

func CommitShaLT(v string) predicate.Deployment

CommitShaLT applies the LT predicate on the "commit_sha" field.

func CommitShaLTE

func CommitShaLTE(v string) predicate.Deployment

CommitShaLTE applies the LTE predicate on the "commit_sha" field.

func CommitShaNEQ

func CommitShaNEQ(v string) predicate.Deployment

CommitShaNEQ applies the NEQ predicate on the "commit_sha" field.

func CommitShaNotIn

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

CommitShaNotIn applies the NotIn predicate on the "commit_sha" field.

func CommitShaNotNil

func CommitShaNotNil() predicate.Deployment

CommitShaNotNil applies the NotNil predicate on the "commit_sha" field.

func CompletedAt

func CompletedAt(v time.Time) predicate.Deployment

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.Deployment

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.Deployment

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.Deployment

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

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

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.Deployment

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.Deployment

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.Deployment

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.Deployment

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

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

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.Deployment

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

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 Error

func Error(v string) predicate.Deployment

Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.

func ErrorContains

func ErrorContains(v string) predicate.Deployment

ErrorContains applies the Contains predicate on the "error" field.

func ErrorContainsFold

func ErrorContainsFold(v string) predicate.Deployment

ErrorContainsFold applies the ContainsFold predicate on the "error" field.

func ErrorEQ

func ErrorEQ(v string) predicate.Deployment

ErrorEQ applies the EQ predicate on the "error" field.

func ErrorEqualFold

func ErrorEqualFold(v string) predicate.Deployment

ErrorEqualFold applies the EqualFold predicate on the "error" field.

func ErrorGT

func ErrorGT(v string) predicate.Deployment

ErrorGT applies the GT predicate on the "error" field.

func ErrorGTE

func ErrorGTE(v string) predicate.Deployment

ErrorGTE applies the GTE predicate on the "error" field.

func ErrorHasPrefix

func ErrorHasPrefix(v string) predicate.Deployment

ErrorHasPrefix applies the HasPrefix predicate on the "error" field.

func ErrorHasSuffix

func ErrorHasSuffix(v string) predicate.Deployment

ErrorHasSuffix applies the HasSuffix predicate on the "error" field.

func ErrorIn

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

ErrorIn applies the In predicate on the "error" field.

func ErrorIsNil

func ErrorIsNil() predicate.Deployment

ErrorIsNil applies the IsNil predicate on the "error" field.

func ErrorLT

func ErrorLT(v string) predicate.Deployment

ErrorLT applies the LT predicate on the "error" field.

func ErrorLTE

func ErrorLTE(v string) predicate.Deployment

ErrorLTE applies the LTE predicate on the "error" field.

func ErrorNEQ

func ErrorNEQ(v string) predicate.Deployment

ErrorNEQ applies the NEQ predicate on the "error" field.

func ErrorNotIn

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

ErrorNotIn applies the NotIn predicate on the "error" field.

func ErrorNotNil

func ErrorNotNil() predicate.Deployment

ErrorNotNil applies the NotNil predicate on the "error" field.

func HasService

func HasService() predicate.Deployment

HasService applies the HasEdge predicate on the "service" edge.

func HasServiceWith

func HasServiceWith(preds ...predicate.Service) predicate.Deployment

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Deployment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Deployment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Deployment

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Deployment

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Deployment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Deployment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Deployment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Deployment

IDNotIn applies the NotIn predicate on the ID field.

func Image

func Image(v string) predicate.Deployment

Image applies equality check predicate on the "image" field. It's identical to ImageEQ.

func ImageContains

func ImageContains(v string) predicate.Deployment

ImageContains applies the Contains predicate on the "image" field.

func ImageContainsFold

func ImageContainsFold(v string) predicate.Deployment

ImageContainsFold applies the ContainsFold predicate on the "image" field.

func ImageEQ

func ImageEQ(v string) predicate.Deployment

ImageEQ applies the EQ predicate on the "image" field.

func ImageEqualFold

func ImageEqualFold(v string) predicate.Deployment

ImageEqualFold applies the EqualFold predicate on the "image" field.

func ImageGT

func ImageGT(v string) predicate.Deployment

ImageGT applies the GT predicate on the "image" field.

func ImageGTE

func ImageGTE(v string) predicate.Deployment

ImageGTE applies the GTE predicate on the "image" field.

func ImageHasPrefix

func ImageHasPrefix(v string) predicate.Deployment

ImageHasPrefix applies the HasPrefix predicate on the "image" field.

func ImageHasSuffix

func ImageHasSuffix(v string) predicate.Deployment

ImageHasSuffix applies the HasSuffix predicate on the "image" field.

func ImageIn

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

ImageIn applies the In predicate on the "image" field.

func ImageIsNil

func ImageIsNil() predicate.Deployment

ImageIsNil applies the IsNil predicate on the "image" field.

func ImageLT

func ImageLT(v string) predicate.Deployment

ImageLT applies the LT predicate on the "image" field.

func ImageLTE

func ImageLTE(v string) predicate.Deployment

ImageLTE applies the LTE predicate on the "image" field.

func ImageNEQ

func ImageNEQ(v string) predicate.Deployment

ImageNEQ applies the NEQ predicate on the "image" field.

func ImageNotIn

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

ImageNotIn applies the NotIn predicate on the "image" field.

func ImageNotNil

func ImageNotNil() predicate.Deployment

ImageNotNil applies the NotNil predicate on the "image" field.

func KubernetesJobName

func KubernetesJobName(v string) predicate.Deployment

KubernetesJobName applies equality check predicate on the "kubernetes_job_name" field. It's identical to KubernetesJobNameEQ.

func KubernetesJobNameContains

func KubernetesJobNameContains(v string) predicate.Deployment

KubernetesJobNameContains applies the Contains predicate on the "kubernetes_job_name" field.

func KubernetesJobNameContainsFold

func KubernetesJobNameContainsFold(v string) predicate.Deployment

KubernetesJobNameContainsFold applies the ContainsFold predicate on the "kubernetes_job_name" field.

func KubernetesJobNameEQ

func KubernetesJobNameEQ(v string) predicate.Deployment

KubernetesJobNameEQ applies the EQ predicate on the "kubernetes_job_name" field.

func KubernetesJobNameEqualFold

func KubernetesJobNameEqualFold(v string) predicate.Deployment

KubernetesJobNameEqualFold applies the EqualFold predicate on the "kubernetes_job_name" field.

func KubernetesJobNameGT

func KubernetesJobNameGT(v string) predicate.Deployment

KubernetesJobNameGT applies the GT predicate on the "kubernetes_job_name" field.

func KubernetesJobNameGTE

func KubernetesJobNameGTE(v string) predicate.Deployment

KubernetesJobNameGTE applies the GTE predicate on the "kubernetes_job_name" field.

func KubernetesJobNameHasPrefix

func KubernetesJobNameHasPrefix(v string) predicate.Deployment

KubernetesJobNameHasPrefix applies the HasPrefix predicate on the "kubernetes_job_name" field.

func KubernetesJobNameHasSuffix

func KubernetesJobNameHasSuffix(v string) predicate.Deployment

KubernetesJobNameHasSuffix applies the HasSuffix predicate on the "kubernetes_job_name" field.

func KubernetesJobNameIn

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

KubernetesJobNameIn applies the In predicate on the "kubernetes_job_name" field.

func KubernetesJobNameIsNil

func KubernetesJobNameIsNil() predicate.Deployment

KubernetesJobNameIsNil applies the IsNil predicate on the "kubernetes_job_name" field.

func KubernetesJobNameLT

func KubernetesJobNameLT(v string) predicate.Deployment

KubernetesJobNameLT applies the LT predicate on the "kubernetes_job_name" field.

func KubernetesJobNameLTE

func KubernetesJobNameLTE(v string) predicate.Deployment

KubernetesJobNameLTE applies the LTE predicate on the "kubernetes_job_name" field.

func KubernetesJobNameNEQ

func KubernetesJobNameNEQ(v string) predicate.Deployment

KubernetesJobNameNEQ applies the NEQ predicate on the "kubernetes_job_name" field.

func KubernetesJobNameNotIn

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

KubernetesJobNameNotIn applies the NotIn predicate on the "kubernetes_job_name" field.

func KubernetesJobNameNotNil

func KubernetesJobNameNotNil() predicate.Deployment

KubernetesJobNameNotNil applies the NotNil predicate on the "kubernetes_job_name" field.

func KubernetesJobStatus

func KubernetesJobStatus(v string) predicate.Deployment

KubernetesJobStatus applies equality check predicate on the "kubernetes_job_status" field. It's identical to KubernetesJobStatusEQ.

func KubernetesJobStatusContains

func KubernetesJobStatusContains(v string) predicate.Deployment

KubernetesJobStatusContains applies the Contains predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusContainsFold

func KubernetesJobStatusContainsFold(v string) predicate.Deployment

KubernetesJobStatusContainsFold applies the ContainsFold predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusEQ

func KubernetesJobStatusEQ(v string) predicate.Deployment

KubernetesJobStatusEQ applies the EQ predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusEqualFold

func KubernetesJobStatusEqualFold(v string) predicate.Deployment

KubernetesJobStatusEqualFold applies the EqualFold predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusGT

func KubernetesJobStatusGT(v string) predicate.Deployment

KubernetesJobStatusGT applies the GT predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusGTE

func KubernetesJobStatusGTE(v string) predicate.Deployment

KubernetesJobStatusGTE applies the GTE predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusHasPrefix

func KubernetesJobStatusHasPrefix(v string) predicate.Deployment

KubernetesJobStatusHasPrefix applies the HasPrefix predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusHasSuffix

func KubernetesJobStatusHasSuffix(v string) predicate.Deployment

KubernetesJobStatusHasSuffix applies the HasSuffix predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusIn

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

KubernetesJobStatusIn applies the In predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusIsNil

func KubernetesJobStatusIsNil() predicate.Deployment

KubernetesJobStatusIsNil applies the IsNil predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusLT

func KubernetesJobStatusLT(v string) predicate.Deployment

KubernetesJobStatusLT applies the LT predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusLTE

func KubernetesJobStatusLTE(v string) predicate.Deployment

KubernetesJobStatusLTE applies the LTE predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusNEQ

func KubernetesJobStatusNEQ(v string) predicate.Deployment

KubernetesJobStatusNEQ applies the NEQ predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusNotIn

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

KubernetesJobStatusNotIn applies the NotIn predicate on the "kubernetes_job_status" field.

func KubernetesJobStatusNotNil

func KubernetesJobStatusNotNil() predicate.Deployment

KubernetesJobStatusNotNil applies the NotNil predicate on the "kubernetes_job_status" field.

func Not

Not applies the not operator on the given predicate.

func Or

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

Or groups predicates with the OR operator between them.

func QueuedAt

func QueuedAt(v time.Time) predicate.Deployment

QueuedAt applies equality check predicate on the "queued_at" field. It's identical to QueuedAtEQ.

func QueuedAtEQ

func QueuedAtEQ(v time.Time) predicate.Deployment

QueuedAtEQ applies the EQ predicate on the "queued_at" field.

func QueuedAtGT

func QueuedAtGT(v time.Time) predicate.Deployment

QueuedAtGT applies the GT predicate on the "queued_at" field.

func QueuedAtGTE

func QueuedAtGTE(v time.Time) predicate.Deployment

QueuedAtGTE applies the GTE predicate on the "queued_at" field.

func QueuedAtIn

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

QueuedAtIn applies the In predicate on the "queued_at" field.

func QueuedAtIsNil

func QueuedAtIsNil() predicate.Deployment

QueuedAtIsNil applies the IsNil predicate on the "queued_at" field.

func QueuedAtLT

func QueuedAtLT(v time.Time) predicate.Deployment

QueuedAtLT applies the LT predicate on the "queued_at" field.

func QueuedAtLTE

func QueuedAtLTE(v time.Time) predicate.Deployment

QueuedAtLTE applies the LTE predicate on the "queued_at" field.

func QueuedAtNEQ

func QueuedAtNEQ(v time.Time) predicate.Deployment

QueuedAtNEQ applies the NEQ predicate on the "queued_at" field.

func QueuedAtNotIn

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

QueuedAtNotIn applies the NotIn predicate on the "queued_at" field.

func QueuedAtNotNil

func QueuedAtNotNil() predicate.Deployment

QueuedAtNotNil applies the NotNil predicate on the "queued_at" field.

func ResourceDefinitionIsNil

func ResourceDefinitionIsNil() predicate.Deployment

ResourceDefinitionIsNil applies the IsNil predicate on the "resource_definition" field.

func ResourceDefinitionNotNil

func ResourceDefinitionNotNil() predicate.Deployment

ResourceDefinitionNotNil applies the NotNil predicate on the "resource_definition" field.

func ServiceID

func ServiceID(v uuid.UUID) predicate.Deployment

ServiceID applies equality check predicate on the "service_id" field. It's identical to ServiceIDEQ.

func ServiceIDEQ

func ServiceIDEQ(v uuid.UUID) predicate.Deployment

ServiceIDEQ applies the EQ predicate on the "service_id" field.

func ServiceIDIn

func ServiceIDIn(vs ...uuid.UUID) predicate.Deployment

ServiceIDIn applies the In predicate on the "service_id" field.

func ServiceIDNEQ

func ServiceIDNEQ(v uuid.UUID) predicate.Deployment

ServiceIDNEQ applies the NEQ predicate on the "service_id" field.

func ServiceIDNotIn

func ServiceIDNotIn(vs ...uuid.UUID) predicate.Deployment

ServiceIDNotIn applies the NotIn predicate on the "service_id" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...schema.DeploymentSource) predicate.Deployment

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceValidator

func SourceValidator(s schema.DeploymentSource) error

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

func StartedAt

func StartedAt(v time.Time) predicate.Deployment

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.Deployment

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.Deployment

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.Deployment

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

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

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtIsNil

func StartedAtIsNil() predicate.Deployment

StartedAtIsNil applies the IsNil predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.Deployment

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.Deployment

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.Deployment

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

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

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StartedAtNotNil

func StartedAtNotNil() predicate.Deployment

StartedAtNotNil applies the NotNil predicate on the "started_at" field.

func StatusEQ

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

func StatusIn

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

func StatusNEQ

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

func StatusNotIn

func StatusNotIn(vs ...schema.DeploymentStatus) predicate.Deployment

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

func StatusValidator

func StatusValidator(s schema.DeploymentStatus) error

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

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 ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Deployment queries.

func ByAttempts

func ByAttempts(opts ...sql.OrderTermOption) OrderOption

ByAttempts orders the results by the attempts field.

func ByCommitMessage

func ByCommitMessage(opts ...sql.OrderTermOption) OrderOption

ByCommitMessage orders the results by the commit_message field.

func ByCommitSha

func ByCommitSha(opts ...sql.OrderTermOption) OrderOption

ByCommitSha orders the results by the commit_sha field.

func ByCompletedAt

func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption

ByCompletedAt orders the results by the completed_at field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByError

func ByError(opts ...sql.OrderTermOption) OrderOption

ByError orders the results by the error field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByImage

func ByImage(opts ...sql.OrderTermOption) OrderOption

ByImage orders the results by the image field.

func ByKubernetesJobName

func ByKubernetesJobName(opts ...sql.OrderTermOption) OrderOption

ByKubernetesJobName orders the results by the kubernetes_job_name field.

func ByKubernetesJobStatus

func ByKubernetesJobStatus(opts ...sql.OrderTermOption) OrderOption

ByKubernetesJobStatus orders the results by the kubernetes_job_status field.

func ByQueuedAt

func ByQueuedAt(opts ...sql.OrderTermOption) OrderOption

ByQueuedAt orders the results by the queued_at field.

func ByServiceField

func ByServiceField(field string, opts ...sql.OrderTermOption) OrderOption

ByServiceField orders the results by service field.

func ByServiceID

func ByServiceID(opts ...sql.OrderTermOption) OrderOption

ByServiceID orders the results by the service_id field.

func BySource

func BySource(opts ...sql.OrderTermOption) OrderOption

BySource orders the results by the source field.

func ByStartedAt

func ByStartedAt(opts ...sql.OrderTermOption) OrderOption

ByStartedAt orders the results by the started_at field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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