apppackage

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 6 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"
	// 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"
	// 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"
	// FieldPublic holds the string denoting the public field in the database.
	FieldPublic = "public"
	// FieldBinaryName holds the string denoting the binary_name field in the database.
	FieldBinaryName = "binary_name"
	// FieldBinarySizeBytes holds the string denoting the binary_size_bytes field in the database.
	FieldBinarySizeBytes = "binary_size_bytes"
	// FieldBinaryPublicURL holds the string denoting the binary_public_url field in the database.
	FieldBinaryPublicURL = "binary_public_url"
	// FieldBinarySha256 holds the string denoting the binary_sha256 field in the database.
	FieldBinarySha256 = "binary_sha256"
	// 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"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeApp holds the string denoting the app edge name in mutations.
	EdgeApp = "app"
	// Table holds the table name of the apppackage in the database.
	Table = "app_packages"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "app_packages"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "user_app_package"
	// AppTable is the table that holds the app relation/edge.
	AppTable = "app_packages"
	// AppInverseTable is the table name for the App entity.
	// It exists in this package in order to avoid circular dependency with the "app" package.
	AppInverseTable = "apps"
	// AppColumn is the table column denoting the app relation/edge.
	AppColumn = "app_app_package"
)

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 apppackage fields.

View Source
var ForeignKeys = []string{
	"app_app_package",
	"user_app_package",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "app_packages" table and are not defined as standalone fields in the schema.

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 BinaryNameIsNil added in v0.1.9

func BinaryNameIsNil() predicate.AppPackage

BinaryNameIsNil applies the IsNil 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 BinaryNameNotNil added in v0.1.9

func BinaryNameNotNil() predicate.AppPackage

BinaryNameNotNil applies the NotNil predicate on the "binary_name" field.

func BinaryPublicURL

func BinaryPublicURL(v string) predicate.AppPackage

BinaryPublicURL applies equality check predicate on the "binary_public_url" field. It's identical to BinaryPublicURLEQ.

func BinaryPublicURLContains

func BinaryPublicURLContains(v string) predicate.AppPackage

BinaryPublicURLContains applies the Contains predicate on the "binary_public_url" field.

func BinaryPublicURLContainsFold

func BinaryPublicURLContainsFold(v string) predicate.AppPackage

BinaryPublicURLContainsFold applies the ContainsFold predicate on the "binary_public_url" field.

func BinaryPublicURLEQ

func BinaryPublicURLEQ(v string) predicate.AppPackage

BinaryPublicURLEQ applies the EQ predicate on the "binary_public_url" field.

func BinaryPublicURLEqualFold

func BinaryPublicURLEqualFold(v string) predicate.AppPackage

BinaryPublicURLEqualFold applies the EqualFold predicate on the "binary_public_url" field.

func BinaryPublicURLGT

func BinaryPublicURLGT(v string) predicate.AppPackage

BinaryPublicURLGT applies the GT predicate on the "binary_public_url" field.

func BinaryPublicURLGTE

func BinaryPublicURLGTE(v string) predicate.AppPackage

BinaryPublicURLGTE applies the GTE predicate on the "binary_public_url" field.

func BinaryPublicURLHasPrefix

func BinaryPublicURLHasPrefix(v string) predicate.AppPackage

BinaryPublicURLHasPrefix applies the HasPrefix predicate on the "binary_public_url" field.

func BinaryPublicURLHasSuffix

func BinaryPublicURLHasSuffix(v string) predicate.AppPackage

BinaryPublicURLHasSuffix applies the HasSuffix predicate on the "binary_public_url" field.

func BinaryPublicURLIn

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

BinaryPublicURLIn applies the In predicate on the "binary_public_url" field.

func BinaryPublicURLIsNil added in v0.1.9

func BinaryPublicURLIsNil() predicate.AppPackage

BinaryPublicURLIsNil applies the IsNil predicate on the "binary_public_url" field.

func BinaryPublicURLLT

func BinaryPublicURLLT(v string) predicate.AppPackage

BinaryPublicURLLT applies the LT predicate on the "binary_public_url" field.

func BinaryPublicURLLTE

func BinaryPublicURLLTE(v string) predicate.AppPackage

BinaryPublicURLLTE applies the LTE predicate on the "binary_public_url" field.

func BinaryPublicURLNEQ

func BinaryPublicURLNEQ(v string) predicate.AppPackage

BinaryPublicURLNEQ applies the NEQ predicate on the "binary_public_url" field.

func BinaryPublicURLNotIn

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

BinaryPublicURLNotIn applies the NotIn predicate on the "binary_public_url" field.

func BinaryPublicURLNotNil added in v0.1.9

func BinaryPublicURLNotNil() predicate.AppPackage

BinaryPublicURLNotNil applies the NotNil predicate on the "binary_public_url" field.

func BinarySha256 added in v0.1.4

func BinarySha256(v []byte) predicate.AppPackage

BinarySha256 applies equality check predicate on the "binary_sha256" field. It's identical to BinarySha256EQ.

func BinarySha256EQ added in v0.1.4

func BinarySha256EQ(v []byte) predicate.AppPackage

BinarySha256EQ applies the EQ predicate on the "binary_sha256" field.

func BinarySha256GT added in v0.1.4

func BinarySha256GT(v []byte) predicate.AppPackage

BinarySha256GT applies the GT predicate on the "binary_sha256" field.

func BinarySha256GTE added in v0.1.4

func BinarySha256GTE(v []byte) predicate.AppPackage

BinarySha256GTE applies the GTE predicate on the "binary_sha256" field.

func BinarySha256In added in v0.1.4

func BinarySha256In(vs ...[]byte) predicate.AppPackage

BinarySha256In applies the In predicate on the "binary_sha256" field.

func BinarySha256IsNil added in v0.1.9

func BinarySha256IsNil() predicate.AppPackage

BinarySha256IsNil applies the IsNil predicate on the "binary_sha256" field.

func BinarySha256LT added in v0.1.4

func BinarySha256LT(v []byte) predicate.AppPackage

BinarySha256LT applies the LT predicate on the "binary_sha256" field.

func BinarySha256LTE added in v0.1.4

func BinarySha256LTE(v []byte) predicate.AppPackage

BinarySha256LTE applies the LTE predicate on the "binary_sha256" field.

func BinarySha256NEQ added in v0.1.4

func BinarySha256NEQ(v []byte) predicate.AppPackage

BinarySha256NEQ applies the NEQ predicate on the "binary_sha256" field.

func BinarySha256NotIn added in v0.1.4

func BinarySha256NotIn(vs ...[]byte) predicate.AppPackage

BinarySha256NotIn applies the NotIn predicate on the "binary_sha256" field.

func BinarySha256NotNil added in v0.1.9

func BinarySha256NotNil() predicate.AppPackage

BinarySha256NotNil applies the NotNil predicate on the "binary_sha256" field.

func BinarySizeBytes added in v0.1.5

func BinarySizeBytes(v int64) predicate.AppPackage

BinarySizeBytes applies equality check predicate on the "binary_size_bytes" field. It's identical to BinarySizeBytesEQ.

func BinarySizeBytesEQ added in v0.1.5

func BinarySizeBytesEQ(v int64) predicate.AppPackage

BinarySizeBytesEQ applies the EQ predicate on the "binary_size_bytes" field.

func BinarySizeBytesGT added in v0.1.5

func BinarySizeBytesGT(v int64) predicate.AppPackage

BinarySizeBytesGT applies the GT predicate on the "binary_size_bytes" field.

func BinarySizeBytesGTE added in v0.1.5

func BinarySizeBytesGTE(v int64) predicate.AppPackage

BinarySizeBytesGTE applies the GTE predicate on the "binary_size_bytes" field.

func BinarySizeBytesIn added in v0.1.5

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

BinarySizeBytesIn applies the In predicate on the "binary_size_bytes" field.

func BinarySizeBytesIsNil added in v0.1.9

func BinarySizeBytesIsNil() predicate.AppPackage

BinarySizeBytesIsNil applies the IsNil predicate on the "binary_size_bytes" field.

func BinarySizeBytesLT added in v0.1.5

func BinarySizeBytesLT(v int64) predicate.AppPackage

BinarySizeBytesLT applies the LT predicate on the "binary_size_bytes" field.

func BinarySizeBytesLTE added in v0.1.5

func BinarySizeBytesLTE(v int64) predicate.AppPackage

BinarySizeBytesLTE applies the LTE predicate on the "binary_size_bytes" field.

func BinarySizeBytesNEQ added in v0.1.5

func BinarySizeBytesNEQ(v int64) predicate.AppPackage

BinarySizeBytesNEQ applies the NEQ predicate on the "binary_size_bytes" field.

func BinarySizeBytesNotIn added in v0.1.5

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

BinarySizeBytesNotIn applies the NotIn predicate on the "binary_size_bytes" field.

func BinarySizeBytesNotNil added in v0.1.9

func BinarySizeBytesNotNil() predicate.AppPackage

BinarySizeBytesNotNil applies the NotNil predicate on the "binary_size_bytes" 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 HasApp

func HasApp() predicate.AppPackage

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppWith

func HasAppWith(preds ...predicate.App) predicate.AppPackage

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

func HasOwner

func HasOwner() predicate.AppPackage

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.AppPackage

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

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

func IDIn(ids ...model.InternalID) predicate.AppPackage

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

IDNotIn applies the NotIn predicate on the 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 Public

func Public(v bool) predicate.AppPackage

Public applies equality check predicate on the "public" field. It's identical to PublicEQ.

func PublicEQ

func PublicEQ(v bool) predicate.AppPackage

PublicEQ applies the EQ predicate on the "public" field.

func PublicNEQ

func PublicNEQ(v bool) predicate.AppPackage

PublicNEQ applies the NEQ predicate on the "public" field.

func SourceEQ

func SourceEQ(v Source) predicate.AppPackage

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

func SourceID

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

func SourceIDEQ

func SourceIDEQ(v model.InternalID) predicate.AppPackage

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

func SourceIDGT

func SourceIDGT(v model.InternalID) predicate.AppPackage

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

func SourceIDGTE

func SourceIDGTE(v model.InternalID) predicate.AppPackage

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

func SourceIDIn

func SourceIDIn(vs ...model.InternalID) predicate.AppPackage

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

func SourceIDLT

func SourceIDLT(v model.InternalID) predicate.AppPackage

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

func SourceIDLTE

func SourceIDLTE(v model.InternalID) predicate.AppPackage

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

func SourceIDNEQ

func SourceIDNEQ(v model.InternalID) predicate.AppPackage

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

func SourceIDNotIn

func SourceIDNotIn(vs ...model.InternalID) 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 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 OrderOption added in v0.1.4

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AppPackage queries.

func ByAppField added in v0.1.4

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

ByAppField orders the results by app field.

func ByBinaryName added in v0.1.4

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

ByBinaryName orders the results by the binary_name field.

func ByBinaryPublicURL added in v0.1.4

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

ByBinaryPublicURL orders the results by the binary_public_url field.

func ByBinarySizeBytes added in v0.1.5

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

ByBinarySizeBytes orders the results by the binary_size_bytes field.

func ByCreatedAt added in v0.1.4

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

ByCreatedAt orders the results by the created_at field.

func ByDescription added in v0.1.4

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

ByDescription orders the results by the description field.

func ByID added in v0.1.4

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

ByID orders the results by the id field.

func ByName added in v0.1.4

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

ByName orders the results by the name field.

func ByOwnerField added in v0.1.4

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

ByOwnerField orders the results by owner field.

func ByPublic added in v0.1.4

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

ByPublic orders the results by the public field.

func BySource added in v0.1.4

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

BySource orders the results by the source field.

func BySourceID added in v0.1.4

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

BySourceID orders the results by the source_id field.

func ByUpdatedAt added in v0.1.4

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

ByUpdatedAt orders the results by the updated_at field.

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