MCPcopy Create free account

hub / github.com/cit965/kubecit / functions

Functions1,463 in github.com/cit965/kubecit

↓ 48 callersMethodSetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
ent/mutation.go:1769
↓ 30 callersFunctionsetContextOp
setContextOp returns a new context with the given QueryContext attached (including its op) in case it does not exist.
ent/ent.go:530
↓ 28 callersFunctionfile_helloworld_v1_greeter_proto_rawDescGZIP
()
api/helloworld/v1/greeter.pb.go:1782
↓ 22 callersMethodQuery
Query calls tx.Query.
ent/tx.go:212
↓ 20 callersMethodList
(ctx context.Context)
internal/biz/user.go:20
↓ 19 callersMethodError
(...any)
ent/enttest/enttest.go:21
↓ 16 callersMethodWhere
Where adds a new predicate for the UserQuery builder.
ent/user_query.go:30
↓ 15 callersMethodSave
(context.Context, *Greeter)
internal/biz/greeter.go:24
↓ 14 callersMethodGet
(ctx context.Context, id string)
internal/biz/host.go:27
↓ 13 callersMethodCreate
(context.Context, *User)
internal/biz/user.go:19
↓ 12 callersMethodAddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
ent/mutation.go:1820
↓ 12 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mrepo/user.go:34
↓ 12 callersFunctionwithHooks
withHooks invokes the builder operation with the given hooks, if any.
ent/ent.go:496
↓ 11 callersMethodDelete
(ctx context.Context, id int)
internal/biz/user.go:21
↓ 10 callersFunctionIsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
ent/ent.go:211
↓ 10 callersMethodString
String implements the fmt.Stringer.
ent/user.go:108
↓ 9 callersFunctionConvertType
(src, dest interface{})
internal/data/host.go:156
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:305
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:423
↓ 9 callersMethodHooks
Hooks returns the client hooks.
ent/client.go:541
↓ 8 callersMethodAge
Age returns the value of the "age" field in the mutation.
ent/mutation.go:1568
↓ 8 callersMethodInstanceId
InstanceId returns the value of the "instanceId" field in the mutation.
ent/mutation.go:166
↓ 8 callersMethodType
Type returns the node type of this mutation (User).
ent/mutation.go:1715
↓ 8 callersMethodUpdate
(ctx context.Context, id string, host *CloudHost)
internal/biz/host.go:31
↓ 8 callersMethodVpcId
VpcId returns the value of the "vpcId" field in the mutation.
ent/mutation.go:202
↓ 7 callersMethodClose
Close is a nop close.
ent/tx.go:196
↓ 7 callersMethodMutate
Mutate implements the ent.Mutator interface.
ent/client.go:198
↓ 7 callersMethodName
Name returns the value of the "name" field in the mutation.
ent/mutation.go:1623
↓ 7 callersMethodOp
Op returns the operation name.
ent/mutation.go:1705
↓ 7 callersMethodSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct
ent/cluster_query.go:293
↓ 7 callersMethodSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct
ent/cloudhost_query.go:293
↓ 7 callersMethodSelect
Select allows the selection one or more fields/columns for the given query, instead of selecting all fields in the entity. Example: var v []struct
ent/user_query.go:293
↓ 7 callersFunctionfile_conf_conf_proto_rawDescGZIP
()
internal/conf/conf.pb.go:505
↓ 6 callersMethodAll
All executes the query and returns a list of Users.
ent/user_query.go:161
↓ 6 callersMethodClone
Clone returns a duplicate of the UserQuery builder, including all associated steps. It can be used to prepare common query builders and use them diffe
ent/user_query.go:242
↓ 6 callersMethodDescriptor
Deprecated: Use Data.ProtoReflect.Descriptor instead.
internal/conf/conf.pb.go:171
↓ 6 callersMethodDialect
Dialect returns the dialect of the driver we started the transaction from.
ent/tx.go:193
↓ 6 callersMethodExec
Exec calls tx.Exec.
ent/tx.go:207
↓ 6 callersMethodKubeconfig
Kubeconfig returns the value of the "kubeconfig" field in the mutation.
ent/mutation.go:1238
↓ 6 callersMethodLimit
Limit the number of records to be returned by this query.
ent/cluster_query.go:36
↓ 6 callersMethodLimit
Limit the number of records to be returned by this query.
ent/cloudhost_query.go:36
↓ 6 callersMethodLimit
Limit the number of records to be returned by this query.
ent/user_query.go:36
↓ 6 callersMethodPassword
Password returns the value of the "password" field in the mutation.
ent/mutation.go:1659
↓ 6 callersFunctioncheckColumn
columnChecker checks if the column exists in the given table.
ent/ent.go:75
↓ 6 callersFunctionscanWithInterceptors
(ctx context.Context, rootQuery Q1, selectOrGroup Q2, inters []Interceptor, v any)
ent/ent.go:577
↓ 5 callersMethodCPU
CPU returns the value of the "cpu" field in the mutation.
ent/mutation.go:347
↓ 5 callersMethodCreatedTime
CreatedTime returns the value of the "createdTime" field in the mutation.
ent/mutation.go:458
↓ 5 callersMethodEniLimit
EniLimit returns the value of the "eniLimit" field in the mutation.
ent/mutation.go:531
↓ 5 callersMethodEnilpLimit
EnilpLimit returns the value of the "enilpLimit" field in the mutation.
ent/mutation.go:587
↓ 5 callersMethodID
ID returns the ID value in the mutation. Note that the ID is only available if it was provided to the builder or after it was returned from the databa
ent/mutation.go:1535
↓ 5 callersMethodInstanceEniCount
InstanceEniCount returns the value of the "instanceEniCount" field in the mutation.
ent/mutation.go:643
↓ 5 callersMethodInstanceName
InstanceName returns the value of the "instanceName" field in the mutation.
ent/mutation.go:274
↓ 5 callersMethodInstanceState
InstanceState returns the value of the "instanceState" field in the mutation.
ent/mutation.go:310
↓ 5 callersMethodInstanceType
InstanceType returns the value of the "instanceType" field in the mutation.
ent/mutation.go:494
↓ 5 callersMethodMemory
Memory returns the value of the "memory" field in the mutation.
ent/mutation.go:403
↓ 5 callersFunctionNewCloudHostClient
NewCloudHostClient returns a client for the CloudHost from the given config.
ent/client.go:217
↓ 5 callersFunctionNewClusterClient
NewClusterClient returns a client for the Cluster from the given config.
ent/client.go:335
↓ 5 callersFunctionNewUserClient
NewUserClient returns a client for the User from the given config.
ent/client.go:453
↓ 5 callersMethodSubnetId
SubnetId returns the value of the "subnetId" field in the mutation.
ent/mutation.go:238
↓ 5 callersMethodinit
()
ent/client.go:44
↓ 5 callersFunctionnewCloudHostMutation
newCloudHostMutation creates new mutation for the CloudHost entity.
ent/mutation.go:68
↓ 5 callersFunctionnewClusterMutation
newClusterMutation creates new mutation for the Cluster entity.
ent/mutation.go:1140
↓ 5 callersFunctionnewUserMutation
newUserMutation creates new mutation for the User entity.
ent/mutation.go:1469
↓ 4 callersMethodClient
Client returns a new `ent.Client` from the mutation. If the mutation was executed in a transaction (ent.Tx), a transactional client is returned.
ent/mutation.go:1516
↓ 4 callersFunctionInstanceIdEQ
InstanceIdEQ applies the EQ predicate on the "instanceId" field.
ent/cloudhost/where.go:117
↓ 4 callersMethodOnly
Only returns a single User entity found by the query, ensuring it only returns one. Returns a *NotSingularError when more than one User entity is foun
ent/user_query.go:108
↓ 4 callersMethodUserList
(ctx context.Context, in *Empty, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:48
↓ 4 callersMethodWhere
Where appends a list predicates to the UserMutation builder.
ent/mutation.go:1690
↓ 4 callersMethodinit
()
ent/tx.go:151
↓ 4 callersMethodprepareQuery
(ctx context.Context)
ent/cluster_query.go:306
↓ 4 callersMethodprepareQuery
(ctx context.Context)
ent/cloudhost_query.go:306
↓ 4 callersMethodprepareQuery
(ctx context.Context)
ent/user_query.go:306
↓ 3 callersMethodAddedAge
AddedAge returns the value that was added to the "age" field in this mutation.
ent/mutation.go:1603
↓ 3 callersMethodAddedCPU
AddedCPU returns the value that was added to the "cpu" field in this mutation.
ent/mutation.go:382
↓ 3 callersMethodAddedEniLimit
AddedEniLimit returns the value that was added to the "eniLimit" field in this mutation.
ent/mutation.go:566
↓ 3 callersMethodAddedEnilpLimit
AddedEnilpLimit returns the value that was added to the "enilpLimit" field in this mutation.
ent/mutation.go:622
↓ 3 callersMethodAddedInstanceEniCount
AddedInstanceEniCount returns the value that was added to the "instanceEniCount" field in this mutation.
ent/mutation.go:678
↓ 3 callersMethodAddedMemory
AddedMemory returns the value that was added to the "memory" field in this mutation.
ent/mutation.go:438
↓ 3 callersMethodAll
All executes the query and returns a list of Clusters.
ent/cluster_query.go:161
↓ 3 callersMethodAll
All executes the query and returns a list of CloudHosts.
ent/cloudhost_query.go:161
↓ 3 callersFunctionCreate
Create creates all table resources using the given schema driver.
ent/migrate/migrate.go:49
↓ 3 callersMethodDeleteOneID
DeleteOneID returns a builder for deleting the given entity by its id.
ent/client.go:510
↓ 3 callersMethodFailNow
()
ent/enttest/enttest.go:20
↓ 3 callersMethodField
Field returns the value of a field with the given name. The second boolean return value indicates that this field was not set, or was not defined in t
ent/mutation.go:1739
↓ 3 callersMethodFields
Fields of the User.
ent/schema/user.go:14
↓ 3 callersMethodFirst
First returns the first User entity from the query. Returns a *NotFoundError when no User was found.
ent/user_query.go:62
↓ 3 callersMethodGet
(ctx context.Context, id int)
internal/biz/cluster.go:27
↓ 3 callersMethodIDs
IDs executes the query and returns a list of Cluster IDs.
ent/cluster_query.go:180
↓ 3 callersMethodIDs
IDs executes the query and returns a list of CloudHost IDs.
ent/cloudhost_query.go:180
↓ 3 callersMethodIDs
IDs executes the query and returns a list of User IDs.
ent/user_query.go:180
↓ 3 callersMethodRegister
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:29
↓ 3 callersMethodResetAge
ResetAge resets all changes to the "age" field.
ent/mutation.go:1612
↓ 3 callersMethodResetCPU
ResetCPU resets all changes to the "cpu" field.
ent/mutation.go:391
↓ 3 callersMethodResetEniLimit
ResetEniLimit resets all changes to the "eniLimit" field.
ent/mutation.go:575
↓ 3 callersMethodResetEnilpLimit
ResetEnilpLimit resets all changes to the "enilpLimit" field.
ent/mutation.go:631
↓ 3 callersMethodResetInstanceEniCount
ResetInstanceEniCount resets all changes to the "instanceEniCount" field.
ent/mutation.go:687
↓ 3 callersMethodResetMemory
ResetMemory resets all changes to the "memory" field.
ent/mutation.go:447
↓ 3 callersMethodSetCPU
SetCPU sets the "cpu" field.
ent/mutation.go:341
↓ 3 callersMethodSetCreatedTime
SetCreatedTime sets the "createdTime" field.
ent/mutation.go:453
↓ 3 callersMethodSetEniLimit
SetEniLimit sets the "eniLimit" field.
ent/mutation.go:525
next →1–100 of 1,463, ranked by callers