Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Provider) predicate.Provider
- func ConfigBytes(v []byte) predicate.Provider
- func ConfigBytesEQ(v []byte) predicate.Provider
- func ConfigBytesGT(v []byte) predicate.Provider
- func ConfigBytesGTE(v []byte) predicate.Provider
- func ConfigBytesIn(vs ...[]byte) predicate.Provider
- func ConfigBytesLT(v []byte) predicate.Provider
- func ConfigBytesLTE(v []byte) predicate.Provider
- func ConfigBytesNEQ(v []byte) predicate.Provider
- func ConfigBytesNotIn(vs ...[]byte) predicate.Provider
- func CreatedAt(v time.Time) predicate.Provider
- func CreatedAtEQ(v time.Time) predicate.Provider
- func CreatedAtGT(v time.Time) predicate.Provider
- func CreatedAtGTE(v time.Time) predicate.Provider
- func CreatedAtIn(vs ...time.Time) predicate.Provider
- func CreatedAtLT(v time.Time) predicate.Provider
- func CreatedAtLTE(v time.Time) predicate.Provider
- func CreatedAtNEQ(v time.Time) predicate.Provider
- func CreatedAtNotIn(vs ...time.Time) predicate.Provider
- func DisplayName(v string) predicate.Provider
- func DisplayNameContains(v string) predicate.Provider
- func DisplayNameContainsFold(v string) predicate.Provider
- func DisplayNameEQ(v string) predicate.Provider
- func DisplayNameEqualFold(v string) predicate.Provider
- func DisplayNameGT(v string) predicate.Provider
- func DisplayNameGTE(v string) predicate.Provider
- func DisplayNameHasPrefix(v string) predicate.Provider
- func DisplayNameHasSuffix(v string) predicate.Provider
- func DisplayNameIn(vs ...string) predicate.Provider
- func DisplayNameLT(v string) predicate.Provider
- func DisplayNameLTE(v string) predicate.Provider
- func DisplayNameNEQ(v string) predicate.Provider
- func DisplayNameNotIn(vs ...string) predicate.Provider
- func HasBlueprints() predicate.Provider
- func HasBlueprintsWith(preds ...predicate.Blueprint) predicate.Provider
- func ID(id uuid.UUID) predicate.Provider
- func IDEQ(id uuid.UUID) predicate.Provider
- func IDGT(id uuid.UUID) predicate.Provider
- func IDGTE(id uuid.UUID) predicate.Provider
- func IDIn(ids ...uuid.UUID) predicate.Provider
- func IDLT(id uuid.UUID) predicate.Provider
- func IDLTE(id uuid.UUID) predicate.Provider
- func IDNEQ(id uuid.UUID) predicate.Provider
- func IDNotIn(ids ...uuid.UUID) predicate.Provider
- func IsLoaded(v bool) predicate.Provider
- func IsLoadedEQ(v bool) predicate.Provider
- func IsLoadedNEQ(v bool) predicate.Provider
- func Not(p predicate.Provider) predicate.Provider
- func Or(predicates ...predicate.Provider) predicate.Provider
- func ProviderGitURL(v string) predicate.Provider
- func ProviderGitURLContains(v string) predicate.Provider
- func ProviderGitURLContainsFold(v string) predicate.Provider
- func ProviderGitURLEQ(v string) predicate.Provider
- func ProviderGitURLEqualFold(v string) predicate.Provider
- func ProviderGitURLGT(v string) predicate.Provider
- func ProviderGitURLGTE(v string) predicate.Provider
- func ProviderGitURLHasPrefix(v string) predicate.Provider
- func ProviderGitURLHasSuffix(v string) predicate.Provider
- func ProviderGitURLIn(vs ...string) predicate.Provider
- func ProviderGitURLLT(v string) predicate.Provider
- func ProviderGitURLLTE(v string) predicate.Provider
- func ProviderGitURLNEQ(v string) predicate.Provider
- func ProviderGitURLNotIn(vs ...string) predicate.Provider
- func ProviderVersion(v string) predicate.Provider
- func ProviderVersionContains(v string) predicate.Provider
- func ProviderVersionContainsFold(v string) predicate.Provider
- func ProviderVersionEQ(v string) predicate.Provider
- func ProviderVersionEqualFold(v string) predicate.Provider
- func ProviderVersionGT(v string) predicate.Provider
- func ProviderVersionGTE(v string) predicate.Provider
- func ProviderVersionHasPrefix(v string) predicate.Provider
- func ProviderVersionHasSuffix(v string) predicate.Provider
- func ProviderVersionIn(vs ...string) predicate.Provider
- func ProviderVersionLT(v string) predicate.Provider
- func ProviderVersionLTE(v string) predicate.Provider
- func ProviderVersionNEQ(v string) predicate.Provider
- func ProviderVersionNotIn(vs ...string) predicate.Provider
- func UpdatedAt(v time.Time) predicate.Provider
- func UpdatedAtEQ(v time.Time) predicate.Provider
- func UpdatedAtGT(v time.Time) predicate.Provider
- func UpdatedAtGTE(v time.Time) predicate.Provider
- func UpdatedAtIn(vs ...time.Time) predicate.Provider
- func UpdatedAtLT(v time.Time) predicate.Provider
- func UpdatedAtLTE(v time.Time) predicate.Provider
- func UpdatedAtNEQ(v time.Time) predicate.Provider
- func UpdatedAtNotIn(vs ...time.Time) predicate.Provider
- func ValidColumn(column string) bool
- type OrderOption
- func ByBlueprints(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlueprintsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsLoaded(opts ...sql.OrderTermOption) OrderOption
- func ByProviderGitURL(opts ...sql.OrderTermOption) OrderOption
- func ByProviderVersion(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDisplayName, FieldProviderGitURL, FieldProviderVersion, FieldConfigBytes, FieldIsLoaded, }
Columns holds all SQL columns for provider fields.
Functions ¶
func ConfigBytes ¶
ConfigBytes applies equality check predicate on the "config_bytes" field. It's identical to ConfigBytesEQ.
func ConfigBytesEQ ¶
ConfigBytesEQ applies the EQ predicate on the "config_bytes" field.
func ConfigBytesGT ¶
ConfigBytesGT applies the GT predicate on the "config_bytes" field.
func ConfigBytesGTE ¶
ConfigBytesGTE applies the GTE predicate on the "config_bytes" field.
func ConfigBytesIn ¶
ConfigBytesIn applies the In predicate on the "config_bytes" field.
func ConfigBytesLT ¶
ConfigBytesLT applies the LT predicate on the "config_bytes" field.
func ConfigBytesLTE ¶
ConfigBytesLTE applies the LTE predicate on the "config_bytes" field.
func ConfigBytesNEQ ¶
ConfigBytesNEQ applies the NEQ predicate on the "config_bytes" field.
func ConfigBytesNotIn ¶
ConfigBytesNotIn applies the NotIn predicate on the "config_bytes" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DisplayName ¶
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func HasBlueprints ¶
HasBlueprints applies the HasEdge predicate on the "blueprints" edge.
func HasBlueprintsWith ¶
HasBlueprintsWith applies the HasEdge predicate on the "blueprints" edge with a given conditions (other predicates).
func IsLoaded ¶
IsLoaded applies equality check predicate on the "is_loaded" field. It's identical to IsLoadedEQ.
func IsLoadedEQ ¶
IsLoadedEQ applies the EQ predicate on the "is_loaded" field.
func IsLoadedNEQ ¶
IsLoadedNEQ applies the NEQ predicate on the "is_loaded" field.
func ProviderGitURL ¶
ProviderGitURL applies equality check predicate on the "provider_git_url" field. It's identical to ProviderGitURLEQ.
func ProviderGitURLContains ¶
ProviderGitURLContains applies the Contains predicate on the "provider_git_url" field.
func ProviderGitURLContainsFold ¶
ProviderGitURLContainsFold applies the ContainsFold predicate on the "provider_git_url" field.
func ProviderGitURLEQ ¶
ProviderGitURLEQ applies the EQ predicate on the "provider_git_url" field.
func ProviderGitURLEqualFold ¶
ProviderGitURLEqualFold applies the EqualFold predicate on the "provider_git_url" field.
func ProviderGitURLGT ¶
ProviderGitURLGT applies the GT predicate on the "provider_git_url" field.
func ProviderGitURLGTE ¶
ProviderGitURLGTE applies the GTE predicate on the "provider_git_url" field.
func ProviderGitURLHasPrefix ¶
ProviderGitURLHasPrefix applies the HasPrefix predicate on the "provider_git_url" field.
func ProviderGitURLHasSuffix ¶
ProviderGitURLHasSuffix applies the HasSuffix predicate on the "provider_git_url" field.
func ProviderGitURLIn ¶
ProviderGitURLIn applies the In predicate on the "provider_git_url" field.
func ProviderGitURLLT ¶
ProviderGitURLLT applies the LT predicate on the "provider_git_url" field.
func ProviderGitURLLTE ¶
ProviderGitURLLTE applies the LTE predicate on the "provider_git_url" field.
func ProviderGitURLNEQ ¶
ProviderGitURLNEQ applies the NEQ predicate on the "provider_git_url" field.
func ProviderGitURLNotIn ¶
ProviderGitURLNotIn applies the NotIn predicate on the "provider_git_url" field.
func ProviderVersion ¶
ProviderVersion applies equality check predicate on the "provider_version" field. It's identical to ProviderVersionEQ.
func ProviderVersionContains ¶
ProviderVersionContains applies the Contains predicate on the "provider_version" field.
func ProviderVersionContainsFold ¶
ProviderVersionContainsFold applies the ContainsFold predicate on the "provider_version" field.
func ProviderVersionEQ ¶
ProviderVersionEQ applies the EQ predicate on the "provider_version" field.
func ProviderVersionEqualFold ¶
ProviderVersionEqualFold applies the EqualFold predicate on the "provider_version" field.
func ProviderVersionGT ¶
ProviderVersionGT applies the GT predicate on the "provider_version" field.
func ProviderVersionGTE ¶
ProviderVersionGTE applies the GTE predicate on the "provider_version" field.
func ProviderVersionHasPrefix ¶
ProviderVersionHasPrefix applies the HasPrefix predicate on the "provider_version" field.
func ProviderVersionHasSuffix ¶
ProviderVersionHasSuffix applies the HasSuffix predicate on the "provider_version" field.
func ProviderVersionIn ¶
ProviderVersionIn applies the In predicate on the "provider_version" field.
func ProviderVersionLT ¶
ProviderVersionLT applies the LT predicate on the "provider_version" field.
func ProviderVersionLTE ¶
ProviderVersionLTE applies the LTE predicate on the "provider_version" field.
func ProviderVersionNEQ ¶
ProviderVersionNEQ applies the NEQ predicate on the "provider_version" field.
func ProviderVersionNotIn ¶
ProviderVersionNotIn applies the NotIn predicate on the "provider_version" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.