service

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the service type in the database.
	Label = "service"
	// 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"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldKubernetesName holds the string denoting the kubernetes_name field in the database.
	FieldKubernetesName = "kubernetes_name"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldDetectedPorts holds the string denoting the detected_ports field in the database.
	FieldDetectedPorts = "detected_ports"
	// FieldDatabase holds the string denoting the database field in the database.
	FieldDatabase = "database"
	// FieldDatabaseVersion holds the string denoting the database_version field in the database.
	FieldDatabaseVersion = "database_version"
	// FieldGithubInstallationID holds the string denoting the github_installation_id field in the database.
	FieldGithubInstallationID = "github_installation_id"
	// FieldGitRepositoryOwner holds the string denoting the git_repository_owner field in the database.
	FieldGitRepositoryOwner = "git_repository_owner"
	// FieldGitRepository holds the string denoting the git_repository field in the database.
	FieldGitRepository = "git_repository"
	// FieldKubernetesSecret holds the string denoting the kubernetes_secret field in the database.
	FieldKubernetesSecret = "kubernetes_secret"
	// FieldCurrentDeploymentID holds the string denoting the current_deployment_id field in the database.
	FieldCurrentDeploymentID = "current_deployment_id"
	// FieldTemplateID holds the string denoting the template_id field in the database.
	FieldTemplateID = "template_id"
	// FieldTemplateInstanceID holds the string denoting the template_instance_id field in the database.
	FieldTemplateInstanceID = "template_instance_id"
	// FieldServiceGroupID holds the string denoting the service_group_id field in the database.
	FieldServiceGroupID = "service_group_id"
	// EdgeEnvironment holds the string denoting the environment edge name in mutations.
	EdgeEnvironment = "environment"
	// EdgeGithubInstallation holds the string denoting the github_installation edge name in mutations.
	EdgeGithubInstallation = "github_installation"
	// EdgeServiceConfig holds the string denoting the service_config edge name in mutations.
	EdgeServiceConfig = "service_config"
	// EdgeDeployments holds the string denoting the deployments edge name in mutations.
	EdgeDeployments = "deployments"
	// EdgeCurrentDeployment holds the string denoting the current_deployment edge name in mutations.
	EdgeCurrentDeployment = "current_deployment"
	// EdgeTemplate holds the string denoting the template edge name in mutations.
	EdgeTemplate = "template"
	// EdgeServiceGroup holds the string denoting the service_group edge name in mutations.
	EdgeServiceGroup = "service_group"
	// EdgeVariableReferences holds the string denoting the variable_references edge name in mutations.
	EdgeVariableReferences = "variable_references"
	// Table holds the table name of the service in the database.
	Table = "services"
	// EnvironmentTable is the table that holds the environment relation/edge.
	EnvironmentTable = "services"
	// EnvironmentInverseTable is the table name for the Environment entity.
	// It exists in this package in order to avoid circular dependency with the "environment" package.
	EnvironmentInverseTable = "environments"
	// EnvironmentColumn is the table column denoting the environment relation/edge.
	EnvironmentColumn = "environment_id"
	// GithubInstallationTable is the table that holds the github_installation relation/edge.
	GithubInstallationTable = "services"
	// GithubInstallationInverseTable is the table name for the GithubInstallation entity.
	// It exists in this package in order to avoid circular dependency with the "githubinstallation" package.
	GithubInstallationInverseTable = "github_installations"
	// GithubInstallationColumn is the table column denoting the github_installation relation/edge.
	GithubInstallationColumn = "github_installation_id"
	// ServiceConfigTable is the table that holds the service_config relation/edge.
	ServiceConfigTable = "service_configs"
	// ServiceConfigInverseTable is the table name for the ServiceConfig entity.
	// It exists in this package in order to avoid circular dependency with the "serviceconfig" package.
	ServiceConfigInverseTable = "service_configs"
	// ServiceConfigColumn is the table column denoting the service_config relation/edge.
	ServiceConfigColumn = "service_id"
	// DeploymentsTable is the table that holds the deployments relation/edge.
	DeploymentsTable = "deployments"
	// DeploymentsInverseTable is the table name for the Deployment entity.
	// It exists in this package in order to avoid circular dependency with the "deployment" package.
	DeploymentsInverseTable = "deployments"
	// DeploymentsColumn is the table column denoting the deployments relation/edge.
	DeploymentsColumn = "service_id"
	// CurrentDeploymentTable is the table that holds the current_deployment relation/edge.
	CurrentDeploymentTable = "services"
	// CurrentDeploymentInverseTable is the table name for the Deployment entity.
	// It exists in this package in order to avoid circular dependency with the "deployment" package.
	CurrentDeploymentInverseTable = "deployments"
	// CurrentDeploymentColumn is the table column denoting the current_deployment relation/edge.
	CurrentDeploymentColumn = "current_deployment_id"
	// TemplateTable is the table that holds the template relation/edge.
	TemplateTable = "services"
	// TemplateInverseTable is the table name for the Template entity.
	// It exists in this package in order to avoid circular dependency with the "template" package.
	TemplateInverseTable = "templates"
	// TemplateColumn is the table column denoting the template relation/edge.
	TemplateColumn = "template_id"
	// ServiceGroupTable is the table that holds the service_group relation/edge.
	ServiceGroupTable = "services"
	// ServiceGroupInverseTable is the table name for the ServiceGroup entity.
	// It exists in this package in order to avoid circular dependency with the "servicegroup" package.
	ServiceGroupInverseTable = "service_groups"
	// ServiceGroupColumn is the table column denoting the service_group relation/edge.
	ServiceGroupColumn = "service_group_id"
	// VariableReferencesTable is the table that holds the variable_references relation/edge.
	VariableReferencesTable = "variable_references"
	// VariableReferencesInverseTable is the table name for the VariableReference entity.
	// It exists in this package in order to avoid circular dependency with the "variablereference" package.
	VariableReferencesInverseTable = "variable_references"
	// VariableReferencesColumn is the table column denoting the variable_references relation/edge.
	VariableReferencesColumn = "target_service_id"
)

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
	// KubernetesNameValidator is a validator for the "kubernetes_name" field. It is called by the builders before save.
	KubernetesNameValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for service fields.

