Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProviderCommand) predicate.ProviderCommand
- func ArgumentsIsNil() predicate.ProviderCommand
- func ArgumentsNotNil() predicate.ProviderCommand
- func CommandTypeEQ(v CommandType) predicate.ProviderCommand
- func CommandTypeIn(vs ...CommandType) predicate.ProviderCommand
- func CommandTypeNEQ(v CommandType) predicate.ProviderCommand
- func CommandTypeNotIn(vs ...CommandType) predicate.ProviderCommand
- func CommandTypeValidator(ct CommandType) error
- func CreatedAt(v time.Time) predicate.ProviderCommand
- func CreatedAtEQ(v time.Time) predicate.ProviderCommand
- func CreatedAtGT(v time.Time) predicate.ProviderCommand
- func CreatedAtGTE(v time.Time) predicate.ProviderCommand
- func CreatedAtIn(vs ...time.Time) predicate.ProviderCommand
- func CreatedAtLT(v time.Time) predicate.ProviderCommand
- func CreatedAtLTE(v time.Time) predicate.ProviderCommand
- func CreatedAtNEQ(v time.Time) predicate.ProviderCommand
- func CreatedAtNotIn(vs ...time.Time) predicate.ProviderCommand
- func EndTime(v time.Time) predicate.ProviderCommand
- func EndTimeEQ(v time.Time) predicate.ProviderCommand
- func EndTimeGT(v time.Time) predicate.ProviderCommand
- func EndTimeGTE(v time.Time) predicate.ProviderCommand
- func EndTimeIn(vs ...time.Time) predicate.ProviderCommand
- func EndTimeIsNil() predicate.ProviderCommand
- func EndTimeLT(v time.Time) predicate.ProviderCommand
- func EndTimeLTE(v time.Time) predicate.ProviderCommand
- func EndTimeNEQ(v time.Time) predicate.ProviderCommand
- func EndTimeNotIn(vs ...time.Time) predicate.ProviderCommand
- func EndTimeNotNil() predicate.ProviderCommand
- func Error(v string) predicate.ProviderCommand
- func ErrorContains(v string) predicate.ProviderCommand
- func ErrorContainsFold(v string) predicate.ProviderCommand
- func ErrorEQ(v string) predicate.ProviderCommand
- func ErrorEqualFold(v string) predicate.ProviderCommand
- func ErrorGT(v string) predicate.ProviderCommand
- func ErrorGTE(v string) predicate.ProviderCommand
- func ErrorHasPrefix(v string) predicate.ProviderCommand
- func ErrorHasSuffix(v string) predicate.ProviderCommand
- func ErrorIn(vs ...string) predicate.ProviderCommand
- func ErrorLT(v string) predicate.ProviderCommand
- func ErrorLTE(v string) predicate.ProviderCommand
- func ErrorNEQ(v string) predicate.ProviderCommand
- func ErrorNotIn(vs ...string) predicate.ProviderCommand
- func HasDeployment() predicate.ProviderCommand
- func HasDeploymentWith(preds ...predicate.Deployment) predicate.ProviderCommand
- func HasProvider() predicate.ProviderCommand
- func HasProviderWith(preds ...predicate.Provider) predicate.ProviderCommand
- func ID(id uuid.UUID) predicate.ProviderCommand
- func IDEQ(id uuid.UUID) predicate.ProviderCommand
- func IDGT(id uuid.UUID) predicate.ProviderCommand
- func IDGTE(id uuid.UUID) predicate.ProviderCommand
- func IDIn(ids ...uuid.UUID) predicate.ProviderCommand
- func IDLT(id uuid.UUID) predicate.ProviderCommand
- func IDLTE(id uuid.UUID) predicate.ProviderCommand
- func IDNEQ(id uuid.UUID) predicate.ProviderCommand
- func IDNotIn(ids ...uuid.UUID) predicate.ProviderCommand
- func Not(p predicate.ProviderCommand) predicate.ProviderCommand
- func Or(predicates ...predicate.ProviderCommand) predicate.ProviderCommand
- func Output(v string) predicate.ProviderCommand
- func OutputContains(v string) predicate.ProviderCommand
- func OutputContainsFold(v string) predicate.ProviderCommand
- func OutputEQ(v string) predicate.ProviderCommand
- func OutputEqualFold(v string) predicate.ProviderCommand
- func OutputGT(v string) predicate.ProviderCommand
- func OutputGTE(v string) predicate.ProviderCommand
- func OutputHasPrefix(v string) predicate.ProviderCommand
- func OutputHasSuffix(v string) predicate.ProviderCommand
- func OutputIn(vs ...string) predicate.ProviderCommand
- func OutputLT(v string) predicate.ProviderCommand
- func OutputLTE(v string) predicate.ProviderCommand
- func OutputNEQ(v string) predicate.ProviderCommand
- func OutputNotIn(vs ...string) predicate.ProviderCommand
- func StartTime(v time.Time) predicate.ProviderCommand
- func StartTimeEQ(v time.Time) predicate.ProviderCommand
- func StartTimeGT(v time.Time) predicate.ProviderCommand
- func StartTimeGTE(v time.Time) predicate.ProviderCommand
- func StartTimeIn(vs ...time.Time) predicate.ProviderCommand
- func StartTimeIsNil() predicate.ProviderCommand
- func StartTimeLT(v time.Time) predicate.ProviderCommand
- func StartTimeLTE(v time.Time) predicate.ProviderCommand
- func StartTimeNEQ(v time.Time) predicate.ProviderCommand
- func StartTimeNotIn(vs ...time.Time) predicate.ProviderCommand
- func StartTimeNotNil() predicate.ProviderCommand
- func StatusEQ(v Status) predicate.ProviderCommand
- func StatusIn(vs ...Status) predicate.ProviderCommand
- func StatusNEQ(v Status) predicate.ProviderCommand
- func StatusNotIn(vs ...Status) predicate.ProviderCommand
- func StatusValidator(s Status) error
- func UpdatedAt(v time.Time) predicate.ProviderCommand
- func UpdatedAtEQ(v time.Time) predicate.ProviderCommand
- func UpdatedAtGT(v time.Time) predicate.ProviderCommand
- func UpdatedAtGTE(v time.Time) predicate.ProviderCommand
- func UpdatedAtIn(vs ...time.Time) predicate.ProviderCommand
- func UpdatedAtLT(v time.Time) predicate.ProviderCommand
- func UpdatedAtLTE(v time.Time) predicate.ProviderCommand
- func UpdatedAtNEQ(v time.Time) predicate.ProviderCommand
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProviderCommand
- func ValidColumn(column string) bool
- type CommandType
- type OrderOption
- func ByCommandType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeploymentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEndTime(opts ...sql.OrderTermOption) OrderOption
- func ByError(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOutput(opts ...sql.OrderTermOption) OrderOption
- func ByProviderField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStartTime(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- type Status
Constants ¶
const ( // Label holds the string label denoting the providercommand type in the database. Label = "provider_command" // 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" // FieldCommandType holds the string denoting the command_type field in the database. FieldCommandType = "command_type" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldArguments holds the string denoting the arguments field in the database. FieldArguments = "arguments" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // FieldOutput holds the string denoting the output field in the database. FieldOutput = "output" // FieldError holds the string denoting the error field in the database. FieldError = "error" // EdgeProvider holds the string denoting the provider edge name in mutations. EdgeProvider = "provider" // EdgeDeployment holds the string denoting the deployment edge name in mutations. EdgeDeployment = "deployment" // Table holds the table name of the providercommand in the database. Table = "provider_commands" // ProviderTable is the table that holds the provider relation/edge. ProviderTable = "provider_commands" // ProviderInverseTable is the table name for the Provider entity. // It exists in this package in order to avoid circular dependency with the "provider" package. ProviderInverseTable = "providers" // ProviderColumn is the table column denoting the provider relation/edge. ProviderColumn = "provider_command_provider" // DeploymentTable is the table that holds the deployment relation/edge. DeploymentTable = "provider_commands" // DeploymentInverseTable is the table name for the Deployment entity. // It exists in this package in order to avoid circular dependency with the "deployment" package. DeploymentInverseTable = "deployments" // DeploymentColumn is the table column denoting the deployment relation/edge. DeploymentColumn = "provider_command_deployment" )
const DefaultStatus = StatusQUEUED
StatusQUEUED is the default value of the Status enum.
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 // DefaultOutput holds the default value on creation for the "output" field. DefaultOutput string // DefaultError holds the default value on creation for the "error" field. DefaultError string // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCommandType, FieldStatus, FieldArguments, FieldStartTime, FieldEndTime, FieldOutput, FieldError, }
Columns holds all SQL columns for providercommand fields.
var ForeignKeys = []string{
"provider_command_provider",
"provider_command_deployment",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "provider_commands" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.ProviderCommand) predicate.ProviderCommand
And groups predicates with the AND operator between them.
func ArgumentsIsNil ¶
func ArgumentsIsNil() predicate.ProviderCommand
ArgumentsIsNil applies the IsNil predicate on the "arguments" field.
func ArgumentsNotNil ¶
func ArgumentsNotNil() predicate.ProviderCommand
ArgumentsNotNil applies the NotNil predicate on the "arguments" field.
func CommandTypeEQ ¶
func CommandTypeEQ(v CommandType) predicate.ProviderCommand
CommandTypeEQ applies the EQ predicate on the "command_type" field.
func CommandTypeIn ¶
func CommandTypeIn(vs ...CommandType) predicate.ProviderCommand
CommandTypeIn applies the In predicate on the "command_type" field.
func CommandTypeNEQ ¶
func CommandTypeNEQ(v CommandType) predicate.ProviderCommand
CommandTypeNEQ applies the NEQ predicate on the "command_type" field.
func CommandTypeNotIn ¶
func CommandTypeNotIn(vs ...CommandType) predicate.ProviderCommand
CommandTypeNotIn applies the NotIn predicate on the "command_type" field.
func CommandTypeValidator ¶
func CommandTypeValidator(ct CommandType) error
CommandTypeValidator is a validator for the "command_type" field enum values. It is called by the builders before save.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProviderCommand
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProviderCommand
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProviderCommand
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProviderCommand
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProviderCommand
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProviderCommand
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProviderCommand
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProviderCommand
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProviderCommand
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EndTime ¶
func EndTime(v time.Time) predicate.ProviderCommand
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeEQ ¶
func EndTimeEQ(v time.Time) predicate.ProviderCommand
EndTimeEQ applies the EQ predicate on the "end_time" field.
func EndTimeGT ¶
func EndTimeGT(v time.Time) predicate.ProviderCommand
EndTimeGT applies the GT predicate on the "end_time" field.
func EndTimeGTE ¶
func EndTimeGTE(v time.Time) predicate.ProviderCommand
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeIn ¶
func EndTimeIn(vs ...time.Time) predicate.ProviderCommand
EndTimeIn applies the In predicate on the "end_time" field.
func EndTimeIsNil ¶
func EndTimeIsNil() predicate.ProviderCommand
EndTimeIsNil applies the IsNil predicate on the "end_time" field.
func EndTimeLT ¶
func EndTimeLT(v time.Time) predicate.ProviderCommand
EndTimeLT applies the LT predicate on the "end_time" field.
func EndTimeLTE ¶
func EndTimeLTE(v time.Time) predicate.ProviderCommand
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
func EndTimeNEQ(v time.Time) predicate.ProviderCommand
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
func EndTimeNotIn(vs ...time.Time) predicate.ProviderCommand
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func EndTimeNotNil ¶
func EndTimeNotNil() predicate.ProviderCommand
EndTimeNotNil applies the NotNil predicate on the "end_time" field.
func Error ¶
func Error(v string) predicate.ProviderCommand
Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.
func ErrorContains ¶
func ErrorContains(v string) predicate.ProviderCommand
ErrorContains applies the Contains predicate on the "error" field.
func ErrorContainsFold ¶
func ErrorContainsFold(v string) predicate.ProviderCommand
ErrorContainsFold applies the ContainsFold predicate on the "error" field.
func ErrorEQ ¶
func ErrorEQ(v string) predicate.ProviderCommand
ErrorEQ applies the EQ predicate on the "error" field.
func ErrorEqualFold ¶
func ErrorEqualFold(v string) predicate.ProviderCommand
ErrorEqualFold applies the EqualFold predicate on the "error" field.
func ErrorGT ¶
func ErrorGT(v string) predicate.ProviderCommand
ErrorGT applies the GT predicate on the "error" field.
func ErrorGTE ¶
func ErrorGTE(v string) predicate.ProviderCommand
ErrorGTE applies the GTE predicate on the "error" field.
func ErrorHasPrefix ¶
func ErrorHasPrefix(v string) predicate.ProviderCommand
ErrorHasPrefix applies the HasPrefix predicate on the "error" field.
func ErrorHasSuffix ¶
func ErrorHasSuffix(v string) predicate.ProviderCommand
ErrorHasSuffix applies the HasSuffix predicate on the "error" field.
func ErrorIn ¶
func ErrorIn(vs ...string) predicate.ProviderCommand
ErrorIn applies the In predicate on the "error" field.
func ErrorLT ¶
func ErrorLT(v string) predicate.ProviderCommand
ErrorLT applies the LT predicate on the "error" field.
func ErrorLTE ¶
func ErrorLTE(v string) predicate.ProviderCommand
ErrorLTE applies the LTE predicate on the "error" field.
func ErrorNEQ ¶
func ErrorNEQ(v string) predicate.ProviderCommand
ErrorNEQ applies the NEQ predicate on the "error" field.
func ErrorNotIn ¶
func ErrorNotIn(vs ...string) predicate.ProviderCommand
ErrorNotIn applies the NotIn predicate on the "error" field.
func HasDeployment ¶
func HasDeployment() predicate.ProviderCommand
HasDeployment applies the HasEdge predicate on the "deployment" edge.
func HasDeploymentWith ¶
func HasDeploymentWith(preds ...predicate.Deployment) predicate.ProviderCommand
HasDeploymentWith applies the HasEdge predicate on the "deployment" edge with a given conditions (other predicates).
func HasProvider ¶
func HasProvider() predicate.ProviderCommand
HasProvider applies the HasEdge predicate on the "provider" edge.
func HasProviderWith ¶
func HasProviderWith(preds ...predicate.Provider) predicate.ProviderCommand
HasProviderWith applies the HasEdge predicate on the "provider" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ProviderCommand
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ProviderCommand
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ProviderCommand
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ProviderCommand
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ProviderCommand
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ProviderCommand
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ProviderCommand
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ProviderCommand
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ProviderCommand
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ProviderCommand) predicate.ProviderCommand
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ProviderCommand) predicate.ProviderCommand
Or groups predicates with the OR operator between them.
func Output ¶
func Output(v string) predicate.ProviderCommand
Output applies equality check predicate on the "output" field. It's identical to OutputEQ.
func OutputContains ¶
func OutputContains(v string) predicate.ProviderCommand
OutputContains applies the Contains predicate on the "output" field.
func OutputContainsFold ¶
func OutputContainsFold(v string) predicate.ProviderCommand
OutputContainsFold applies the ContainsFold predicate on the "output" field.
func OutputEQ ¶
func OutputEQ(v string) predicate.ProviderCommand
OutputEQ applies the EQ predicate on the "output" field.
func OutputEqualFold ¶
func OutputEqualFold(v string) predicate.ProviderCommand
OutputEqualFold applies the EqualFold predicate on the "output" field.
func OutputGT ¶
func OutputGT(v string) predicate.ProviderCommand
OutputGT applies the GT predicate on the "output" field.
func OutputGTE ¶
func OutputGTE(v string) predicate.ProviderCommand
OutputGTE applies the GTE predicate on the "output" field.
func OutputHasPrefix ¶
func OutputHasPrefix(v string) predicate.ProviderCommand
OutputHasPrefix applies the HasPrefix predicate on the "output" field.
func OutputHasSuffix ¶
func OutputHasSuffix(v string) predicate.ProviderCommand
OutputHasSuffix applies the HasSuffix predicate on the "output" field.
func OutputIn ¶
func OutputIn(vs ...string) predicate.ProviderCommand
OutputIn applies the In predicate on the "output" field.
func OutputLT ¶
func OutputLT(v string) predicate.ProviderCommand
OutputLT applies the LT predicate on the "output" field.
func OutputLTE ¶
func OutputLTE(v string) predicate.ProviderCommand
OutputLTE applies the LTE predicate on the "output" field.
func OutputNEQ ¶
func OutputNEQ(v string) predicate.ProviderCommand
OutputNEQ applies the NEQ predicate on the "output" field.
func OutputNotIn ¶
func OutputNotIn(vs ...string) predicate.ProviderCommand
OutputNotIn applies the NotIn predicate on the "output" field.
func StartTime ¶
func StartTime(v time.Time) predicate.ProviderCommand
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
func StartTimeEQ(v time.Time) predicate.ProviderCommand
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
func StartTimeGT(v time.Time) predicate.ProviderCommand
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
func StartTimeGTE(v time.Time) predicate.ProviderCommand
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
func StartTimeIn(vs ...time.Time) predicate.ProviderCommand
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeIsNil ¶
func StartTimeIsNil() predicate.ProviderCommand
StartTimeIsNil applies the IsNil predicate on the "start_time" field.
func StartTimeLT ¶
func StartTimeLT(v time.Time) predicate.ProviderCommand
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
func StartTimeLTE(v time.Time) predicate.ProviderCommand
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
func StartTimeNEQ(v time.Time) predicate.ProviderCommand
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
func StartTimeNotIn(vs ...time.Time) predicate.ProviderCommand
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func StartTimeNotNil ¶
func StartTimeNotNil() predicate.ProviderCommand
StartTimeNotNil applies the NotNil predicate on the "start_time" field.
func StatusEQ ¶
func StatusEQ(v Status) predicate.ProviderCommand
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...Status) predicate.ProviderCommand
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v Status) predicate.ProviderCommand
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...Status) predicate.ProviderCommand
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProviderCommand
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProviderCommand
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProviderCommand
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProviderCommand
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProviderCommand
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProviderCommand
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProviderCommand
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProviderCommand
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProviderCommand
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 CommandType ¶
type CommandType string
CommandType defines the type for the "command_type" enum field.
const ( CommandTypeCONFIGURE CommandType = "CONFIGURE" CommandTypeDEPLOY CommandType = "DEPLOY" CommandTypeDESTROY CommandType = "DESTROY" CommandTypeCONSOLE CommandType = "CONSOLE" )
CommandType values.
func (CommandType) String ¶
func (ct CommandType) String() string
type OrderOption ¶
OrderOption defines the ordering options for the ProviderCommand queries.
func ByCommandType ¶
func ByCommandType(opts ...sql.OrderTermOption) OrderOption
ByCommandType orders the results by the command_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeploymentField ¶
func ByDeploymentField(field string, opts ...sql.OrderTermOption) OrderOption
ByDeploymentField orders the results by deployment field.
func ByEndTime ¶
func ByEndTime(opts ...sql.OrderTermOption) OrderOption
ByEndTime orders the results by the end_time field.
func ByError ¶
func ByError(opts ...sql.OrderTermOption) OrderOption
ByError orders the results by the error field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOutput ¶
func ByOutput(opts ...sql.OrderTermOption) OrderOption
ByOutput orders the results by the output field.
func ByProviderField ¶
func ByProviderField(field string, opts ...sql.OrderTermOption) OrderOption
ByProviderField orders the results by provider field.
func ByStartTime ¶
func ByStartTime(opts ...sql.OrderTermOption) OrderOption
ByStartTime orders the results by the start_time field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.