release

package
v0.0.0-...-d46c51b Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the release type in the database.
	Label = "release"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldReleaseType holds the string denoting the release_type field in the database.
	FieldReleaseType = "release_type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldChannel holds the string denoting the channel field in the database.
	FieldChannel = "channel"
	// FieldSummary holds the string denoting the summary field in the database.
	FieldSummary = "summary"
	// FieldReleaseNotes holds the string denoting the release_notes field in the database.
	FieldReleaseNotes = "release_notes"
	// FieldFileURL holds the string denoting the file_url field in the database.
	FieldFileURL = "file_url"
	// FieldChecksum holds the string denoting the checksum field in the database.
	FieldChecksum = "checksum"
	// FieldIsCritical holds the string denoting the is_critical field in the database.
	FieldIsCritical = "is_critical"
	// FieldReleaseDate holds the string denoting the release_date field in the database.
	FieldReleaseDate = "release_date"
	// FieldOs holds the string denoting the os field in the database.
	FieldOs = "os"
	// FieldArch holds the string denoting the arch field in the database.
	FieldArch = "arch"
	// EdgeAgents holds the string denoting the agents edge name in mutations.
	EdgeAgents = "agents"
	// AgentFieldID holds the string denoting the ID field of the Agent.
	AgentFieldID = "oid"
	// Table holds the table name of the release in the database.
	Table = "releases"
	// AgentsTable is the table that holds the agents relation/edge.
	AgentsTable = "agents"
	// AgentsInverseTable is the table name for the Agent entity.
	// It exists in this package in order to avoid circular dependency with the "agent" package.
	AgentsInverseTable = "agents"
	// AgentsColumn is the table column denoting the agents relation/edge.
	AgentsColumn = "release_agents"
)

Variables

Columns holds all SQL columns for release fields.

Functions

func And

func And(predicates ...predicate.Release) predicate.Release

And groups predicates with the AND operator between them.

func Arch

func Arch(v string) predicate.Release

Arch applies equality check predicate on the "arch" field. It's identical to ArchEQ.

func ArchContains

func ArchContains(v string) predicate.Release

ArchContains applies the Contains predicate on the "arch" field.

func ArchContainsFold

func ArchContainsFold(v string) predicate.Release

ArchContainsFold applies the ContainsFold predicate on the "arch" field.

func ArchEQ

func ArchEQ(v string) predicate.Release

ArchEQ applies the EQ predicate on the "arch" field.

func ArchEqualFold

func ArchEqualFold(v string) predicate.Release

ArchEqualFold applies the EqualFold predicate on the "arch" field.

func ArchGT

func ArchGT(v string) predicate.Release

ArchGT applies the GT predicate on the "arch" field.

func ArchGTE

func ArchGTE(v string) predicate.Release

ArchGTE applies the GTE predicate on the "arch" field.

func ArchHasPrefix

func ArchHasPrefix(v string) predicate.Release

ArchHasPrefix applies the HasPrefix predicate on the "arch" field.

func ArchHasSuffix

func ArchHasSuffix(v string) predicate.Release

ArchHasSuffix applies the HasSuffix predicate on the "arch" field.

func ArchIn

func ArchIn(vs ...string) predicate.Release

ArchIn applies the In predicate on the "arch" field.

func ArchIsNil

func ArchIsNil() predicate.Release

ArchIsNil applies the IsNil predicate on the "arch" field.

func ArchLT

func ArchLT(v string) predicate.Release

ArchLT applies the LT predicate on the "arch" field.

func ArchLTE

func ArchLTE(v string) predicate.Release

ArchLTE applies the LTE predicate on the "arch" field.

func ArchNEQ

func ArchNEQ(v string) predicate.Release

ArchNEQ applies the NEQ predicate on the "arch" field.

func ArchNotIn

func ArchNotIn(vs ...string) predicate.Release

ArchNotIn applies the NotIn predicate on the "arch" field.