Functions

func And

func And(predicates ...predicate.Service) predicate.Service

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Service

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Service

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Service

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Service

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Service

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Service

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Service

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

func CreatedAtNotIn

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

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

func CurrentDeploymentID

func CurrentDeploymentID(v uuid.UUID) predicate.Service

CurrentDeploymentID applies equality check predicate on the "current_deployment_id" field. It's identical to CurrentDeploymentIDEQ.

func CurrentDeploymentIDEQ

func CurrentDeploymentIDEQ(v uuid.UUID) predicate.Service

CurrentDeploymentIDEQ applies the EQ predicate on the "current_deployment_id" field.

func CurrentDeploymentIDIn

func CurrentDeploymentIDIn(vs ...uuid.UUID) predicate.Service

CurrentDeploymentIDIn applies the In predicate on the "current_deployment_id" field.

func CurrentDeploymentIDIsNil

func CurrentDeploymentIDIsNil() predicate.Service

CurrentDeploymentIDIsNil applies the IsNil predicate on the "current_deployment_id" field.

func CurrentDeploymentIDNEQ

func CurrentDeploymentIDNEQ(v uuid.UUID) predicate.Service

CurrentDeploymentIDNEQ applies the NEQ predicate on the "current_deployment_id" field.

func CurrentDeploymentIDNotIn

func CurrentDeploymentIDNotIn(vs ...uuid.UUID) predicate.Service

CurrentDeploymentIDNotIn applies the NotIn predicate on the "current_deployment_id" field.

func CurrentDeploymentIDNotNil

func CurrentDeploymentIDNotNil() predicate.Service

CurrentDeploymentIDNotNil applies the NotNil predicate on the "current_deployment_id" field.

func Database

func Database(v string) predicate.Service

Database applies equality check predicate on the "database" field. It's identical to DatabaseEQ.

func DatabaseContains

func DatabaseContains(v string) predicate.Service

DatabaseContains applies the Contains predicate on the "database" field.

func DatabaseContainsFold

func DatabaseContainsFold(v string) predicate.Service

DatabaseContainsFold applies the ContainsFold predicate on the "database" field.

func DatabaseEQ

func DatabaseEQ(v string) predicate.Service

DatabaseEQ applies the EQ predicate on the "database" field.

func DatabaseEqualFold

func DatabaseEqualFold(v string) predicate.Service

DatabaseEqualFold applies the EqualFold predicate on the "database" field.

func DatabaseGT

func DatabaseGT(v string) predicate.Service

DatabaseGT applies the GT predicate on the "database" field.

func DatabaseGTE

func DatabaseGTE(v string) predicate.Service

DatabaseGTE applies the GTE predicate on the "database" field.

