Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.S3) predicate.S3
- func CreatedAt(v time.Time) predicate.S3
- func CreatedAtEQ(v time.Time) predicate.S3
- func CreatedAtGT(v time.Time) predicate.S3
- func CreatedAtGTE(v time.Time) predicate.S3
- func CreatedAtIn(vs ...time.Time) predicate.S3
- func CreatedAtLT(v time.Time) predicate.S3
- func CreatedAtLTE(v time.Time) predicate.S3
- func CreatedAtNEQ(v time.Time) predicate.S3
- func CreatedAtNotIn(vs ...time.Time) predicate.S3
- func Endpoint(v string) predicate.S3
- func EndpointContains(v string) predicate.S3
- func EndpointContainsFold(v string) predicate.S3
- func EndpointEQ(v string) predicate.S3
- func EndpointEqualFold(v string) predicate.S3
- func EndpointGT(v string) predicate.S3
- func EndpointGTE(v string) predicate.S3
- func EndpointHasPrefix(v string) predicate.S3
- func EndpointHasSuffix(v string) predicate.S3
- func EndpointIn(vs ...string) predicate.S3
- func EndpointLT(v string) predicate.S3
- func EndpointLTE(v string) predicate.S3
- func EndpointNEQ(v string) predicate.S3
- func EndpointNotIn(vs ...string) predicate.S3
- func ForcePathStyle(v bool) predicate.S3
- func ForcePathStyleEQ(v bool) predicate.S3
- func ForcePathStyleNEQ(v bool) predicate.S3
- func HasServiceBackupSource() predicate.S3
- func HasServiceBackupSourceWith(preds ...predicate.ServiceConfig) predicate.S3
- func HasTeam() predicate.S3
- func HasTeamWith(preds ...predicate.Team) predicate.S3
- func ID(id uuid.UUID) predicate.S3
- func IDEQ(id uuid.UUID) predicate.S3
- func IDGT(id uuid.UUID) predicate.S3
- func IDGTE(id uuid.UUID) predicate.S3
- func IDIn(ids ...uuid.UUID) predicate.S3
- func IDLT(id uuid.UUID) predicate.S3
- func IDLTE(id uuid.UUID) predicate.S3
- func IDNEQ(id uuid.UUID) predicate.S3
- func IDNotIn(ids ...uuid.UUID) predicate.S3
- func KubernetesSecret(v string) predicate.S3
- func KubernetesSecretContains(v string) predicate.S3
- func KubernetesSecretContainsFold(v string) predicate.S3
- func KubernetesSecretEQ(v string) predicate.S3
- func KubernetesSecretEqualFold(v string) predicate.S3
- func KubernetesSecretGT(v string) predicate.S3
- func KubernetesSecretGTE(v string) predicate.S3
- func KubernetesSecretHasPrefix(v string) predicate.S3
- func KubernetesSecretHasSuffix(v string) predicate.S3
- func KubernetesSecretIn(vs ...string) predicate.S3
- func KubernetesSecretLT(v string) predicate.S3
- func KubernetesSecretLTE(v string) predicate.S3
- func KubernetesSecretNEQ(v string) predicate.S3
- func KubernetesSecretNotIn(vs ...string) predicate.S3
- func Name(v string) predicate.S3
- func NameContains(v string) predicate.S3
- func NameContainsFold(v string) predicate.S3
- func NameEQ(v string) predicate.S3
- func NameEqualFold(v string) predicate.S3
- func NameGT(v string) predicate.S3
- func NameGTE(v string) predicate.S3
- func NameHasPrefix(v string) predicate.S3
- func NameHasSuffix(v string) predicate.S3
- func NameIn(vs ...string) predicate.S3
- func NameLT(v string) predicate.S3
- func NameLTE(v string) predicate.S3
- func NameNEQ(v string) predicate.S3
- func NameNotIn(vs ...string) predicate.S3
- func Not(p predicate.S3) predicate.S3
- func Or(predicates ...predicate.S3) predicate.S3
- func Region(v string) predicate.S3
- func RegionContains(v string) predicate.S3
- func RegionContainsFold(v string) predicate.S3
- func RegionEQ(v string) predicate.S3
- func RegionEqualFold(v string) predicate.S3
- func RegionGT(v string) predicate.S3
- func RegionGTE(v string) predicate.S3
- func RegionHasPrefix(v string) predicate.S3
- func RegionHasSuffix(v string) predicate.S3
- func RegionIn(vs ...string) predicate.S3
- func RegionLT(v string) predicate.S3
- func RegionLTE(v string) predicate.S3
- func RegionNEQ(v string) predicate.S3
- func RegionNotIn(vs ...string) predicate.S3
- func TeamID(v uuid.UUID) predicate.S3
- func TeamIDEQ(v uuid.UUID) predicate.S3
- func TeamIDIn(vs ...uuid.UUID) predicate.S3
- func TeamIDNEQ(v uuid.UUID) predicate.S3
- func TeamIDNotIn(vs ...uuid.UUID) predicate.S3
- func UpdatedAt(v time.Time) predicate.S3
- func UpdatedAtEQ(v time.Time) predicate.S3
- func UpdatedAtGT(v time.Time) predicate.S3
- func UpdatedAtGTE(v time.Time) predicate.S3
- func UpdatedAtIn(vs ...time.Time) predicate.S3
- func UpdatedAtLT(v time.Time) predicate.S3
- func UpdatedAtLTE(v time.Time) predicate.S3
- func UpdatedAtNEQ(v time.Time) predicate.S3
- func UpdatedAtNotIn(vs ...time.Time) predicate.S3
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEndpoint(opts ...sql.OrderTermOption) OrderOption
- func ByForcePathStyle(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKubernetesSecret(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func ByServiceBackupSource(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByServiceBackupSourceCount(opts ...sql.OrderTermOption) OrderOption
- func ByTeamField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTeamID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the s3 type in the database. Label = "s3" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEndpoint holds the string denoting the endpoint field in the database. FieldEndpoint = "endpoint" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldForcePathStyle holds the string denoting the force_path_style field in the database. FieldForcePathStyle = "force_path_style" // FieldKubernetesSecret holds the string denoting the kubernetes_secret field in the database. FieldKubernetesSecret = "kubernetes_secret" // FieldTeamID holds the string denoting the team_id field in the database. FieldTeamID = "team_id" // EdgeTeam holds the string denoting the team edge name in mutations. EdgeTeam = "team" // EdgeServiceBackupSource holds the string denoting the service_backup_source edge name in mutations. EdgeServiceBackupSource = "service_backup_source" // Table holds the table name of the s3 in the database. Table = "s3_sources" // TeamTable is the table that holds the team relation/edge. TeamTable = "s3_sources" // TeamInverseTable is the table name for the Team entity. // It exists in this package in order to avoid circular dependency with the "team" package. TeamInverseTable = "teams" // TeamColumn is the table column denoting the team relation/edge. TeamColumn = "team_id" // ServiceBackupSourceTable is the table that holds the service_backup_source relation/edge. ServiceBackupSourceTable = "service_configs" // ServiceBackupSourceInverseTable is the table name for the ServiceConfig entity. // It exists in this package in order to avoid circular dependency with the "serviceconfig" package. ServiceBackupSourceInverseTable = "service_configs" // ServiceBackupSourceColumn is the table column denoting the service_backup_source relation/edge. ServiceBackupSourceColumn = "s3_backup_source_id" )
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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultForcePathStyle holds the default value on creation for the "force_path_style" field. DefaultForcePathStyle bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldEndpoint, FieldRegion, FieldForcePathStyle, FieldKubernetesSecret, FieldTeamID, }
Columns holds all SQL columns for s3 fields.
Functions ¶
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 Endpoint ¶
Endpoint applies equality check predicate on the "endpoint" field. It's identical to EndpointEQ.
func EndpointContains ¶
EndpointContains applies the Contains predicate on the "endpoint" field.
func EndpointContainsFold ¶
EndpointContainsFold applies the ContainsFold predicate on the "endpoint" field.
func EndpointEQ ¶
EndpointEQ applies the EQ predicate on the "endpoint" field.
func EndpointEqualFold ¶
EndpointEqualFold applies the EqualFold predicate on the "endpoint" field.
func EndpointGT ¶
EndpointGT applies the GT predicate on the "endpoint" field.
func EndpointGTE ¶
EndpointGTE applies the GTE predicate on the "endpoint" field.
func EndpointHasPrefix ¶
EndpointHasPrefix applies the HasPrefix predicate on the "endpoint" field.
func EndpointHasSuffix ¶
EndpointHasSuffix applies the HasSuffix predicate on the "endpoint" field.
func EndpointIn ¶
EndpointIn applies the In predicate on the "endpoint" field.
func EndpointLT ¶
EndpointLT applies the LT predicate on the "endpoint" field.
func EndpointLTE ¶
EndpointLTE applies the LTE predicate on the "endpoint" field.
func EndpointNEQ ¶
EndpointNEQ applies the NEQ predicate on the "endpoint" field.
func EndpointNotIn ¶
EndpointNotIn applies the NotIn predicate on the "endpoint" field.
func ForcePathStyle ¶
ForcePathStyle applies equality check predicate on the "force_path_style" field. It's identical to ForcePathStyleEQ.
func ForcePathStyleEQ ¶
ForcePathStyleEQ applies the EQ predicate on the "force_path_style" field.
func ForcePathStyleNEQ ¶
ForcePathStyleNEQ applies the NEQ predicate on the "force_path_style" field.
func HasServiceBackupSource ¶
HasServiceBackupSource applies the HasEdge predicate on the "service_backup_source" edge.
func HasServiceBackupSourceWith ¶
func HasServiceBackupSourceWith(preds ...predicate.ServiceConfig) predicate.S3
HasServiceBackupSourceWith applies the HasEdge predicate on the "service_backup_source" edge with a given conditions (other predicates).
func HasTeamWith ¶
HasTeamWith applies the HasEdge predicate on the "team" edge with a given conditions (other predicates).
func KubernetesSecret ¶
KubernetesSecret applies equality check predicate on the "kubernetes_secret" field. It's identical to KubernetesSecretEQ.
func KubernetesSecretContains ¶
KubernetesSecretContains applies the Contains predicate on the "kubernetes_secret" field.
func KubernetesSecretContainsFold ¶
KubernetesSecretContainsFold applies the ContainsFold predicate on the "kubernetes_secret" field.
func KubernetesSecretEQ ¶
KubernetesSecretEQ applies the EQ predicate on the "kubernetes_secret" field.
func KubernetesSecretEqualFold ¶
KubernetesSecretEqualFold applies the EqualFold predicate on the "kubernetes_secret" field.
func KubernetesSecretGT ¶
KubernetesSecretGT applies the GT predicate on the "kubernetes_secret" field.
func KubernetesSecretGTE ¶
KubernetesSecretGTE applies the GTE predicate on the "kubernetes_secret" field.
func KubernetesSecretHasPrefix ¶
KubernetesSecretHasPrefix applies the HasPrefix predicate on the "kubernetes_secret" field.
func KubernetesSecretHasSuffix ¶
KubernetesSecretHasSuffix applies the HasSuffix predicate on the "kubernetes_secret" field.
func KubernetesSecretIn ¶
KubernetesSecretIn applies the In predicate on the "kubernetes_secret" field.
func KubernetesSecretLT ¶
KubernetesSecretLT applies the LT predicate on the "kubernetes_secret" field.
func KubernetesSecretLTE ¶
KubernetesSecretLTE applies the LTE predicate on the "kubernetes_secret" field.
func KubernetesSecretNEQ ¶
KubernetesSecretNEQ applies the NEQ predicate on the "kubernetes_secret" field.
func KubernetesSecretNotIn ¶
KubernetesSecretNotIn applies the NotIn predicate on the "kubernetes_secret" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Region ¶
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEqualFold ¶
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionHasPrefix ¶
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionNotIn ¶
RegionNotIn applies the NotIn predicate on the "region" field.
func TeamID ¶
TeamID applies equality check predicate on the "team_id" field. It's identical to TeamIDEQ.
func TeamIDNotIn ¶
TeamIDNotIn applies the NotIn predicate on the "team_id" 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 S3 queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEndpoint ¶
func ByEndpoint(opts ...sql.OrderTermOption) OrderOption
ByEndpoint orders the results by the endpoint field.
func ByForcePathStyle ¶
func ByForcePathStyle(opts ...sql.OrderTermOption) OrderOption
ByForcePathStyle orders the results by the force_path_style field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKubernetesSecret ¶
func ByKubernetesSecret(opts ...sql.OrderTermOption) OrderOption
ByKubernetesSecret orders the results by the kubernetes_secret field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRegion ¶
func ByRegion(opts ...sql.OrderTermOption) OrderOption
ByRegion orders the results by the region field.
func ByServiceBackupSource ¶
func ByServiceBackupSource(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByServiceBackupSource orders the results by service_backup_source terms.
func ByServiceBackupSourceCount ¶
func ByServiceBackupSourceCount(opts ...sql.OrderTermOption) OrderOption
ByServiceBackupSourceCount orders the results by service_backup_source count.
func ByTeamField ¶
func ByTeamField(field string, opts ...sql.OrderTermOption) OrderOption
ByTeamField orders the results by team field.
func ByTeamID ¶
func ByTeamID(opts ...sql.OrderTermOption) OrderOption
ByTeamID orders the results by the team_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.