func ArchNotNil

func ArchNotNil() predicate.Release

ArchNotNil applies the NotNil predicate on the "arch" field.

func Channel

func Channel(v string) predicate.Release

Channel applies equality check predicate on the "channel" field. It's identical to ChannelEQ.

func ChannelContains

func ChannelContains(v string) predicate.Release

ChannelContains applies the Contains predicate on the "channel" field.

func ChannelContainsFold

func ChannelContainsFold(v string) predicate.Release

ChannelContainsFold applies the ContainsFold predicate on the "channel" field.

func ChannelEQ

func ChannelEQ(v string) predicate.Release

ChannelEQ applies the EQ predicate on the "channel" field.

func ChannelEqualFold

func ChannelEqualFold(v string) predicate.Release

ChannelEqualFold applies the EqualFold predicate on the "channel" field.

func ChannelGT

func ChannelGT(v string) predicate.Release

ChannelGT applies the GT predicate on the "channel" field.

func ChannelGTE

func ChannelGTE(v string) predicate.Release

ChannelGTE applies the GTE predicate on the "channel" field.

func ChannelHasPrefix

func ChannelHasPrefix(v string) predicate.Release

ChannelHasPrefix applies the HasPrefix predicate on the "channel" field.

func ChannelHasSuffix

func ChannelHasSuffix(v string) predicate.Release

ChannelHasSuffix applies the HasSuffix predicate on the "channel" field.

func ChannelIn

func ChannelIn(vs ...string) predicate.Release

ChannelIn applies the In predicate on the "channel" field.

func ChannelIsNil

func ChannelIsNil() predicate.Release

ChannelIsNil applies the IsNil predicate on the "channel" field.

func ChannelLT

func ChannelLT(v string) predicate.Release

ChannelLT applies the LT predicate on the "channel" field.

func ChannelLTE

func ChannelLTE(v string) predicate.Release

ChannelLTE applies the LTE predicate on the "channel" field.

func ChannelNEQ

func ChannelNEQ(v string) predicate.Release

ChannelNEQ applies the NEQ predicate on the "channel" field.

func ChannelNotIn

func ChannelNotIn(vs ...string) predicate.Release

ChannelNotIn applies the NotIn predicate on the "channel" field.

func ChannelNotNil

func ChannelNotNil() predicate.Release

ChannelNotNil applies the NotNil predicate on the "channel" field.

func Checksum

func Checksum(v string) predicate.Release

Checksum applies equality check predicate on the "checksum" field. It's identical to ChecksumEQ.

func ChecksumContains

func ChecksumContains(v string) predicate.Release

ChecksumContains applies the Contains predicate on the "checksum" field.

func ChecksumContainsFold

func ChecksumContainsFold(v string) predicate.Release

ChecksumContainsFold applies the ContainsFold predicate on the "checksum" field.

func ChecksumEQ

func ChecksumEQ(v string) predicate.Release

ChecksumEQ applies the EQ predicate on the "checksum" field.

func ChecksumEqualFold

func ChecksumEqualFold(v string) predicate.Release

ChecksumEqualFold applies the EqualFold predicate on the "checksum" field.

func ChecksumGT

func ChecksumGT(v string) predicate.Release

ChecksumGT applies the GT predicate on the "checksum" field.

func ChecksumGTE

func ChecksumGTE(v string) predicate.Release

ChecksumGTE applies the GTE predicate on the "checksum" field.

func ChecksumHasPrefix

func ChecksumHasPrefix(v string) predicate.Release

ChecksumHasPrefix applies the HasPrefix predicate on the "checksum" field.

func ChecksumHasSuffix

func ChecksumHasSuffix(v string) predicate.Release

ChecksumHasSuffix applies the HasSuffix predicate on the "checksum" field.

func ChecksumIn

func ChecksumIn(vs ...string) predicate.Release