func DatabaseHasPrefix

func DatabaseHasPrefix(v string) predicate.Service

DatabaseHasPrefix applies the HasPrefix predicate on the "database" field.

func DatabaseHasSuffix

func DatabaseHasSuffix(v string) predicate.Service

DatabaseHasSuffix applies the HasSuffix predicate on the "database" field.

func DatabaseIn

func DatabaseIn(vs ...string) predicate.Service

DatabaseIn applies the In predicate on the "database" field.

func DatabaseIsNil

func DatabaseIsNil() predicate.Service

DatabaseIsNil applies the IsNil predicate on the "database" field.

func DatabaseLT

func DatabaseLT(v string) predicate.Service

DatabaseLT applies the LT predicate on the "database" field.

func DatabaseLTE

func DatabaseLTE(v string) predicate.Service

DatabaseLTE applies the LTE predicate on the "database" field.

func DatabaseNEQ

func DatabaseNEQ(v string) predicate.Service

DatabaseNEQ applies the NEQ predicate on the "database" field.

func DatabaseNotIn

func DatabaseNotIn(vs ...string) predicate.Service

DatabaseNotIn applies the NotIn predicate on the "database" field.

func DatabaseNotNil

func DatabaseNotNil() predicate.Service

DatabaseNotNil applies the NotNil predicate on the "database" field.

func DatabaseVersion

func DatabaseVersion(v string) predicate.Service

DatabaseVersion applies equality check predicate on the "database_version" field. It's identical to DatabaseVersionEQ.

func DatabaseVersionContains

func DatabaseVersionContains(v string) predicate.Service

DatabaseVersionContains applies the Contains predicate on the "database_version" field.

func DatabaseVersionContainsFold

func DatabaseVersionContainsFold(v string) predicate.Service

DatabaseVersionContainsFold applies the ContainsFold predicate on the "database_version" field.

func DatabaseVersionEQ

func DatabaseVersionEQ(v string) predicate.Service

DatabaseVersionEQ applies the EQ predicate on the "database_version" field.

func DatabaseVersionEqualFold

func DatabaseVersionEqualFold(v string) predicate.Service

DatabaseVersionEqualFold applies the EqualFold predicate on the "database_version" field.

func DatabaseVersionGT

func DatabaseVersionGT(v string) predicate.Service

DatabaseVersionGT applies the GT predicate on the "database_version" field.

func DatabaseVersionGTE

func DatabaseVersionGTE(v string) predicate.Service

DatabaseVersionGTE applies the GTE predicate on the "database_version" field.

func DatabaseVersionHasPrefix

func DatabaseVersionHasPrefix(v string) predicate.Service

DatabaseVersionHasPrefix applies the HasPrefix predicate on the "database_version" field.

func DatabaseVersionHasSuffix

func DatabaseVersionHasSuffix(v string) predicate.Service

DatabaseVersionHasSuffix applies the HasSuffix predicate on the "database_version" field.

func DatabaseVersionIn

func DatabaseVersionIn(vs ...string) predicate.Service

DatabaseVersionIn applies the In predicate on the "database_version" field.

func DatabaseVersionIsNil

func DatabaseVersionIsNil() predicate.Service

DatabaseVersionIsNil applies the IsNil predicate on the "database_version" field.

func DatabaseVersionLT

func DatabaseVersionLT(v string) predicate.Service

DatabaseVersionLT applies the LT predicate on the "database_version" field.

func DatabaseVersionLTE

func DatabaseVersionLTE(v string) predicate.Service

DatabaseVersionLTE applies the LTE predicate on the "database_version" field.

func DatabaseVersionNEQ

func DatabaseVersionNEQ(v string) predicate.Service

DatabaseVersionNEQ applies the NEQ predicate on the "database_version" field.

func DatabaseVersionNotIn

func DatabaseVersionNotIn(vs ...string) predicate.Service

DatabaseVersionNotIn applies the NotIn predicate on the "database_version" field.

func DatabaseVersionNotNil

func DatabaseVersionNotNil() predicate.Service

DatabaseVersionNotNil applies the NotNil predicate on the "database_version" field.

func Description

func Description(v string) predicate.Service

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Service

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Service

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Service

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Service

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Service

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Service

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Service

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Service

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Service

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Service

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Service

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Service

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Service

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Service

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Service

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DetectedPortsIsNil added in v0.0.18

func DetectedPortsIsNil() predicate.Service

DetectedPortsIsNil applies the IsNil predicate on the "detected_ports" field.

