apppackage

package
v0.0.4-4 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the apppackage type in the database.
	Label = "app_package"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldInternalID holds the string denoting the internal_id field in the database.
	FieldInternalID = "internal_id"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSourceID holds the string denoting the source_id field in the database.
	FieldSourceID = "source_id"
	// FieldSourcePackageID holds the string denoting the source_package_id field in the database.
	FieldSourcePackageID = "source_package_id"
	// 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"
	// FieldBinaryName holds the string denoting the binary_name field in the database.
	FieldBinaryName = "binary_name"
	// FieldBinarySize holds the string denoting the binary_size field in the database.
	FieldBinarySize = "binary_size"
	// 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 apppackage in the database.
	Table = "app_packages"
)

Variables

Columns holds all SQL columns for apppackage fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Functions

func And

func And(predicates ...predicate.AppPackage) predicate.AppPackage

And groups predicates with the AND operator between them.

func BinaryName

func BinaryName(v string) predicate.AppPackage

BinaryName applies equality check predicate on the "binary_name" field. It's identical to BinaryNameEQ.

func BinaryNameContains

func BinaryNameContains(v string) predicate.AppPackage

BinaryNameContains applies the Contains predicate on the "binary_name" field.

func BinaryNameContainsFold

func BinaryNameContainsFold(v string) predicate.AppPackage

BinaryNameContainsFold applies the ContainsFold predicate on the "binary_name" field.

func BinaryNameEQ

func BinaryNameEQ(v string) predicate.AppPackage

BinaryNameEQ applies the EQ predicate on the "binary_name" field.

func BinaryNameEqualFold

func BinaryNameEqualFold(v string) predicate.AppPackage

BinaryNameEqualFold applies the EqualFold predicate on the "binary_name" field.

func BinaryNameGT

func BinaryNameGT(v string) predicate.AppPackage

BinaryNameGT applies the GT predicate on the "binary_name" field.

func BinaryNameGTE

func BinaryNameGTE(v string) predicate.AppPackage

BinaryNameGTE applies the GTE predicate on the "binary_name" field.

func BinaryNameHasPrefix

func BinaryNameHasPrefix(v string) predicate.AppPackage

BinaryNameHasPrefix applies the HasPrefix predicate on the "binary_name" field.

func BinaryNameHasSuffix

func BinaryNameHasSuffix(v string) predicate.AppPackage

BinaryNameHasSuffix applies the HasSuffix predicate on the "binary_name" field.

func BinaryNameIn

func BinaryNameIn(vs ...string) predicate.AppPackage

BinaryNameIn applies the In predicate on the "binary_name" field.

func BinaryNameLT

func BinaryNameLT(v string) predicate.AppPackage

BinaryNameLT applies the LT predicate on the "binary_name" field.

func BinaryNameLTE

func BinaryNameLTE(v string) predicate.AppPackage

BinaryNameLTE applies the LTE predicate on the "binary_name" field.

func BinaryNameNEQ

func BinaryNameNEQ(v string) predicate.AppPackage

BinaryNameNEQ applies the NEQ predicate on the "binary_name" field.

func BinaryNameNotIn

func BinaryNameNotIn(vs ...string) predicate.AppPackage

BinaryNameNotIn applies the NotIn predicate on the "binary_name" field.

func BinarySize

func BinarySize(v string) predicate.AppPackage

BinarySize applies equality check predicate on the "binary_size" field. It's identical to BinarySizeEQ.

func BinarySizeContains

func BinarySizeContains(v string) predicate.AppPackage

BinarySizeContains applies the Contains predicate on the "binary_size" field.

func BinarySizeContainsFold

func BinarySizeContainsFold(v string) predicate.AppPackage

BinarySizeContainsFold applies the ContainsFold predicate on the "binary_size" field.

func BinarySizeEQ

func BinarySizeEQ(v string) predicate.AppPackage

BinarySizeEQ applies the EQ predicate on the "binary_size" field.

func BinarySizeEqualFold

func BinarySizeEqualFold(v string) predicate.AppPackage

BinarySizeEqualFold applies the EqualFold predicate on the "binary_size" field.

func BinarySizeGT

func BinarySizeGT(v string) predicate.AppPackage

BinarySizeGT applies the GT predicate on the "binary_size" field.

func BinarySizeGTE

func BinarySizeGTE(v string) predicate.AppPackage

BinarySizeGTE applies the GTE predicate on the "binary_size" field.

func BinarySizeHasPrefix

func BinarySizeHasPrefix(v string) predicate.AppPackage

