porterinstance

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the porterinstance type in the database.
	Label = "porter_instance"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldSourceCodeAddress holds the string denoting the source_code_address field in the database.
	FieldSourceCodeAddress = "source_code_address"
	// FieldBuildVersion holds the string denoting the build_version field in the database.
	FieldBuildVersion = "build_version"
	// FieldBuildDate holds the string denoting the build_date field in the database.
	FieldBuildDate = "build_date"
	// FieldGlobalName holds the string denoting the global_name field in the database.
	FieldGlobalName = "global_name"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldRegion holds the string denoting the region field in the database.
	FieldRegion = "region"
	// FieldFeatureSummary holds the string denoting the feature_summary field in the database.
	FieldFeatureSummary = "feature_summary"
	// FieldContextJSONSchema holds the string denoting the context_json_schema field in the database.
	FieldContextJSONSchema = "context_json_schema"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the porterinstance in the database.
	Table = "porter_instances"
)

Variables

View Source
var (
	// 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
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Columns holds all SQL columns for porterinstance fields.

Functions

func Address

func Address(v string) predicate.PorterInstance

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.PorterInstance

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.PorterInstance

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.PorterInstance

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.PorterInstance

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.PorterInstance

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.PorterInstance

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.PorterInstance

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.PorterInstance

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.PorterInstance

AddressIn applies the In predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.PorterInstance

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.PorterInstance

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.PorterInstance

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.PorterInstance

AddressNotIn applies the NotIn predicate on the "address" field.

func And

And groups predicates with the AND operator between them.

func BuildDate added in v0.2.11

func BuildDate(v string) predicate.PorterInstance

BuildDate applies equality check predicate on the "build_date" field. It's identical to BuildDateEQ.

func BuildDateContains added in v0.2.11

func BuildDateContains(v string) predicate.PorterInstance

BuildDateContains applies the Contains predicate on the "build_date" field.

func BuildDateContainsFold added in v0.2.11

func BuildDateContainsFold(v string) predicate.PorterInstance

BuildDateContainsFold applies the ContainsFold predicate on the "build_date" field.

func BuildDateEQ added in v0.2.11

func BuildDateEQ(v string) predicate.PorterInstance

BuildDateEQ applies the EQ predicate on the "build_date" field.

func BuildDateEqualFold added in v0.2.11

func BuildDateEqualFold(v string) predicate.PorterInstance

BuildDateEqualFold applies the EqualFold predicate on the "build_date" field.

func BuildDateGT added in v0.2.11

func BuildDateGT(v string) predicate.PorterInstance

BuildDateGT applies the GT predicate on the "build_date" field.

func BuildDateGTE added in v0.2.11

func BuildDateGTE(v string) predicate.PorterInstance

BuildDateGTE applies the GTE predicate on the "build_date" field.

func BuildDateHasPrefix added in v0.2.11

func BuildDateHasPrefix(v string) predicate.PorterInstance

BuildDateHasPrefix applies the HasPrefix predicate on the "build_date" field.

func BuildDateHasSuffix added in v0.2.11

func BuildDateHasSuffix(v string) predicate.PorterInstance

BuildDateHasSuffix applies the HasSuffix predicate on the "build_date" field.

func BuildDateIn added in v0.2.11

func BuildDateIn(vs ...string) predicate.PorterInstance

BuildDateIn applies the In predicate on the "build_date" field.

func BuildDateLT added in v0.2.11

func BuildDateLT(v string) predicate.PorterInstance

BuildDateLT applies the LT predicate on the "build_date" field.

func BuildDateLTE added in v0.2.11

func BuildDateLTE(v string) predicate.PorterInstance

BuildDateLTE applies the LTE predicate on the "build_date" field.

func BuildDateNEQ added in v0.2.11

func BuildDateNEQ(v string) predicate.PorterInstance

BuildDateNEQ applies the NEQ predicate on the "build_date" field.

func BuildDateNotIn added in v0.2.11

func BuildDateNotIn(vs ...string) predicate.PorterInstance

BuildDateNotIn applies the NotIn predicate on the "build_date" field.

func BuildVersion added in v0.2.11

func BuildVersion(v string) predicate.PorterInstance

BuildVersion applies equality check predicate on the "build_version" field. It's identical to BuildVersionEQ.

func BuildVersionContains added in v0.2.11

func BuildVersionContains(v string) predicate.PorterInstance

BuildVersionContains applies the Contains predicate on the "build_version" field.

func BuildVersionContainsFold added in v0.2.11

func BuildVersionContainsFold(v string) predicate.PorterInstance

BuildVersionContainsFold applies the ContainsFold predicate on the "build_version" field.

func BuildVersionEQ added in v0.2.11

func BuildVersionEQ(v string) predicate.PorterInstance

BuildVersionEQ applies the EQ predicate on the "build_version" field.

func BuildVersionEqualFold added in v0.2.11

func BuildVersionEqualFold(v string) predicate.PorterInstance

BuildVersionEqualFold applies the EqualFold predicate on the "build_version" field.

func BuildVersionGT added in v0.2.11

func BuildVersionGT(v string) predicate.PorterInstance

BuildVersionGT applies the GT predicate on the "build_version" field.

func BuildVersionGTE added in v0.2.11

func BuildVersionGTE(v string) predicate.PorterInstance

BuildVersionGTE applies the GTE predicate on the "build_version" field.

func BuildVersionHasPrefix added in v0.2.11

func BuildVersionHasPrefix(v string) predicate.PorterInstance

BuildVersionHasPrefix applies the HasPrefix predicate on the "build_version" field.

func BuildVersionHasSuffix added in v0.2.11

func BuildVersionHasSuffix(v string) predicate.PorterInstance

BuildVersionHasSuffix applies the HasSuffix predicate on the "build_version" field.

func BuildVersionIn added in v0.2.11

func BuildVersionIn(vs ...string) predicate.PorterInstance

BuildVersionIn applies the In predicate on the "build_version" field.

func BuildVersionLT added in v0.2.11

func BuildVersionLT(v string) predicate.PorterInstance

BuildVersionLT applies the LT predicate on the "build_version" field.

func BuildVersionLTE added in v0.2.11

func BuildVersionLTE(v string) predicate.PorterInstance

BuildVersionLTE applies the LTE predicate on the "build_version" field.

func BuildVersionNEQ added in v0.2.11

func BuildVersionNEQ(v string) predicate.PorterInstance

BuildVersionNEQ applies the NEQ predicate on the "build_version" field.

func BuildVersionNotIn added in v0.2.11

func BuildVersionNotIn(vs ...string) predicate.PorterInstance

BuildVersionNotIn applies the NotIn predicate on the "build_version" field.

func ContextJSONSchema added in v0.2.11

func ContextJSONSchema(v string) predicate.PorterInstance

ContextJSONSchema applies equality check predicate on the "context_json_schema" field. It's identical to ContextJSONSchemaEQ.

func ContextJSONSchemaContains added in v0.2.11

func ContextJSONSchemaContains(v string) predicate.PorterInstance

ContextJSONSchemaContains applies the Contains predicate on the "context_json_schema" field.

func ContextJSONSchemaContainsFold added in v0.2.11

func ContextJSONSchemaContainsFold(v string) predicate.PorterInstance

ContextJSONSchemaContainsFold applies the ContainsFold predicate on the "context_json_schema" field.

func ContextJSONSchemaEQ added in v0.2.11

func ContextJSONSchemaEQ(v string) predicate.PorterInstance

ContextJSONSchemaEQ applies the EQ predicate on the "context_json_schema" field.

func ContextJSONSchemaEqualFold added in v0.2.11

func ContextJSONSchemaEqualFold(v string) predicate.PorterInstance

ContextJSONSchemaEqualFold applies the EqualFold predicate on the "context_json_schema" field.

func ContextJSONSchemaGT added in v0.2.11

func ContextJSONSchemaGT(v string) predicate.PorterInstance

ContextJSONSchemaGT applies the GT predicate on the "context_json_schema" field.

func ContextJSONSchemaGTE added in v0.2.11

func ContextJSONSchemaGTE(v string) predicate.PorterInstance

ContextJSONSchemaGTE applies the GTE predicate on the "context_json_schema" field.

func ContextJSONSchemaHasPrefix added in v0.2.11

func ContextJSONSchemaHasPrefix(v string) predicate.PorterInstance

ContextJSONSchemaHasPrefix applies the HasPrefix predicate on the "context_json_schema" field.

func ContextJSONSchemaHasSuffix added in v0.2.11

func ContextJSONSchemaHasSuffix(v string) predicate.PorterInstance

ContextJSONSchemaHasSuffix applies the HasSuffix predicate on the "context_json_schema" field.

func ContextJSONSchemaIn added in v0.2.11

func ContextJSONSchemaIn(vs ...string) predicate.PorterInstance

ContextJSONSchemaIn applies the In predicate on the "context_json_schema" field.

func ContextJSONSchemaLT added in v0.2.11

func ContextJSONSchemaLT(v string) predicate.PorterInstance

ContextJSONSchemaLT applies the LT predicate on the "context_json_schema" field.

func ContextJSONSchemaLTE added in v0.2.11

func ContextJSONSchemaLTE(v string) predicate.PorterInstance

ContextJSONSchemaLTE applies the LTE predicate on the "context_json_schema" field.

func ContextJSONSchemaNEQ added in v0.2.11

func ContextJSONSchemaNEQ(v string) predicate.PorterInstance

ContextJSONSchemaNEQ applies the NEQ predicate on the "context_json_schema" field.

func ContextJSONSchemaNotIn added in v0.2.11

func ContextJSONSchemaNotIn(vs ...string) predicate.PorterInstance

ContextJSONSchemaNotIn applies the NotIn predicate on the "context_json_schema" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.PorterInstance

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PorterInstance

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PorterInstance

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PorterInstance

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PorterInstance

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PorterInstance

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PorterInstance

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

func CreatedAtNotIn

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

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

func Description added in v0.2.11

func Description(v string) predicate.PorterInstance

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

func DescriptionContains added in v0.2.11

func DescriptionContains(v string) predicate.PorterInstance

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

func DescriptionContainsFold added in v0.2.11

func DescriptionContainsFold(v string) predicate.PorterInstance

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

func DescriptionEQ added in v0.2.11

func DescriptionEQ(v string) predicate.PorterInstance

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

func DescriptionEqualFold added in v0.2.11

func DescriptionEqualFold(v string) predicate.PorterInstance

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

func DescriptionGT added in v0.2.11

func DescriptionGT(v string) predicate.PorterInstance

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

func DescriptionGTE added in v0.2.11

func DescriptionGTE(v string) predicate.PorterInstance

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

func DescriptionHasPrefix added in v0.2.11

func DescriptionHasPrefix(v string) predicate.PorterInstance

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

func DescriptionHasSuffix added in v0.2.11

func DescriptionHasSuffix(v string) predicate.PorterInstance

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

func DescriptionIn added in v0.2.11

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

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

func DescriptionLT added in v0.2.11

func DescriptionLT(v string) predicate.PorterInstance

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

func DescriptionLTE added in v0.2.11

func DescriptionLTE(v string) predicate.PorterInstance

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

func DescriptionNEQ added in v0.2.11

func DescriptionNEQ(v string) predicate.PorterInstance

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

func DescriptionNotIn added in v0.2.11

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

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

func GlobalName

func GlobalName(v string) predicate.PorterInstance

GlobalName applies equality check predicate on the "global_name" field. It's identical to GlobalNameEQ.

func GlobalNameContains

func GlobalNameContains(v string) predicate.PorterInstance

GlobalNameContains applies the Contains predicate on the "global_name" field.

func GlobalNameContainsFold

func GlobalNameContainsFold(v string) predicate.PorterInstance

GlobalNameContainsFold applies the ContainsFold predicate on the "global_name" field.

func GlobalNameEQ

func GlobalNameEQ(v string) predicate.PorterInstance

GlobalNameEQ applies the EQ predicate on the "global_name" field.

func GlobalNameEqualFold

func GlobalNameEqualFold(v string) predicate.PorterInstance

GlobalNameEqualFold applies the EqualFold predicate on the "global_name" field.

func GlobalNameGT

func GlobalNameGT(v string) predicate.PorterInstance

GlobalNameGT applies the GT predicate on the "global_name" field.

func GlobalNameGTE

func GlobalNameGTE(v string) predicate.PorterInstance

GlobalNameGTE applies the GTE predicate on the "global_name" field.

func GlobalNameHasPrefix

func GlobalNameHasPrefix(v string) predicate.PorterInstance

GlobalNameHasPrefix applies the HasPrefix predicate on the "global_name" field.

func GlobalNameHasSuffix

func GlobalNameHasSuffix(v string) predicate.PorterInstance

GlobalNameHasSuffix applies the HasSuffix predicate on the "global_name" field.

func GlobalNameIn

func GlobalNameIn(vs ...string) predicate.PorterInstance

GlobalNameIn applies the In predicate on the "global_name" field.

func GlobalNameLT

func GlobalNameLT(v string) predicate.PorterInstance

GlobalNameLT applies the LT predicate on the "global_name" field.

func GlobalNameLTE

func GlobalNameLTE(v string) predicate.PorterInstance

GlobalNameLTE applies the LTE predicate on the "global_name" field.

func GlobalNameNEQ

func GlobalNameNEQ(v string) predicate.PorterInstance

GlobalNameNEQ applies the NEQ predicate on the "global_name" field.

func GlobalNameNotIn

func GlobalNameNotIn(vs ...string) predicate.PorterInstance

GlobalNameNotIn applies the NotIn predicate on the "global_name" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...model.InternalID) predicate.PorterInstance

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.PorterInstance

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

