Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cit965/kubecit
/ functions
Functions
1,463 in github.com/cit965/kubecit
⨍
Functions
1,463
◇
Types & classes
167
↓ 48 callers
Method
SetField
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 callers
Function
setContextOp
setContextOp returns a new context with the given QueryContext attached (including its op) in case it does not exist.
ent/ent.go:530
↓ 28 callers
Function
file_helloworld_v1_greeter_proto_rawDescGZIP
()
api/helloworld/v1/greeter.pb.go:1782
↓ 22 callers
Method
Query
Query calls tx.Query.
ent/tx.go:212
↓ 20 callers
Method
List
(ctx context.Context)
internal/biz/user.go:20
↓ 19 callers
Method
Error
(...any)
ent/enttest/enttest.go:21
↓ 16 callers
Method
Where
Where adds a new predicate for the UserQuery builder.
ent/user_query.go:30
↓ 15 callers
Method
Save
(context.Context, *Greeter)
internal/biz/greeter.go:24
↓ 14 callers
Method
Get
(ctx context.Context, id string)
internal/biz/host.go:27
↓ 13 callers
Method
Create
(context.Context, *User)
internal/biz/user.go:19
↓ 12 callers
Method
AddField
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 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/mocks/mrepo/user.go:34
↓ 12 callers
Function
withHooks
withHooks invokes the builder operation with the given hooks, if any.
ent/ent.go:496
↓ 11 callers
Method
Delete
(ctx context.Context, id int)
internal/biz/user.go:21
↓ 10 callers
Function
IsNotFound
IsNotFound returns a boolean indicating whether the error is a not found error.
ent/ent.go:211
↓ 10 callers
Method
String
String implements the fmt.Stringer.
ent/user.go:108
↓ 9 callers
Function
ConvertType
(src, dest interface{})
internal/data/host.go:156
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:305
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:423
↓ 9 callers
Method
Hooks
Hooks returns the client hooks.
ent/client.go:541
↓ 8 callers
Method
Age
Age returns the value of the "age" field in the mutation.
ent/mutation.go:1568
↓ 8 callers
Method
InstanceId
InstanceId returns the value of the "instanceId" field in the mutation.
ent/mutation.go:166
↓ 8 callers
Method
Type
Type returns the node type of this mutation (User).
ent/mutation.go:1715
↓ 8 callers
Method
Update
(ctx context.Context, id string, host *CloudHost)
internal/biz/host.go:31
↓ 8 callers
Method
VpcId
VpcId returns the value of the "vpcId" field in the mutation.
ent/mutation.go:202
↓ 7 callers
Method
Close
Close is a nop close.
ent/tx.go:196
↓ 7 callers
Method
Mutate
Mutate implements the ent.Mutator interface.
ent/client.go:198
↓ 7 callers
Method
Name
Name returns the value of the "name" field in the mutation.
ent/mutation.go:1623
↓ 7 callers
Method
Op
Op returns the operation name.
ent/mutation.go:1705
↓ 7 callers
Method
Select
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 callers
Method
Select
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 callers
Method
Select
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 callers
Function
file_conf_conf_proto_rawDescGZIP
()
internal/conf/conf.pb.go:505
↓ 6 callers
Method
All
All executes the query and returns a list of Users.
ent/user_query.go:161
↓ 6 callers
Method
Clone
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 callers
Method
Descriptor
Deprecated: Use Data.ProtoReflect.Descriptor instead.
internal/conf/conf.pb.go:171
↓ 6 callers
Method
Dialect
Dialect returns the dialect of the driver we started the transaction from.
ent/tx.go:193
↓ 6 callers
Method
Exec
Exec calls tx.Exec.
ent/tx.go:207
↓ 6 callers
Method
Kubeconfig
Kubeconfig returns the value of the "kubeconfig" field in the mutation.
ent/mutation.go:1238
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/cluster_query.go:36
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/cloudhost_query.go:36
↓ 6 callers
Method
Limit
Limit the number of records to be returned by this query.
ent/user_query.go:36
↓ 6 callers
Method
Password
Password returns the value of the "password" field in the mutation.
ent/mutation.go:1659
↓ 6 callers
Function
checkColumn
columnChecker checks if the column exists in the given table.
ent/ent.go:75
↓ 6 callers
Function
scanWithInterceptors
(ctx context.Context, rootQuery Q1, selectOrGroup Q2, inters []Interceptor, v any)
ent/ent.go:577
↓ 5 callers
Method
CPU
CPU returns the value of the "cpu" field in the mutation.
ent/mutation.go:347
↓ 5 callers
Method
CreatedTime
CreatedTime returns the value of the "createdTime" field in the mutation.
ent/mutation.go:458
↓ 5 callers
Method
EniLimit
EniLimit returns the value of the "eniLimit" field in the mutation.
ent/mutation.go:531
↓ 5 callers
Method
EnilpLimit
EnilpLimit returns the value of the "enilpLimit" field in the mutation.
ent/mutation.go:587
↓ 5 callers
Method
ID
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 callers
Method
InstanceEniCount
InstanceEniCount returns the value of the "instanceEniCount" field in the mutation.
ent/mutation.go:643
↓ 5 callers
Method
InstanceName
InstanceName returns the value of the "instanceName" field in the mutation.
ent/mutation.go:274
↓ 5 callers
Method
InstanceState
InstanceState returns the value of the "instanceState" field in the mutation.
ent/mutation.go:310
↓ 5 callers
Method
InstanceType
InstanceType returns the value of the "instanceType" field in the mutation.
ent/mutation.go:494
↓ 5 callers
Method
Memory
Memory returns the value of the "memory" field in the mutation.
ent/mutation.go:403
↓ 5 callers
Function
NewCloudHostClient
NewCloudHostClient returns a client for the CloudHost from the given config.
ent/client.go:217
↓ 5 callers
Function
NewClusterClient
NewClusterClient returns a client for the Cluster from the given config.
ent/client.go:335
↓ 5 callers
Function
NewUserClient
NewUserClient returns a client for the User from the given config.
ent/client.go:453
↓ 5 callers
Method
SubnetId
SubnetId returns the value of the "subnetId" field in the mutation.
ent/mutation.go:238
↓ 5 callers
Method
init
()
ent/client.go:44
↓ 5 callers
Function
newCloudHostMutation
newCloudHostMutation creates new mutation for the CloudHost entity.
ent/mutation.go:68
↓ 5 callers
Function
newClusterMutation
newClusterMutation creates new mutation for the Cluster entity.
ent/mutation.go:1140
↓ 5 callers
Function
newUserMutation
newUserMutation creates new mutation for the User entity.
ent/mutation.go:1469
↓ 4 callers
Method
Client
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 callers
Function
InstanceIdEQ
InstanceIdEQ applies the EQ predicate on the "instanceId" field.
ent/cloudhost/where.go:117
↓ 4 callers
Method
Only
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 callers
Method
UserList
(ctx context.Context, in *Empty, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:48
↓ 4 callers
Method
Where
Where appends a list predicates to the UserMutation builder.
ent/mutation.go:1690
↓ 4 callers
Method
init
()
ent/tx.go:151
↓ 4 callers
Method
prepareQuery
(ctx context.Context)
ent/cluster_query.go:306
↓ 4 callers
Method
prepareQuery
(ctx context.Context)
ent/cloudhost_query.go:306
↓ 4 callers
Method
prepareQuery
(ctx context.Context)
ent/user_query.go:306
↓ 3 callers
Method
AddedAge
AddedAge returns the value that was added to the "age" field in this mutation.
ent/mutation.go:1603
↓ 3 callers
Method
AddedCPU
AddedCPU returns the value that was added to the "cpu" field in this mutation.
ent/mutation.go:382
↓ 3 callers
Method
AddedEniLimit
AddedEniLimit returns the value that was added to the "eniLimit" field in this mutation.
ent/mutation.go:566
↓ 3 callers
Method
AddedEnilpLimit
AddedEnilpLimit returns the value that was added to the "enilpLimit" field in this mutation.
ent/mutation.go:622
↓ 3 callers
Method
AddedInstanceEniCount
AddedInstanceEniCount returns the value that was added to the "instanceEniCount" field in this mutation.
ent/mutation.go:678
↓ 3 callers
Method
AddedMemory
AddedMemory returns the value that was added to the "memory" field in this mutation.
ent/mutation.go:438
↓ 3 callers
Method
All
All executes the query and returns a list of Clusters.
ent/cluster_query.go:161
↓ 3 callers
Method
All
All executes the query and returns a list of CloudHosts.
ent/cloudhost_query.go:161
↓ 3 callers
Function
Create
Create creates all table resources using the given schema driver.
ent/migrate/migrate.go:49
↓ 3 callers
Method
DeleteOneID
DeleteOneID returns a builder for deleting the given entity by its id.
ent/client.go:510
↓ 3 callers
Method
FailNow
()
ent/enttest/enttest.go:20
↓ 3 callers
Method
Field
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 callers
Method
Fields
Fields of the User.
ent/schema/user.go:14
↓ 3 callers
Method
First
First returns the first User entity from the query. Returns a *NotFoundError when no User was found.
ent/user_query.go:62
↓ 3 callers
Method
Get
(ctx context.Context, id int)
internal/biz/cluster.go:27
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of Cluster IDs.
ent/cluster_query.go:180
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of CloudHost IDs.
ent/cloudhost_query.go:180
↓ 3 callers
Method
IDs
IDs executes the query and returns a list of User IDs.
ent/user_query.go:180
↓ 3 callers
Method
Register
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:29
↓ 3 callers
Method
ResetAge
ResetAge resets all changes to the "age" field.
ent/mutation.go:1612
↓ 3 callers
Method
ResetCPU
ResetCPU resets all changes to the "cpu" field.
ent/mutation.go:391
↓ 3 callers
Method
ResetEniLimit
ResetEniLimit resets all changes to the "eniLimit" field.
ent/mutation.go:575
↓ 3 callers
Method
ResetEnilpLimit
ResetEnilpLimit resets all changes to the "enilpLimit" field.
ent/mutation.go:631
↓ 3 callers
Method
ResetInstanceEniCount
ResetInstanceEniCount resets all changes to the "instanceEniCount" field.
ent/mutation.go:687
↓ 3 callers
Method
ResetMemory
ResetMemory resets all changes to the "memory" field.
ent/mutation.go:447
↓ 3 callers
Method
SetCPU
SetCPU sets the "cpu" field.
ent/mutation.go:341
↓ 3 callers
Method
SetCreatedTime
SetCreatedTime sets the "createdTime" field.
ent/mutation.go:453
↓ 3 callers
Method
SetEniLimit
SetEniLimit sets the "eniLimit" field.
ent/mutation.go:525
next →
1–100 of 1,463, ranked by callers