ChecksumIn applies the In predicate on the "checksum" field.

func ChecksumIsNil

func ChecksumIsNil() predicate.Release

ChecksumIsNil applies the IsNil predicate on the "checksum" field.

func ChecksumLT

func ChecksumLT(v string) predicate.Release

ChecksumLT applies the LT predicate on the "checksum" field.

func ChecksumLTE

func ChecksumLTE(v string) predicate.Release

ChecksumLTE applies the LTE predicate on the "checksum" field.

func ChecksumNEQ

func ChecksumNEQ(v string) predicate.Release

ChecksumNEQ applies the NEQ predicate on the "checksum" field.

func ChecksumNotIn

func ChecksumNotIn(vs ...string) predicate.Release

ChecksumNotIn applies the NotIn predicate on the "checksum" field.

func ChecksumNotNil

func ChecksumNotNil() predicate.Release

ChecksumNotNil applies the NotNil predicate on the "checksum" field.

func FileURL

func FileURL(v string) predicate.Release

FileURL applies equality check predicate on the "file_url" field. It's identical to FileURLEQ.

func FileURLContains

func FileURLContains(v string) predicate.Release

FileURLContains applies the Contains predicate on the "file_url" field.

func FileURLContainsFold

func FileURLContainsFold(v string) predicate.Release

FileURLContainsFold applies the ContainsFold predicate on the "file_url" field.

func FileURLEQ

func FileURLEQ(v string) predicate.Release

FileURLEQ applies the EQ predicate on the "file_url" field.

func FileURLEqualFold

func FileURLEqualFold(v string) predicate.Release

FileURLEqualFold applies the EqualFold predicate on the "file_url" field.

func FileURLGT

func FileURLGT(v string) predicate.Release

FileURLGT applies the GT predicate on the "file_url" field.

func FileURLGTE

func FileURLGTE(v string) predicate.Release

FileURLGTE applies the GTE predicate on the "file_url" field.

func FileURLHasPrefix

func FileURLHasPrefix(v string) predicate.Release

FileURLHasPrefix applies the HasPrefix predicate on the "file_url" field.

func FileURLHasSuffix

func FileURLHasSuffix(v string) predicate.Release

FileURLHasSuffix applies the HasSuffix predicate on the "file_url" field.

func FileURLIn

func FileURLIn(vs ...string) predicate.Release

FileURLIn applies the In predicate on the "file_url" field.

func FileURLIsNil

func FileURLIsNil() predicate.Release

FileURLIsNil applies the IsNil predicate on the "file_url" field.

func FileURLLT

func FileURLLT(v string) predicate.Release

FileURLLT applies the LT predicate on the "file_url" field.

func FileURLLTE

func FileURLLTE(v string) predicate.Release

FileURLLTE applies the LTE predicate on the "file_url" field.

func FileURLNEQ

func FileURLNEQ(v string) predicate.Release

FileURLNEQ applies the NEQ predicate on the "file_url" field.

func FileURLNotIn

func FileURLNotIn(vs ...string) predicate.Release

FileURLNotIn applies the NotIn predicate on the "file_url" field.

func FileURLNotNil

func FileURLNotNil() predicate.Release

FileURLNotNil applies the NotNil predicate on the "file_url" field.

func HasAgents

func HasAgents() predicate.Release

HasAgents applies the HasEdge predicate on the "agents" edge.

func HasAgentsWith

func HasAgentsWith(preds ...predicate.Agent) predicate.Release

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

func ID

func ID(id int) predicate.Release

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Release

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Release

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Release

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Release

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Release

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Release

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsCritical

func IsCritical(v bool) predicate.Release

IsCritical applies equality check predicate on the "is_critical" field. It's identical to IsCriticalEQ.

func IsCriticalEQ

func IsCriticalEQ(v bool) predicate.Release

IsCriticalEQ applies the EQ predicate on the "is_critical" field.

func IsCriticalIsNil