func NameContainsFold

func NameContainsFold(v string) predicate.PorterInstance

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.PorterInstance

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

func NameGT

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

func NameGTE

func NameGTE(v string) predicate.PorterInstance

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.PorterInstance

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.PorterInstance

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

func NameIn

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

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

func NameLT

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

func NameLTE

func NameLTE(v string) predicate.PorterInstance

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

func NameNEQ

func NameNEQ(v string) predicate.PorterInstance

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Region added in v0.2.11

Region applies equality check predicate on the "region" field. It's identical to RegionEQ.

func RegionContains added in v0.2.11

func RegionContains(v string) predicate.PorterInstance

RegionContains applies the Contains predicate on the "region" field.

func RegionContainsFold added in v0.2.11

func RegionContainsFold(v string) predicate.PorterInstance

RegionContainsFold applies the ContainsFold predicate on the "region" field.

func RegionEQ added in v0.2.11

func RegionEQ(v string) predicate.PorterInstance

RegionEQ applies the EQ predicate on the "region" field.

func RegionEqualFold added in v0.2.11

func RegionEqualFold(v string) predicate.PorterInstance

RegionEqualFold applies the EqualFold predicate on the "region" field.

func RegionGT added in v0.2.11

func RegionGT(v string) predicate.PorterInstance