func DetectedPortsNotNil added in v0.0.18

func DetectedPortsNotNil() predicate.Service

DetectedPortsNotNil applies the NotNil predicate on the "detected_ports" field.

func EnvironmentID

func EnvironmentID(v uuid.UUID) predicate.Service

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDEQ

func EnvironmentIDEQ(v uuid.UUID) predicate.Service

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...uuid.UUID) predicate.Service

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v uuid.UUID) predicate.Service

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...uuid.UUID) predicate.Service

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func GitRepository

func GitRepository(v string) predicate.Service

GitRepository applies equality check predicate on the "git_repository" field. It's identical to GitRepositoryEQ.

func GitRepositoryContains

func GitRepositoryContains(v string) predicate.Service

GitRepositoryContains applies the Contains predicate on the "git_repository" field.

func GitRepositoryContainsFold

func GitRepositoryContainsFold(v string) predicate.Service

GitRepositoryContainsFold applies the ContainsFold predicate on the "git_repository" field.

func GitRepositoryEQ

func GitRepositoryEQ(v string) predicate.Service

GitRepositoryEQ applies the EQ predicate on the "git_repository" field.

func GitRepositoryEqualFold

func GitRepositoryEqualFold(v string) predicate.Service

GitRepositoryEqualFold applies the EqualFold predicate on the "git_repository" field.

func GitRepositoryGT

func GitRepositoryGT(v string) predicate.Service

GitRepositoryGT applies the GT predicate on the "git_repository" field.

func GitRepositoryGTE

func GitRepositoryGTE(v string) predicate.Service

GitRepositoryGTE applies the GTE predicate on the "git_repository" field.

func GitRepositoryHasPrefix

func GitRepositoryHasPrefix(v string) predicate.Service

GitRepositoryHasPrefix applies the HasPrefix predicate on the "git_repository" field.

func GitRepositoryHasSuffix

func GitRepositoryHasSuffix(v string) predicate.Service

GitRepositoryHasSuffix applies the HasSuffix predicate on the "git_repository" field.

func GitRepositoryIn

func GitRepositoryIn(vs ...string) predicate.Service

GitRepositoryIn applies the In predicate on the "git_repository" field.

func GitRepositoryIsNil

func GitRepositoryIsNil() predicate.Service

GitRepositoryIsNil applies the IsNil predicate on the "git_repository" field.

func GitRepositoryLT

func GitRepositoryLT(v string) predicate.Service

GitRepositoryLT applies the LT predicate on the "git_repository" field.

func GitRepositoryLTE

func GitRepositoryLTE(v string) predicate.Service

GitRepositoryLTE applies the LTE predicate on the "git_repository" field.

func GitRepositoryNEQ

func GitRepositoryNEQ(v string) predicate.Service

GitRepositoryNEQ applies the NEQ predicate on the "git_repository" field.

func GitRepositoryNotIn

func GitRepositoryNotIn(vs ...string) predicate.Service

GitRepositoryNotIn applies the NotIn predicate on the "git_repository" field.

func GitRepositoryNotNil

func GitRepositoryNotNil() predicate.Service

GitRepositoryNotNil applies the NotNil predicate on the "git_repository" field.

func GitRepositoryOwner

func GitRepositoryOwner(v string) predicate.Service

GitRepositoryOwner applies equality check predicate on the "git_repository_owner" field. It's identical to GitRepositoryOwnerEQ.

func GitRepositoryOwnerContains

func GitRepositoryOwnerContains(v string) predicate.Service

GitRepositoryOwnerContains applies the Contains predicate on the "git_repository_owner" field.

func GitRepositoryOwnerContainsFold

func GitRepositoryOwnerContainsFold(v string) predicate.Service

GitRepositoryOwnerContainsFold applies the ContainsFold predicate on the "git_repository_owner" field.

func GitRepositoryOwnerEQ

func GitRepositoryOwnerEQ(v string) predicate.Service

GitRepositoryOwnerEQ applies the EQ predicate on the "git_repository_owner" field.

func GitRepositoryOwnerEqualFold

func GitRepositoryOwnerEqualFold(v string) predicate.Service

GitRepositoryOwnerEqualFold applies the EqualFold predicate on the "git_repository_owner" field.

func GitRepositoryOwnerGT

func GitRepositoryOwnerGT(v string) predicate.Service

GitRepositoryOwnerGT applies the GT predicate on the "git_repository_owner" field.

func GitRepositoryOwnerGTE