func IsCriticalIsNil() predicate.Release

IsCriticalIsNil applies the IsNil predicate on the "is_critical" field.

func IsCriticalNEQ

func IsCriticalNEQ(v bool) predicate.Release

IsCriticalNEQ applies the NEQ predicate on the "is_critical" field.

func IsCriticalNotNil

func IsCriticalNotNil() predicate.Release

IsCriticalNotNil applies the NotNil predicate on the "is_critical" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Release) predicate.Release

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Release

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.Release

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold

func OsContainsFold(v string) predicate.Release

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ

func OsEQ(v string) predicate.Release

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold

func OsEqualFold(v string) predicate.Release

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT

func OsGT(v string) predicate.Release

OsGT applies the GT predicate on the "os" field.

func OsGTE

func OsGTE(v string) predicate.Release

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix

func OsHasPrefix(v string) predicate.Release

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix

func OsHasSuffix(v string) predicate.Release

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn

func OsIn(vs ...string) predicate.Release

OsIn applies the In predicate on the "os" field.

func OsIsNil

func OsIsNil() predicate.Release

OsIsNil applies the IsNil predicate on the "os" field.

func OsLT

func OsLT(v string) predicate.Release

OsLT applies the LT predicate on the "os" field.

func OsLTE

func OsLTE(v string) predicate.Release

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ

func OsNEQ(v string) predicate.Release

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn

func OsNotIn(vs ...string) predicate.Release

OsNotIn applies the NotIn predicate on the "os" field.

func OsNotNil

func OsNotNil() predicate.Release

OsNotNil applies the NotNil predicate on the "os" field.

func ReleaseDate

func ReleaseDate(v time.Time) predicate.Release

ReleaseDate applies equality check predicate on the "release_date" field. It's identical to ReleaseDateEQ.

func ReleaseDateEQ

func ReleaseDateEQ(v time.Time) predicate.Release

ReleaseDateEQ applies the EQ predicate on the "release_date" field.

func ReleaseDateGT

func ReleaseDateGT(v time.Time) predicate.Release

ReleaseDateGT applies the GT predicate on the "release_date" field.

func ReleaseDateGTE

func ReleaseDateGTE(v time.Time) predicate.Release

ReleaseDateGTE applies the GTE predicate on the "release_date" field.

func ReleaseDateIn

func ReleaseDateIn(vs ...time.Time) predicate.Release

ReleaseDateIn applies the In predicate on the "release_date" field.

func ReleaseDateIsNil

func ReleaseDateIsNil() predicate.Release

ReleaseDateIsNil applies the IsNil predicate on the "release_date" field.

func ReleaseDateLT

func ReleaseDateLT(v time.Time) predicate.Release

ReleaseDateLT applies the LT predicate on the "release_date" field.

func ReleaseDateLTE

func ReleaseDateLTE(v time.Time) predicate.Release

ReleaseDateLTE applies the LTE predicate on the "release_date" field.

func ReleaseDateNEQ

func ReleaseDateNEQ(v time.Time) predicate.Release

ReleaseDateNEQ applies the NEQ predicate on the "release_date" field.

func ReleaseDateNotIn

func ReleaseDateNotIn(vs ...time.Time) predicate.Release

ReleaseDateNotIn applies the NotIn predicate on the "release_date" field.

func ReleaseDateNotNil

func ReleaseDateNotNil() predicate.Release

ReleaseDateNotNil applies the NotNil predicate on the "release_date" field.

func ReleaseNotes

func ReleaseNotes(v string) predicate.Release

ReleaseNotes applies equality check predicate on the "release_notes" field. It's identical to ReleaseNotesEQ.

func ReleaseNotesContains

func ReleaseNotesContains(v string) predicate.Release

ReleaseNotesContains applies the Contains predicate on the "release_notes" field.

func ReleaseNotesContainsFold

func ReleaseNotesContainsFold(v string) predicate.Release