BinarySizeHasPrefix applies the HasPrefix predicate on the "binary_size" field.

func BinarySizeHasSuffix

func BinarySizeHasSuffix(v string) predicate.AppPackage

BinarySizeHasSuffix applies the HasSuffix predicate on the "binary_size" field.

func BinarySizeIn

func BinarySizeIn(vs ...string) predicate.AppPackage

BinarySizeIn applies the In predicate on the "binary_size" field.

func BinarySizeLT

func BinarySizeLT(v string) predicate.AppPackage

BinarySizeLT applies the LT predicate on the "binary_size" field.

func BinarySizeLTE

func BinarySizeLTE(v string) predicate.AppPackage

BinarySizeLTE applies the LTE predicate on the "binary_size" field.

func BinarySizeNEQ

func BinarySizeNEQ(v string) predicate.AppPackage

BinarySizeNEQ applies the NEQ predicate on the "binary_size" field.

func BinarySizeNotIn

func BinarySizeNotIn(vs ...string) predicate.AppPackage

BinarySizeNotIn applies the NotIn predicate on the "binary_size" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AppPackage

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AppPackage

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AppPackage

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AppPackage

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AppPackage

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AppPackage

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AppPackage

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

func CreatedAtNotIn

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

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

func Description

func Description(v string) predicate.AppPackage

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

func DescriptionContains

func DescriptionContains(v string) predicate.AppPackage

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.AppPackage

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.AppPackage

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.AppPackage

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

func DescriptionGT

func DescriptionGT(v string) predicate.AppPackage

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.AppPackage

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.AppPackage

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.AppPackage

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

func DescriptionIn

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

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

func DescriptionLT

func DescriptionLT(v string) predicate.AppPackage

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.AppPackage

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.AppPackage

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

func DescriptionNotIn

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

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

func ID

func ID(id int) predicate.AppPackage

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AppPackage

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AppPackage

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AppPackage

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AppPackage

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AppPackage

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AppPackage

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InternalID

func InternalID(v int64) predicate.AppPackage

InternalID applies equality check predicate on the "internal_id" field. It's identical to InternalIDEQ.

func InternalIDEQ

func InternalIDEQ(v int64) predicate.AppPackage

InternalIDEQ applies the EQ predicate on the "internal_id" field.

func InternalIDGT

func InternalIDGT(v int64) predicate.AppPackage

InternalIDGT applies the GT predicate on the "internal_id" field.

func InternalIDGTE

func InternalIDGTE(v int64) predicate.AppPackage

InternalIDGTE applies the GTE predicate on the "internal_id" field.

func InternalIDIn

func InternalIDIn(vs ...int64) predicate.AppPackage

InternalIDIn applies the In predicate on the "internal_id" field.

func InternalIDLT

func InternalIDLT(v int64) predicate.AppPackage

InternalIDLT applies the LT predicate on the "internal_id" field.

func InternalIDLTE

func InternalIDLTE(v int64) predicate.AppPackage

InternalIDLTE applies the LTE predicate on the "internal_id" field.

func InternalIDNEQ

func InternalIDNEQ(v int64) predicate.AppPackage

InternalIDNEQ applies the NEQ predicate on the "internal_id" field.

func InternalIDNotIn

func InternalIDNotIn(vs ...int64) predicate.AppPackage

InternalIDNotIn applies the NotIn predicate on the "internal_id" field.

func Name

func Name(v string) predicate.AppPackage

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

func NameContains

func NameContains(v string) predicate.AppPackage

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

func NameContainsFold

func NameContainsFold(v string) predicate.AppPackage

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

func NameEQ

func NameEQ(v string) predicate.AppPackage

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

func NameEqualFold

func NameEqualFold(v string) predicate.AppPackage

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

func NameGT

func NameGT(v string) predicate.AppPackage

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

func NameGTE

func NameGTE(v string) predicate.AppPackage

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.AppPackage

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.AppPackage

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.AppPackage

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

func NameLTE

func NameLTE(v string) predicate.AppPackage

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

func NameNEQ

func NameNEQ(v string) predicate.AppPackage

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

func NameNotIn

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

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

Or groups predicates with the OR operator between them.

func SourceEQ

func SourceEQ(v Source) predicate.AppPackage

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

func SourceID

func SourceID(v int64) predicate.AppPackage

SourceID applies equality check predicate on the "source_id" field. It's identical to SourceIDEQ.

func SourceIDEQ

func SourceIDEQ(v int64) predicate.AppPackage