func GitRepositoryOwnerGTE(v string) predicate.Service

GitRepositoryOwnerGTE applies the GTE predicate on the "git_repository_owner" field.

func GitRepositoryOwnerHasPrefix

func GitRepositoryOwnerHasPrefix(v string) predicate.Service

GitRepositoryOwnerHasPrefix applies the HasPrefix predicate on the "git_repository_owner" field.

func GitRepositoryOwnerHasSuffix

func GitRepositoryOwnerHasSuffix(v string) predicate.Service

GitRepositoryOwnerHasSuffix applies the HasSuffix predicate on the "git_repository_owner" field.

func GitRepositoryOwnerIn

func GitRepositoryOwnerIn(vs ...string) predicate.Service

GitRepositoryOwnerIn applies the In predicate on the "git_repository_owner" field.

func GitRepositoryOwnerIsNil

func GitRepositoryOwnerIsNil() predicate.Service

GitRepositoryOwnerIsNil applies the IsNil predicate on the "git_repository_owner" field.

func GitRepositoryOwnerLT

func GitRepositoryOwnerLT(v string) predicate.Service

GitRepositoryOwnerLT applies the LT predicate on the "git_repository_owner" field.

func GitRepositoryOwnerLTE

func GitRepositoryOwnerLTE(v string) predicate.Service

GitRepositoryOwnerLTE applies the LTE predicate on the "git_repository_owner" field.

func GitRepositoryOwnerNEQ

func GitRepositoryOwnerNEQ(v string) predicate.Service

GitRepositoryOwnerNEQ applies the NEQ predicate on the "git_repository_owner" field.

func GitRepositoryOwnerNotIn

func GitRepositoryOwnerNotIn(vs ...string) predicate.Service

GitRepositoryOwnerNotIn applies the NotIn predicate on the "git_repository_owner" field.

func GitRepositoryOwnerNotNil

func GitRepositoryOwnerNotNil() predicate.Service

GitRepositoryOwnerNotNil applies the NotNil predicate on the "git_repository_owner" field.

func GithubInstallationID

func GithubInstallationID(v int64) predicate.Service

GithubInstallationID applies equality check predicate on the "github_installation_id" field. It's identical to GithubInstallationIDEQ.

func GithubInstallationIDEQ

func GithubInstallationIDEQ(v int64) predicate.Service

GithubInstallationIDEQ applies the EQ predicate on the "github_installation_id" field.

func GithubInstallationIDIn

func GithubInstallationIDIn(vs ...int64) predicate.Service

GithubInstallationIDIn applies the In predicate on the "github_installation_id" field.

func GithubInstallationIDIsNil

func GithubInstallationIDIsNil() predicate.Service

GithubInstallationIDIsNil applies the IsNil predicate on the "github_installation_id" field.

func GithubInstallationIDNEQ

func GithubInstallationIDNEQ(v int64) predicate.Service

GithubInstallationIDNEQ applies the NEQ predicate on the "github_installation_id" field.

func GithubInstallationIDNotIn

func GithubInstallationIDNotIn(vs ...int64) predicate.Service

GithubInstallationIDNotIn applies the NotIn predicate on the "github_installation_id" field.

func GithubInstallationIDNotNil

func GithubInstallationIDNotNil() predicate.Service

GithubInstallationIDNotNil applies the NotNil predicate on the "github_installation_id" field.

func HasCurrentDeployment

func HasCurrentDeployment() predicate.Service

HasCurrentDeployment applies the HasEdge predicate on the "current_deployment" edge.

func HasCurrentDeploymentWith

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

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

func HasDeployments

func HasDeployments() predicate.Service

HasDeployments applies the HasEdge predicate on the "deployments" edge.

func HasDeploymentsWith

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

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

func HasEnvironment

func HasEnvironment() predicate.Service

HasEnvironment applies the HasEdge predicate on the "environment" edge.

func HasEnvironmentWith

func HasEnvironmentWith(preds ...predicate.Environment) predicate.Service

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

func HasGithubInstallation

func HasGithubInstallation() predicate.Service

HasGithubInstallation applies the HasEdge predicate on the "github_installation" edge.

func HasGithubInstallationWith

func HasGithubInstallationWith(preds ...predicate.GithubInstallation) predicate.Service

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

func HasServiceConfig

func HasServiceConfig() predicate.Service

HasServiceConfig applies the HasEdge predicate on the "service_config" edge.

func HasServiceConfigWith

func HasServiceConfigWith(preds ...predicate.ServiceConfig) predicate.Service

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