ReleaseNotesContainsFold applies the ContainsFold predicate on the "release_notes" field.

func ReleaseNotesEQ

func ReleaseNotesEQ(v string) predicate.Release

ReleaseNotesEQ applies the EQ predicate on the "release_notes" field.

func ReleaseNotesEqualFold

func ReleaseNotesEqualFold(v string) predicate.Release

ReleaseNotesEqualFold applies the EqualFold predicate on the "release_notes" field.

func ReleaseNotesGT

func ReleaseNotesGT(v string) predicate.Release

ReleaseNotesGT applies the GT predicate on the "release_notes" field.

func ReleaseNotesGTE

func ReleaseNotesGTE(v string) predicate.Release

ReleaseNotesGTE applies the GTE predicate on the "release_notes" field.

func ReleaseNotesHasPrefix

func ReleaseNotesHasPrefix(v string) predicate.Release

ReleaseNotesHasPrefix applies the HasPrefix predicate on the "release_notes" field.

func ReleaseNotesHasSuffix

func ReleaseNotesHasSuffix(v string) predicate.Release

ReleaseNotesHasSuffix applies the HasSuffix predicate on the "release_notes" field.

func ReleaseNotesIn

func ReleaseNotesIn(vs ...string) predicate.Release

ReleaseNotesIn applies the In predicate on the "release_notes" field.

func ReleaseNotesIsNil

func ReleaseNotesIsNil() predicate.Release

ReleaseNotesIsNil applies the IsNil predicate on the "release_notes" field.

func ReleaseNotesLT

func ReleaseNotesLT(v string) predicate.Release

ReleaseNotesLT applies the LT predicate on the "release_notes" field.

func ReleaseNotesLTE

func ReleaseNotesLTE(v string) predicate.Release

ReleaseNotesLTE applies the LTE predicate on the "release_notes" field.

func ReleaseNotesNEQ

func ReleaseNotesNEQ(v string) predicate.Release

ReleaseNotesNEQ applies the NEQ predicate on the "release_notes" field.

func ReleaseNotesNotIn

func ReleaseNotesNotIn(vs ...string) predicate.Release

ReleaseNotesNotIn applies the NotIn predicate on the "release_notes" field.

func ReleaseNotesNotNil

func ReleaseNotesNotNil() predicate.Release

ReleaseNotesNotNil applies the NotNil predicate on the "release_notes" field.

func ReleaseTypeEQ

func ReleaseTypeEQ(v ReleaseType) predicate.Release

ReleaseTypeEQ applies the EQ predicate on the "release_type" field.

func ReleaseTypeIn

func ReleaseTypeIn(vs ...ReleaseType) predicate.Release

ReleaseTypeIn applies the In predicate on the "release_type" field.

func ReleaseTypeIsNil

func ReleaseTypeIsNil() predicate.Release

ReleaseTypeIsNil applies the IsNil predicate on the "release_type" field.

func ReleaseTypeNEQ

func ReleaseTypeNEQ(v ReleaseType) predicate.Release

ReleaseTypeNEQ applies the NEQ predicate on the "release_type" field.

func ReleaseTypeNotIn

func ReleaseTypeNotIn(vs ...ReleaseType) predicate.Release

ReleaseTypeNotIn applies the NotIn predicate on the "release_type" field.

func ReleaseTypeNotNil

func ReleaseTypeNotNil() predicate.Release

ReleaseTypeNotNil applies the NotNil predicate on the "release_type" field.

func ReleaseTypeValidator

func ReleaseTypeValidator(rt ReleaseType) error

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

func Summary

func Summary(v string) predicate.Release

Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.

func SummaryContains

func SummaryContains(v string) predicate.Release

SummaryContains applies the Contains predicate on the "summary" field.

func SummaryContainsFold

func SummaryContainsFold(v string) predicate.Release