SourceIDEQ applies the EQ predicate on the "source_id" field.

func SourceIDGT

func SourceIDGT(v int64) predicate.AppPackage

SourceIDGT applies the GT predicate on the "source_id" field.

func SourceIDGTE

func SourceIDGTE(v int64) predicate.AppPackage

SourceIDGTE applies the GTE predicate on the "source_id" field.

func SourceIDIn

func SourceIDIn(vs ...int64) predicate.AppPackage

SourceIDIn applies the In predicate on the "source_id" field.

func SourceIDLT

func SourceIDLT(v int64) predicate.AppPackage

SourceIDLT applies the LT predicate on the "source_id" field.

func SourceIDLTE

func SourceIDLTE(v int64) predicate.AppPackage

SourceIDLTE applies the LTE predicate on the "source_id" field.

func SourceIDNEQ

func SourceIDNEQ(v int64) predicate.AppPackage

SourceIDNEQ applies the NEQ predicate on the "source_id" field.

func SourceIDNotIn

func SourceIDNotIn(vs ...int64) predicate.AppPackage

SourceIDNotIn applies the NotIn predicate on the "source_id" field.

func SourceIn

func SourceIn(vs ...Source) predicate.AppPackage

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

func SourceNEQ

func SourceNEQ(v Source) predicate.AppPackage

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

func SourceNotIn

func SourceNotIn(vs ...Source) predicate.AppPackage

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

func SourcePackageID

func SourcePackageID(v string) predicate.AppPackage

SourcePackageID applies equality check predicate on the "source_package_id" field. It's identical to SourcePackageIDEQ.

func SourcePackageIDContains

func SourcePackageIDContains(v string) predicate.AppPackage

SourcePackageIDContains applies the Contains predicate on the "source_package_id" field.

func SourcePackageIDContainsFold

func SourcePackageIDContainsFold(v string) predicate.AppPackage

SourcePackageIDContainsFold applies the ContainsFold predicate on the "source_package_id" field.

func SourcePackageIDEQ

func SourcePackageIDEQ(v string) predicate.AppPackage

SourcePackageIDEQ applies the EQ predicate on the "source_package_id" field.

func SourcePackageIDEqualFold

func SourcePackageIDEqualFold(v string) predicate.AppPackage

SourcePackageIDEqualFold applies the EqualFold predicate on the "source_package_id" field.

func SourcePackageIDGT

func SourcePackageIDGT(v string) predicate.AppPackage

SourcePackageIDGT applies the GT predicate on the "source_package_id" field.

func SourcePackageIDGTE

func SourcePackageIDGTE(v string) predicate.AppPackage

SourcePackageIDGTE applies the GTE predicate on the "source_package_id" field.

func SourcePackageIDHasPrefix

func SourcePackageIDHasPrefix(v string) predicate.AppPackage

SourcePackageIDHasPrefix applies the HasPrefix predicate on the "source_package_id" field.

func SourcePackageIDHasSuffix

func SourcePackageIDHasSuffix(v string) predicate.AppPackage

SourcePackageIDHasSuffix applies the HasSuffix predicate on the "source_package_id" field.

func SourcePackageIDIn

func SourcePackageIDIn(vs ...string) predicate.AppPackage

SourcePackageIDIn applies the In predicate on the "source_package_id" field.

func SourcePackageIDLT

func SourcePackageIDLT(v string) predicate.AppPackage

SourcePackageIDLT applies the LT predicate on the "source_package_id" field.

func SourcePackageIDLTE

func SourcePackageIDLTE(v string) predicate.AppPackage

SourcePackageIDLTE applies the LTE predicate on the "source_package_id" field.

func SourcePackageIDNEQ

func SourcePackageIDNEQ(v string) predicate.AppPackage

SourcePackageIDNEQ applies the NEQ predicate on the "source_package_id" field.

func SourcePackageIDNotIn

func SourcePackageIDNotIn(vs ...string) predicate.AppPackage

SourcePackageIDNotIn applies the NotIn predicate on the "source_package_id" field.

func SourceValidator

func SourceValidator(s Source) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AppPackage

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AppPackage

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AppPackage

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AppPackage

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AppPackage

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AppPackage

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AppPackage

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

func UpdatedAtNotIn

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

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 Source

type Source string

Source defines the type for the "source" enum field.

const (
	SourceManual   Source = "manual"
	SourceSentinel Source = "sentinel"
)

Source values.

func (Source) String

func (s Source) String() string

Jump to

Keyboard shortcuts

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