func HasServiceGroup

func HasServiceGroup() predicate.Service

HasServiceGroup applies the HasEdge predicate on the "service_group" edge.

func HasServiceGroupWith

func HasServiceGroupWith(preds ...predicate.ServiceGroup) predicate.Service

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

func HasTemplate

func HasTemplate() predicate.Service

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith

func HasTemplateWith(preds ...predicate.Template) predicate.Service

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

func HasVariableReferences

func HasVariableReferences() predicate.Service

HasVariableReferences applies the HasEdge predicate on the "variable_references" edge.

func HasVariableReferencesWith

func HasVariableReferencesWith(preds ...predicate.VariableReference) predicate.Service

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

func ID

func ID(id uuid.UUID) predicate.Service

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Service

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Service

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Service

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Service

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Service

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Service

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func KubernetesName

func KubernetesName(v string) predicate.Service

KubernetesName applies equality check predicate on the "kubernetes_name" field. It's identical to KubernetesNameEQ.

func KubernetesNameContains

func KubernetesNameContains(v string) predicate.Service

KubernetesNameContains applies the Contains predicate on the "kubernetes_name" field.

func KubernetesNameContainsFold

func KubernetesNameContainsFold(v string) predicate.Service

KubernetesNameContainsFold applies the ContainsFold predicate on the "kubernetes_name" field.

func KubernetesNameEQ

func KubernetesNameEQ(v string) predicate.Service

KubernetesNameEQ applies the EQ predicate on the "kubernetes_name" field.

func KubernetesNameEqualFold

func KubernetesNameEqualFold(v string) predicate.Service

KubernetesNameEqualFold applies the EqualFold predicate on the "kubernetes_name" field.

func KubernetesNameGT

func KubernetesNameGT(v string) predicate.Service

KubernetesNameGT applies the GT predicate on the "kubernetes_name" field.

func KubernetesNameGTE

func KubernetesNameGTE(v string) predicate.Service

KubernetesNameGTE applies the GTE predicate on the "kubernetes_name" field.

func KubernetesNameHasPrefix

func KubernetesNameHasPrefix(v string) predicate.Service

KubernetesNameHasPrefix applies the HasPrefix predicate on the "kubernetes_name" field.

func KubernetesNameHasSuffix

func KubernetesNameHasSuffix(v string) predicate.Service

KubernetesNameHasSuffix applies the HasSuffix predicate on the "kubernetes_name" field.

func KubernetesNameIn

func KubernetesNameIn(vs ...string) predicate.Service

KubernetesNameIn applies the In predicate on the "kubernetes_name" field.

func KubernetesNameLT

func KubernetesNameLT(v string) predicate.Service

KubernetesNameLT applies the LT predicate on the "kubernetes_name" field.

func KubernetesNameLTE

func KubernetesNameLTE(v string) predicate.Service

KubernetesNameLTE applies the LTE predicate on the "kubernetes_name" field.

func KubernetesNameNEQ

func KubernetesNameNEQ(v string) predicate.Service

KubernetesNameNEQ applies the NEQ predicate on the "kubernetes_name" field.

func KubernetesNameNotIn

func KubernetesNameNotIn(vs ...string) predicate.Service

KubernetesNameNotIn applies the NotIn predicate on the "kubernetes_name" field.

func KubernetesSecret

func KubernetesSecret(v string) predicate.Service

KubernetesSecret applies equality check predicate on the "kubernetes_secret" field. It's identical to KubernetesSecretEQ.

func KubernetesSecretContains

func KubernetesSecretContains(v string) predicate.Service

KubernetesSecretContains applies the Contains predicate on the "kubernetes_secret" field.

func KubernetesSecretContainsFold

func KubernetesSecretContainsFold(v string) predicate.Service

KubernetesSecretContainsFold applies the ContainsFold predicate on the "kubernetes_secret" field.

func KubernetesSecretEQ

func KubernetesSecretEQ(v string) predicate.Service

KubernetesSecretEQ applies the EQ predicate on the "kubernetes_secret" field.

func KubernetesSecretEqualFold

func KubernetesSecretEqualFold(v string) predicate.Service

KubernetesSecretEqualFold applies the EqualFold predicate on the "kubernetes_secret" field.

func KubernetesSecretGT

func KubernetesSecretGT(v string) predicate.Service

KubernetesSecretGT applies the GT predicate on the "kubernetes_secret" field.

func KubernetesSecretGTE