RegionGT applies the GT predicate on the "region" field.

func RegionGTE added in v0.2.11

func RegionGTE(v string) predicate.PorterInstance

RegionGTE applies the GTE predicate on the "region" field.

func RegionHasPrefix added in v0.2.11

func RegionHasPrefix(v string) predicate.PorterInstance

RegionHasPrefix applies the HasPrefix predicate on the "region" field.

func RegionHasSuffix added in v0.2.11

func RegionHasSuffix(v string) predicate.PorterInstance

RegionHasSuffix applies the HasSuffix predicate on the "region" field.

func RegionIn added in v0.2.11

func RegionIn(vs ...string) predicate.PorterInstance

RegionIn applies the In predicate on the "region" field.

func RegionLT added in v0.2.11

func RegionLT(v string) predicate.PorterInstance

RegionLT applies the LT predicate on the "region" field.

func RegionLTE added in v0.2.11

func RegionLTE(v string) predicate.PorterInstance

RegionLTE applies the LTE predicate on the "region" field.

func RegionNEQ added in v0.2.11

func RegionNEQ(v string) predicate.PorterInstance

RegionNEQ applies the NEQ predicate on the "region" field.

func RegionNotIn added in v0.2.11

func RegionNotIn(vs ...string) predicate.PorterInstance

