provider

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the provider type in the database.
	Label = "provider"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldProviderGitURL holds the string denoting the provider_git_url field in the database.
	FieldProviderGitURL = "provider_git_url"
	// FieldProviderVersion holds the string denoting the provider_version field in the database.
	FieldProviderVersion = "provider_version"
	// FieldConfigBytes holds the string denoting the config_bytes field in the database.
	FieldConfigBytes = "config_bytes"
	// FieldIsLoaded holds the string denoting the is_loaded field in the database.
	FieldIsLoaded = "is_loaded"
	// EdgeBlueprints holds the string denoting the blueprints edge name in mutations.
	EdgeBlueprints = "blueprints"
	// Table holds the table name of the provider in the database.
	Table = "providers"
	// BlueprintsTable is the table that holds the blueprints relation/edge.
	BlueprintsTable = "blueprints"
	// BlueprintsInverseTable is the table name for the Blueprint entity.
	// It exists in this package in order to avoid circular dependency with the "blueprint" package.
	BlueprintsInverseTable = "blueprints"
	// BlueprintsColumn is the table column denoting the blueprints relation/edge.
	BlueprintsColumn = "blueprint_provider"
)

Variables

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

Columns holds all SQL columns for provider fields.

Functions

func And

func And(predicates ...predicate.Provider) predicate.Provider

And groups predicates with the AND operator between them.

func ConfigBytes

func ConfigBytes(v []byte) predicate.Provider

ConfigBytes applies equality check predicate on the "config_bytes" field. It's identical to ConfigBytesEQ.

func ConfigBytesEQ

func ConfigBytesEQ(v []byte) predicate.Provider

ConfigBytesEQ applies the EQ predicate on the "config_bytes" field.

func ConfigBytesGT

func ConfigBytesGT(v []byte) predicate.Provider

ConfigBytesGT applies the GT predicate on the "config_bytes" field.

func ConfigBytesGTE

func ConfigBytesGTE(v []byte) predicate.Provider

ConfigBytesGTE applies the GTE predicate on the "config_bytes" field.

func ConfigBytesIn

func ConfigBytesIn(vs ...[]byte) predicate.Provider

ConfigBytesIn applies the In predicate on the "config_bytes" field.

func ConfigBytesLT

func ConfigBytesLT(v []byte) predicate.Provider

ConfigBytesLT applies the LT predicate on the "config_bytes" field.

func ConfigBytesLTE

func ConfigBytesLTE(v []byte) predicate.Provider

ConfigBytesLTE applies the LTE predicate on the "config_bytes" field.

func ConfigBytesNEQ

func ConfigBytesNEQ(v []byte) predicate.Provider

ConfigBytesNEQ applies the NEQ predicate on the "config_bytes" field.

func ConfigBytesNotIn

func ConfigBytesNotIn(vs ...[]byte) predicate.Provider

ConfigBytesNotIn applies the NotIn predicate on the "config_bytes" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Provider

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Provider

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Provider

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Provider

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Provider

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Provider

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Provider

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

func CreatedAtNotIn

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

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

func DisplayName

func DisplayName(v string) predicate.Provider

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.Provider

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.Provider

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.Provider

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.Provider

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.Provider

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.Provider

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.Provider

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.Provider

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

func DisplayNameIn(vs ...string) predicate.Provider

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.Provider

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.Provider

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.Provider

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

func DisplayNameNotIn(vs ...string) predicate.Provider

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func HasBlueprints

func HasBlueprints() predicate.Provider

HasBlueprints applies the HasEdge predicate on the "blueprints" edge.

func HasBlueprintsWith

func HasBlueprintsWith(preds ...predicate.Blueprint) predicate.Provider

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

func ID

func ID(id uuid.UUID) predicate.Provider

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Provider

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Provider

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Provider

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Provider

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Provider

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Provider

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Provider

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Provider

IDNotIn applies the NotIn predicate on the ID field.

func IsLoaded

func IsLoaded(v bool) predicate.Provider

IsLoaded applies equality check predicate on the "is_loaded" field. It's identical to IsLoadedEQ.

func IsLoadedEQ

func IsLoadedEQ(v bool) predicate.Provider

IsLoadedEQ applies the EQ predicate on the "is_loaded" field.

func IsLoadedNEQ

func IsLoadedNEQ(v bool) predicate.Provider

IsLoadedNEQ applies the NEQ predicate on the "is_loaded" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Provider) predicate.Provider

Or groups predicates with the OR operator between them.

func ProviderGitURL

func ProviderGitURL(v string) predicate.Provider

ProviderGitURL applies equality check predicate on the "provider_git_url" field. It's identical to ProviderGitURLEQ.

func ProviderGitURLContains

func ProviderGitURLContains(v string) predicate.Provider

ProviderGitURLContains applies the Contains predicate on the "provider_git_url" field.

func ProviderGitURLContainsFold

func ProviderGitURLContainsFold(v string) predicate.Provider

ProviderGitURLContainsFold applies the ContainsFold predicate on the "provider_git_url" field.

func ProviderGitURLEQ