func KubernetesSecretGTE(v string) predicate.Service

KubernetesSecretGTE applies the GTE predicate on the "kubernetes_secret" field.

func KubernetesSecretHasPrefix

func KubernetesSecretHasPrefix(v string) predicate.Service

KubernetesSecretHasPrefix applies the HasPrefix predicate on the "kubernetes_secret" field.

func KubernetesSecretHasSuffix

func KubernetesSecretHasSuffix(v string) predicate.Service

KubernetesSecretHasSuffix applies the HasSuffix predicate on the "kubernetes_secret" field.

func KubernetesSecretIn

func KubernetesSecretIn(vs ...string) predicate.Service

KubernetesSecretIn applies the In predicate on the "kubernetes_secret" field.

func KubernetesSecretLT

func KubernetesSecretLT(v string) predicate.Service

KubernetesSecretLT applies the LT predicate on the "kubernetes_secret" field.

func KubernetesSecretLTE

func KubernetesSecretLTE(v string) predicate.Service

KubernetesSecretLTE applies the LTE predicate on the "kubernetes_secret" field.

func KubernetesSecretNEQ

func KubernetesSecretNEQ(v string) predicate.Service

KubernetesSecretNEQ applies the NEQ predicate on the "kubernetes_secret" field.

func KubernetesSecretNotIn

func KubernetesSecretNotIn(vs ...string) predicate.Service

KubernetesSecretNotIn applies the NotIn predicate on the "kubernetes_secret" field.

func Name

func Name(v string) predicate.Service

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Service

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Service

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Service

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Service

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Service

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Service

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Service

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Service

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Service

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Service

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Service

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Service

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Service

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Service) predicate.Service

Or groups predicates with the OR operator between them.

func ServiceGroupID

func ServiceGroupID(v uuid.UUID) predicate.Service

ServiceGroupID applies equality check predicate on the "service_group_id" field. It's identical to ServiceGroupIDEQ.

func ServiceGroupIDEQ

func ServiceGroupIDEQ(v uuid.UUID) predicate.Service

ServiceGroupIDEQ applies the EQ predicate on the "service_group_id" field.

func ServiceGroupIDIn

func ServiceGroupIDIn(vs ...uuid.UUID) predicate.Service

ServiceGroupIDIn applies the In predicate on the "service_group_id" field.

func ServiceGroupIDIsNil

func ServiceGroupIDIsNil() predicate.Service

ServiceGroupIDIsNil applies the IsNil predicate on the "service_group_id" field.

func ServiceGroupIDNEQ

func ServiceGroupIDNEQ(v uuid.UUID) predicate.Service

ServiceGroupIDNEQ applies the NEQ predicate on the "service_group_id" field.

func ServiceGroupIDNotIn

func ServiceGroupIDNotIn(vs ...uuid.UUID) predicate.Service

ServiceGroupIDNotIn applies the NotIn predicate on the "service_group_id" field.

func ServiceGroupIDNotNil

func ServiceGroupIDNotNil() predicate.Service

ServiceGroupIDNotNil applies the NotNil predicate on the "service_group_id" field.

func TemplateID

func TemplateID(v uuid.UUID) predicate.Service

TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.

func TemplateIDEQ

func TemplateIDEQ(v uuid.UUID) predicate.Service

TemplateIDEQ applies the EQ predicate on the "template_id" field.

func TemplateIDIn

func TemplateIDIn(vs ...uuid.UUID) predicate.Service

TemplateIDIn applies the In predicate on the "template_id" field.

func TemplateIDIsNil

func TemplateIDIsNil() predicate.Service

TemplateIDIsNil applies the IsNil predicate on the "template_id" field.

func TemplateIDNEQ

func TemplateIDNEQ(v uuid.UUID) predicate.Service

TemplateIDNEQ applies the NEQ predicate on the "template_id" field.

func TemplateIDNotIn

func TemplateIDNotIn(vs ...uuid.UUID) predicate.Service

TemplateIDNotIn applies the NotIn predicate on the "template_id" field.

func TemplateIDNotNil

func TemplateIDNotNil() predicate.Service

TemplateIDNotNil applies the NotNil predicate on the "template_id" field.

func TemplateInstanceID

func TemplateInstanceID(v uuid.UUID) predicate.Service

TemplateInstanceID applies equality check predicate on the "template_instance_id" field. It's identical to TemplateInstanceIDEQ.

func TemplateInstanceIDEQ

func TemplateInstanceIDEQ(v uuid.UUID) predicate.Service

