oscontext

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oscontext type in the database.
	Label = "os_context"
	// 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"
	// FieldFamily holds the string denoting the family field in the database.
	FieldFamily = "family"
	// FieldPlatform holds the string denoting the platform field in the database.
	FieldPlatform = "platform"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"

	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"

	// Table holds the table name of the oscontext in the database.
	Table = "os"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "event_os"
)

Variables

Columns holds all SQL columns for oscontext fields.

Functions

func And

func And(predicates ...predicate.OSContext) predicate.OSContext

And groups list of predicates with the AND operator between them.

func Family

func Family(v string) predicate.OSContext

Family applies equality check predicate on the "family" field. It's identical to FamilyEQ.

func FamilyContains

func FamilyContains(v string) predicate.OSContext

FamilyContains applies the Contains predicate on the "family" field.

func FamilyContainsFold

func FamilyContainsFold(v string) predicate.OSContext

FamilyContainsFold applies the ContainsFold predicate on the "family" field.

func FamilyEQ

func FamilyEQ(v string) predicate.OSContext

FamilyEQ applies the EQ predicate on the "family" field.

func FamilyEqualFold

func FamilyEqualFold(v string) predicate.OSContext

FamilyEqualFold applies the EqualFold predicate on the "family" field.

func FamilyGT

func FamilyGT(v string) predicate.OSContext

FamilyGT applies the GT predicate on the "family" field.

func FamilyGTE

func FamilyGTE(v string) predicate.OSContext

FamilyGTE applies the GTE predicate on the "family" field.

func FamilyHasPrefix

func FamilyHasPrefix(v string) predicate.OSContext

FamilyHasPrefix applies the HasPrefix predicate on the "family" field.

func FamilyHasSuffix

func FamilyHasSuffix(v string) predicate.OSContext

FamilyHasSuffix applies the HasSuffix predicate on the "family" field.

func FamilyIn

func FamilyIn(vs ...string) predicate.OSContext

FamilyIn applies the In predicate on the "family" field.

func FamilyLT

func FamilyLT(v string) predicate.OSContext

FamilyLT applies the LT predicate on the "family" field.

func FamilyLTE

func FamilyLTE(v string) predicate.OSContext

FamilyLTE applies the LTE predicate on the "family" field.

func FamilyNEQ

func FamilyNEQ(v string) predicate.OSContext

FamilyNEQ applies the NEQ predicate on the "family" field.

func FamilyNotIn

func FamilyNotIn(vs ...string) predicate.OSContext

FamilyNotIn applies the NotIn predicate on the "family" field.

func HasEvents

func HasEvents() predicate.OSContext

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.OSContext

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

func ID

func ID(id int) predicate.OSContext

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.OSContext

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.OSContext

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.OSContext

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.OSContext

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.OSContext

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.OSContext

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.OSContext

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

func NameContains

func NameContains(v string) predicate.OSContext

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

func NameContainsFold

func NameContainsFold(v string) predicate.OSContext

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

func NameEQ

func NameEQ(v string) predicate.OSContext

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

func NameEqualFold

func NameEqualFold(v string) predicate.OSContext

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

func NameGT

func NameGT(v string) predicate.OSContext

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

func NameGTE

func NameGTE(v string) predicate.OSContext

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.OSContext

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.OSContext

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.OSContext

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

func NameLTE

func NameLTE(v string) predicate.OSContext

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

func NameNEQ

func NameNEQ(v string) predicate.OSContext

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

func NameNotIn

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

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

Or groups list of predicates with the OR operator between them.

func Platform

func Platform(v string) predicate.OSContext

Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.

func PlatformContains

func PlatformContains(v string) predicate.OSContext

PlatformContains applies the Contains predicate on the "platform" field.

func PlatformContainsFold

func PlatformContainsFold(v string) predicate.OSContext

PlatformContainsFold applies the ContainsFold predicate on the "platform" field.

func PlatformEQ

func PlatformEQ(v string) predicate.OSContext

PlatformEQ applies the EQ predicate on the "platform" field.

func PlatformEqualFold

func PlatformEqualFold(v string) predicate.OSContext

PlatformEqualFold applies the EqualFold predicate on the "platform" field.

func PlatformGT

func PlatformGT(v string) predicate.OSContext

PlatformGT applies the GT predicate on the "platform" field.

func PlatformGTE

func PlatformGTE(v string) predicate.OSContext

PlatformGTE applies the GTE predicate on the "platform" field.

func PlatformHasPrefix

func PlatformHasPrefix(v string) predicate.OSContext

PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.

func PlatformHasSuffix

func PlatformHasSuffix(v string) predicate.OSContext

PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.

func PlatformIn

func PlatformIn(vs ...string) predicate.OSContext

PlatformIn applies the In predicate on the "platform" field.

func PlatformIsNil

func PlatformIsNil() predicate.OSContext

PlatformIsNil applies the IsNil predicate on the "platform" field.

func PlatformLT

func PlatformLT(v string) predicate.OSContext

PlatformLT applies the LT predicate on the "platform" field.

func PlatformLTE

func PlatformLTE(v string) predicate.OSContext

PlatformLTE applies the LTE predicate on the "platform" field.

func PlatformNEQ

func PlatformNEQ(v string) predicate.OSContext

PlatformNEQ applies the NEQ predicate on the "platform" field.

func PlatformNotIn

func PlatformNotIn(vs ...string) predicate.OSContext

PlatformNotIn applies the NotIn predicate on the "platform" field.

func PlatformNotNil

func PlatformNotNil() predicate.OSContext

PlatformNotNil applies the NotNil predicate on the "platform" field.

func Version

func Version(v string) predicate.OSContext

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

func VersionContains

func VersionContains(v string) predicate.OSContext

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.OSContext

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

func VersionEQ

func VersionEQ(v string) predicate.OSContext

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.OSContext

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

func VersionGT

func VersionGT(v string) predicate.OSContext

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

func VersionGTE

func VersionGTE(v string) predicate.OSContext

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.OSContext

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.OSContext

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

func VersionIn

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

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

func VersionLT

func VersionLT(v string) predicate.OSContext

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

func VersionLTE

func VersionLTE(v string) predicate.OSContext

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

func VersionNEQ

func VersionNEQ(v string) predicate.OSContext

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

func VersionNotIn

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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