func ProviderGitURLEQ(v string) predicate.Provider

ProviderGitURLEQ applies the EQ predicate on the "provider_git_url" field.

func ProviderGitURLEqualFold

func ProviderGitURLEqualFold(v string) predicate.Provider

ProviderGitURLEqualFold applies the EqualFold predicate on the "provider_git_url" field.

func ProviderGitURLGT

func ProviderGitURLGT(v string) predicate.Provider

ProviderGitURLGT applies the GT predicate on the "provider_git_url" field.

func ProviderGitURLGTE

func ProviderGitURLGTE(v string) predicate.Provider

ProviderGitURLGTE applies the GTE predicate on the "provider_git_url" field.

func ProviderGitURLHasPrefix

func ProviderGitURLHasPrefix(v string) predicate.Provider

ProviderGitURLHasPrefix applies the HasPrefix predicate on the "provider_git_url" field.

func ProviderGitURLHasSuffix

func ProviderGitURLHasSuffix(v string) predicate.Provider

ProviderGitURLHasSuffix applies the HasSuffix predicate on the "provider_git_url" field.

func ProviderGitURLIn

func ProviderGitURLIn(vs ...string) predicate.Provider

ProviderGitURLIn applies the In predicate on the "provider_git_url" field.

func ProviderGitURLLT

func ProviderGitURLLT(v string) predicate.Provider

ProviderGitURLLT applies the LT predicate on the "provider_git_url" field.

func ProviderGitURLLTE

func ProviderGitURLLTE(v string) predicate.Provider

ProviderGitURLLTE applies the LTE predicate on the "provider_git_url" field.

func ProviderGitURLNEQ

func ProviderGitURLNEQ(v string) predicate.Provider

ProviderGitURLNEQ applies the NEQ predicate on the "provider_git_url" field.

func ProviderGitURLNotIn

func ProviderGitURLNotIn(vs ...string) predicate.Provider

ProviderGitURLNotIn applies the NotIn predicate on the "provider_git_url" field.

func ProviderVersion

func ProviderVersion(v string) predicate.Provider

ProviderVersion applies equality check predicate on the "provider_version" field. It's identical to ProviderVersionEQ.

func ProviderVersionContains

func ProviderVersionContains(v string) predicate.Provider

ProviderVersionContains applies the Contains predicate on the "provider_version" field.

func ProviderVersionContainsFold

func ProviderVersionContainsFold(v string) predicate.Provider

ProviderVersionContainsFold applies the ContainsFold predicate on the "provider_version" field.

func ProviderVersionEQ

func ProviderVersionEQ(v string) predicate.Provider

ProviderVersionEQ applies the EQ predicate on the "provider_version" field.

func ProviderVersionEqualFold

func ProviderVersionEqualFold(v string) predicate.Provider

ProviderVersionEqualFold applies the EqualFold predicate on the "provider_version" field.

func ProviderVersionGT

func ProviderVersionGT(v string) predicate.Provider

ProviderVersionGT applies the GT predicate on the "provider_version" field.

func ProviderVersionGTE

func ProviderVersionGTE(v string) predicate.Provider

ProviderVersionGTE applies the GTE predicate on the "provider_version" field.

func ProviderVersionHasPrefix

func ProviderVersionHasPrefix(v string) predicate.Provider

ProviderVersionHasPrefix applies the HasPrefix predicate on the "provider_version" field.

func ProviderVersionHasSuffix

func ProviderVersionHasSuffix(v string) predicate.Provider

ProviderVersionHasSuffix applies the HasSuffix predicate on the "provider_version" field.

func ProviderVersionIn

func ProviderVersionIn(vs ...string) predicate.Provider

ProviderVersionIn applies the In predicate on the "provider_version" field.

func ProviderVersionLT

func ProviderVersionLT(v string) predicate.Provider

ProviderVersionLT applies the LT predicate on the "provider_version" field.

func ProviderVersionLTE

func ProviderVersionLTE(v string) predicate.Provider

ProviderVersionLTE applies the LTE predicate on the "provider_version" field.

func ProviderVersionNEQ

func ProviderVersionNEQ(v string) predicate.Provider

ProviderVersionNEQ applies the NEQ predicate on the "provider_version" field.

func ProviderVersionNotIn

func ProviderVersionNotIn(vs ...string) predicate.Provider

ProviderVersionNotIn applies the NotIn predicate on the "provider_version" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Provider

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Provider

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Provider

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Provider

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Provider

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Provider

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Provider

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

func UpdatedAtNotIn

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

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

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Provider queries.

func ByBlueprints

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

ByBlueprints orders the results by blueprints terms.

func ByBlueprintsCount

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

ByBlueprintsCount orders the results by blueprints count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDisplayName

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

ByDisplayName orders the results by the display_name field.

func ByID

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

ByID orders the results by the id field.

func ByIsLoaded

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

ByIsLoaded orders the results by the is_loaded field.

func ByProviderGitURL

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

ByProviderGitURL orders the results by the provider_git_url field.

func ByProviderVersion

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

ByProviderVersion orders the results by the provider_version field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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