RegionNotIn applies the NotIn predicate on the "region" field.

func SourceCodeAddress added in v0.2.11

func SourceCodeAddress(v string) predicate.PorterInstance

SourceCodeAddress applies equality check predicate on the "source_code_address" field. It's identical to SourceCodeAddressEQ.

func SourceCodeAddressContains added in v0.2.11

func SourceCodeAddressContains(v string) predicate.PorterInstance

SourceCodeAddressContains applies the Contains predicate on the "source_code_address" field.

func SourceCodeAddressContainsFold added in v0.2.11

func SourceCodeAddressContainsFold(v string) predicate.PorterInstance

SourceCodeAddressContainsFold applies the ContainsFold predicate on the "source_code_address" field.

func SourceCodeAddressEQ added in v0.2.11

func SourceCodeAddressEQ(v string) predicate.PorterInstance

SourceCodeAddressEQ applies the EQ predicate on the "source_code_address" field.

func SourceCodeAddressEqualFold added in v0.2.11

func SourceCodeAddressEqualFold(v string) predicate.PorterInstance

SourceCodeAddressEqualFold applies the EqualFold predicate on the "source_code_address" field.

func SourceCodeAddressGT added in v0.2.11

func SourceCodeAddressGT(v string) predicate.PorterInstance

SourceCodeAddressGT applies the GT predicate on the "source_code_address" field.