TemplateInstanceIDEQ applies the EQ predicate on the "template_instance_id" field.

func TemplateInstanceIDGT

func TemplateInstanceIDGT(v uuid.UUID) predicate.Service

TemplateInstanceIDGT applies the GT predicate on the "template_instance_id" field.

func TemplateInstanceIDGTE

func TemplateInstanceIDGTE(v uuid.UUID) predicate.Service

TemplateInstanceIDGTE applies the GTE predicate on the "template_instance_id" field.

func TemplateInstanceIDIn

func TemplateInstanceIDIn(vs ...uuid.UUID) predicate.Service

TemplateInstanceIDIn applies the In predicate on the "template_instance_id" field.

func TemplateInstanceIDIsNil

func TemplateInstanceIDIsNil() predicate.Service

TemplateInstanceIDIsNil applies the IsNil predicate on the "template_instance_id" field.

func TemplateInstanceIDLT

func TemplateInstanceIDLT(v uuid.UUID) predicate.Service

TemplateInstanceIDLT applies the LT predicate on the "template_instance_id" field.

func TemplateInstanceIDLTE

func TemplateInstanceIDLTE(v uuid.UUID) predicate.Service

TemplateInstanceIDLTE applies the LTE predicate on the "template_instance_id" field.

func TemplateInstanceIDNEQ

func TemplateInstanceIDNEQ(v uuid.UUID) predicate.Service

TemplateInstanceIDNEQ applies the NEQ predicate on the "template_instance_id" field.

func TemplateInstanceIDNotIn

func TemplateInstanceIDNotIn(vs ...uuid.UUID) predicate.Service

TemplateInstanceIDNotIn applies the NotIn predicate on the "template_instance_id" field.

func TemplateInstanceIDNotNil

func TemplateInstanceIDNotNil() predicate.Service

TemplateInstanceIDNotNil applies the NotNil predicate on the "template_instance_id" field.

func TypeEQ

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

func TypeIn

func TypeIn(vs ...schema.ServiceType) predicate.Service

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

func TypeNEQ

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

func TypeNotIn

func TypeNotIn(vs ...schema.ServiceType) predicate.Service

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

func TypeValidator

func TypeValidator(_type schema.ServiceType) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Service

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Service

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Service

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Service

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Service

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Service

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Service

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

func UpdatedAtNotIn

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

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 Service queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCurrentDeploymentField

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

ByCurrentDeploymentField orders the results by current_deployment field.

func ByCurrentDeploymentID

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

ByCurrentDeploymentID orders the results by the current_deployment_id field.

func ByDatabase

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

ByDatabase orders the results by the database field.

func ByDatabaseVersion

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

ByDatabaseVersion orders the results by the database_version field.

func ByDeployments

func ByDeployments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDeployments orders the results by deployments terms.

func ByDeploymentsCount

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

ByDeploymentsCount orders the results by deployments count.

func ByDescription

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

ByDescription orders the results by the description field.

func ByEnvironmentField

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

ByEnvironmentField orders the results by environment field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByGitRepository

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

ByGitRepository orders the results by the git_repository field.

func ByGitRepositoryOwner

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

ByGitRepositoryOwner orders the results by the git_repository_owner field.

func ByGithubInstallationField

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

ByGithubInstallationField orders the results by github_installation field.

func ByGithubInstallationID

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

ByGithubInstallationID orders the results by the github_installation_id field.

func ByID

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

ByID orders the results by the id field.

func ByKubernetesName

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

ByKubernetesName orders the results by the kubernetes_name field.

func ByKubernetesSecret

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

ByKubernetesSecret orders the results by the kubernetes_secret field.

func ByName

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

ByName orders the results by the name field.

func ByServiceConfigField

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

ByServiceConfigField orders the results by service_config field.

func ByServiceGroupField

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

ByServiceGroupField orders the results by service_group field.

func ByServiceGroupID

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

ByServiceGroupID orders the results by the service_group_id field.

func ByTemplateField

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

ByTemplateField orders the results by template field.

func ByTemplateID

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

ByTemplateID orders the results by the template_id field.

func ByTemplateInstanceID

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

ByTemplateInstanceID orders the results by the template_instance_id field.

func ByType

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

ByType orders the results by the type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByVariableReferences

func ByVariableReferences(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByVariableReferences orders the results by variable_references terms.

func ByVariableReferencesCount

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

ByVariableReferencesCount orders the results by variable_references count.

Jump to

Keyboard shortcuts

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