SummaryContainsFold applies the ContainsFold predicate on the "summary" field.

func SummaryEQ

func SummaryEQ(v string) predicate.Release

SummaryEQ applies the EQ predicate on the "summary" field.

func SummaryEqualFold

func SummaryEqualFold(v string) predicate.Release

SummaryEqualFold applies the EqualFold predicate on the "summary" field.

func SummaryGT

func SummaryGT(v string) predicate.Release

SummaryGT applies the GT predicate on the "summary" field.

func SummaryGTE

func SummaryGTE(v string) predicate.Release

SummaryGTE applies the GTE predicate on the "summary" field.

func SummaryHasPrefix

func SummaryHasPrefix(v string) predicate.Release

SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.

func SummaryHasSuffix

func SummaryHasSuffix(v string) predicate.Release

SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.

func SummaryIn

func SummaryIn(vs ...string) predicate.Release

SummaryIn applies the In predicate on the "summary" field.

func SummaryIsNil

func SummaryIsNil() predicate.Release

SummaryIsNil applies the IsNil predicate on the "summary" field.

func SummaryLT

func SummaryLT(v string) predicate.Release

SummaryLT applies the LT predicate on the "summary" field.

func SummaryLTE

func SummaryLTE(v string) predicate.Release

SummaryLTE applies the LTE predicate on the "summary" field.

func SummaryNEQ

func SummaryNEQ(v string) predicate.Release

SummaryNEQ applies the NEQ predicate on the "summary" field.

func SummaryNotIn

func SummaryNotIn(vs ...string) predicate.Release

SummaryNotIn applies the NotIn predicate on the "summary" field.

func SummaryNotNil

func SummaryNotNil() predicate.Release

SummaryNotNil applies the NotNil predicate on the "summary" 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.Release

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

func VersionContains

func VersionContains(v string) predicate.Release

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

func VersionContainsFold

func VersionContainsFold(v string) predicate.Release

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

func VersionEQ

func VersionEQ(v string) predicate.Release

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

func VersionEqualFold

func VersionEqualFold(v string) predicate.Release

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

func VersionGT

func VersionGT(v string) predicate.Release

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

func VersionGTE

func VersionGTE(v string) predicate.Release

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

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Release

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

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Release

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

func VersionIn

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

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

func VersionIsNil

func VersionIsNil() predicate.Release

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Release

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

func VersionLTE

func VersionLTE(v string) predicate.Release

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

func VersionNEQ

func VersionNEQ(v string) predicate.Release

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

func VersionNotIn

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

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

func VersionNotNil

func VersionNotNil() predicate.Release

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Release queries.

func ByAgents

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

ByAgents orders the results by agents terms.

func ByAgentsCount

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

ByAgentsCount orders the results by agents count.

func ByArch

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

ByArch orders the results by the arch field.

func ByChannel

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

ByChannel orders the results by the channel field.

func ByChecksum

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

ByChecksum orders the results by the checksum field.

func ByFileURL

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

ByFileURL orders the results by the file_url field.

func ByID

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

ByID orders the results by the id field.

func ByIsCritical

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

ByIsCritical orders the results by the is_critical field.

func ByOs

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

ByOs orders the results by the os field.

func ByReleaseDate

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

ByReleaseDate orders the results by the release_date field.

func ByReleaseNotes

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

ByReleaseNotes orders the results by the release_notes field.

func ByReleaseType

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

ByReleaseType orders the results by the release_type field.

func BySummary

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

BySummary orders the results by the summary field.

func ByVersion

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

ByVersion orders the results by the version field.

type ReleaseType

type ReleaseType string

ReleaseType defines the type for the "release_type" enum field.

const (
	ReleaseTypeAgent  ReleaseType = "agent"
	ReleaseTypeServer ReleaseType = "server"
)

ReleaseType values.

func (ReleaseType) String

func (rt ReleaseType) String() string

Jump to

Keyboard shortcuts

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