func SourceCodeAddressGTE added in v0.2.11

func SourceCodeAddressGTE(v string) predicate.PorterInstance

SourceCodeAddressGTE applies the GTE predicate on the "source_code_address" field.

func SourceCodeAddressHasPrefix added in v0.2.11

func SourceCodeAddressHasPrefix(v string) predicate.PorterInstance

SourceCodeAddressHasPrefix applies the HasPrefix predicate on the "source_code_address" field.

func SourceCodeAddressHasSuffix added in v0.2.11

func SourceCodeAddressHasSuffix(v string) predicate.PorterInstance

SourceCodeAddressHasSuffix applies the HasSuffix predicate on the "source_code_address" field.

func SourceCodeAddressIn added in v0.2.11

func SourceCodeAddressIn(vs ...string) predicate.PorterInstance

SourceCodeAddressIn applies the In predicate on the "source_code_address" field.

func SourceCodeAddressLT added in v0.2.11

func SourceCodeAddressLT(v string) predicate.PorterInstance

SourceCodeAddressLT applies the LT predicate on the "source_code_address" field.

func SourceCodeAddressLTE added in v0.2.11

func SourceCodeAddressLTE(v string) predicate.PorterInstance

SourceCodeAddressLTE applies the LTE predicate on the "source_code_address" field.

func SourceCodeAddressNEQ added in v0.2.11

func SourceCodeAddressNEQ(v string) predicate.PorterInstance

SourceCodeAddressNEQ applies the NEQ predicate on the "source_code_address" field.

func SourceCodeAddressNotIn added in v0.2.11

func SourceCodeAddressNotIn(vs ...string) predicate.PorterInstance

SourceCodeAddressNotIn applies the NotIn predicate on the "source_code_address" field.

func StatusEQ

func StatusEQ(v Status) predicate.PorterInstance

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

func StatusIn

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

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

func StatusNEQ

func StatusNEQ(v Status) predicate.PorterInstance

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

func StatusNotIn

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

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 UpdatedAt

func UpdatedAt(v time.Time) predicate.PorterInstance

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PorterInstance

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PorterInstance

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PorterInstance

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PorterInstance

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PorterInstance

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PorterInstance

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

func UpdatedAtNotIn

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

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).

func Version

func Version(v string) predicate.PorterInstance

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.PorterInstance

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.PorterInstance

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.PorterInstance

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.PorterInstance

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.PorterInstance

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.PorterInstance

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.PorterInstance

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.PorterInstance

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.PorterInstance

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.PorterInstance

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.PorterInstance

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.PorterInstance

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.PorterInstance

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the PorterInstance queries.

func ByAddress

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

ByAddress orders the results by the address field.

func ByBuildDate added in v0.2.11

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

ByBuildDate orders the results by the build_date field.

func ByBuildVersion added in v0.2.11

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

ByBuildVersion orders the results by the build_version field.

func ByContextJSONSchema added in v0.2.11

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

ByContextJSONSchema orders the results by the context_json_schema field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDescription added in v0.2.11

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

ByDescription orders the results by the description field.

func ByGlobalName

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

ByGlobalName orders the results by the global_name field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByRegion added in v0.2.11

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

ByRegion orders the results by the region field.

func BySourceCodeAddress added in v0.2.11

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

BySourceCodeAddress orders the results by the source_code_address 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.

func ByVersion

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

ByVersion orders the results by the version field.

type Status

type Status string

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

const (
	StatusActive  Status = "active"
	StatusBlocked Status = "blocked"
)

Status values.

func (Status) String

func (s Status) String() string

Jump to

Keyboard shortcuts

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