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
↓ 3 callers
Method
SetEnilpLimit
SetEnilpLimit sets the "enilpLimit" field.
ent/mutation.go:581
↓ 3 callers
Method
SetInstanceEniCount
SetInstanceEniCount sets the "instanceEniCount" field.
ent/mutation.go:637
↓ 3 callers
Method
SetInstanceId
SetInstanceId sets the "instanceId" field.
ent/mutation.go:161
↓ 3 callers
Method
SetInstanceName
SetInstanceName sets the "instanceName" field.
ent/mutation.go:269
↓ 3 callers
Method
SetInstanceState
SetInstanceState sets the "instanceState" field.
ent/mutation.go:305
↓ 3 callers
Method
SetInstanceType
SetInstanceType sets the "instanceType" field.
ent/mutation.go:489
↓ 3 callers
Method
SetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/mutation.go:1233
↓ 3 callers
Method
SetMemory
SetMemory sets the "memory" field.
ent/mutation.go:397
↓ 3 callers
Method
SetSubnetId
SetSubnetId sets the "subnetId" field.
ent/mutation.go:233
↓ 3 callers
Method
SetVpcId
SetVpcId sets the "vpcId" field.
ent/mutation.go:197
↓ 3 callers
Method
String
()
internal/conf/conf.pb.go:152
↓ 3 callers
Method
UpdateOne
UpdateOne returns an update builder for the given entity.
ent/client.go:487
↓ 3 callers
Method
mutate
(ctx context.Context, m *UserMutation)
ent/client.go:550
↓ 3 callers
Function
querierAll
()
ent/ent.go:538
↓ 3 callers
Method
scanValues
scanValues returns the types for scanning values from sql.Rows.
ent/user.go:29
↓ 3 callers
Function
withInterceptors
(ctx context.Context, q Query, qr Querier, inters []Interceptor)
ent/ent.go:562
↓ 2 callers
Method
AddedField
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that t
ent/mutation.go:1809
↓ 2 callers
Method
Bools
Bools returns list of bools from a selector. It is only allowed when selecting one field.
ent/ent.go:449
↓ 2 callers
Method
ClusterDelete
Delete a cluster
api/helloworld/v1/greeter_grpc.pb.go:61
↓ 2 callers
Method
ClusterGet
Get a cluster
api/helloworld/v1/greeter_grpc.pb.go:63
↓ 2 callers
Method
ClusterList
(ctx context.Context, in *Empty, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:49
↓ 2 callers
Method
ClusterRegister
Register a cluster
api/helloworld/v1/greeter_grpc.pb.go:59
↓ 2 callers
Method
ClusterUpdate
Update a cluster
api/helloworld/v1/greeter_grpc.pb.go:65
↓ 2 callers
Method
Commit
(context.Context, *Tx)
ent/tx.go:33
↓ 2 callers
Method
Count
Count returns the count of the given query.
ent/user_query.go:201
↓ 2 callers
Method
CreateInstance
(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:52
↓ 2 callers
Method
DeleteInstanceById
(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:54
↓ 2 callers
Method
DeploymentList
(ctx context.Context, in *DeploymentReq, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:57
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
ent/user_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
ent/cluster_delete.go:29
↓ 2 callers
Method
Exec
Exec executes the deletion query and returns how many vertices were deleted.
ent/cloudhost_delete.go:29
↓ 2 callers
Method
FieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:1841
↓ 2 callers
Method
FirstID
FirstID returns the first Cluster ID from the query. Returns a *NotFoundError when no Cluster ID was found.
ent/cluster_query.go:84
↓ 2 callers
Method
FirstID
FirstID returns the first CloudHost ID from the query. Returns a *NotFoundError when no CloudHost ID was found.
ent/cloudhost_query.go:84
↓ 2 callers
Method
FirstID
FirstID returns the first User ID from the query. Returns a *NotFoundError when no User ID was found.
ent/user_query.go:84
↓ 2 callers
Method
Float64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
ent/ent.go:402
↓ 2 callers
Method
GetClient
(ctx context.Context, accessKey, secretKey, region string)
internal/biz/host.go:88
↓ 2 callers
Method
GetCluster
(ctx context.Context, id int)
internal/biz/cluster.go:114
↓ 2 callers
Method
GetInstance
(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:51
↓ 2 callers
Method
GetRepo
(kubeCfg []byte, help *log.Helper)
internal/biz/cluster.go:46
↓ 2 callers
Function
HasOp
HasOp is a condition testing mutation operation.
ent/hook/hook.go:88
↓ 2 callers
Function
ID
ID filters vertices based on their ID field.
ent/user/where.go:12
↓ 2 callers
Function
ID
ID filters vertices based on their ID field.
ent/cloudhost/where.go:12
↓ 2 callers
Function
ID
ID filters vertices based on their ID field.
ent/cluster/where.go:12
↓ 2 callers
Method
IDs
IDs queries the database and returns the entity ids that match the mutation's predicate. That means, if the mutation is applied within a transaction w
ent/mutation.go:1546
↓ 2 callers
Function
If
If executes the given hook under condition. hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))
ent/hook/hook.go:142
↓ 2 callers
Method
Int
Int returns a single int from a selector. It is only allowed when selecting one field.
ent/ent.go:376
↓ 2 callers
Method
Intercept
Intercept adds the query interceptors to all the entity clients. In order to add interceptors to a specific client, call: `client.Node.Intercept(...)`
ent/client.go:191
↓ 2 callers
Method
Ints
Ints returns list of ints from a selector. It is only allowed when selecting one field.
ent/ent.go:355
↓ 2 callers
Method
List
(ctx context.Context)
internal/biz/cluster.go:28
↓ 2 callers
Method
ListInstances
(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:53
↓ 2 callers
Method
ListInstancesByVpc
(ctx context.Context, vpcId string)
internal/biz/host.go:89
↓ 2 callers
Method
Mutate
Mutate calls f(ctx, m).
ent/hook/hook.go:40
↓ 2 callers
Method
NamespaceList
(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:50
↓ 2 callers
Function
NewClient
NewClient creates a new client configured with the given options.
ent/client.go:36
↓ 2 callers
Function
NewCloudHostRepo
NewCloudHostRepo .
internal/data/host.go:24
↓ 2 callers
Function
NewCloudHostUsecase
NewCloudHostUsecase new a CloudHostRepo usecase.
internal/biz/host.go:42
↓ 2 callers
Function
NewClusterRepo
NewClusterRepo 用户数据仓库构造方法
internal/data/cluster.go:15
↓ 2 callers
Function
NewClusterUsecase
NewClusterUsecase 集群领域构造方法
internal/biz/cluster.go:50
↓ 2 callers
Function
NewData
NewData 构造方法,初始化了数据库 client
internal/data/data.go:23
↓ 2 callers
Function
NewUserRepo
NewUserRepo 用户数据仓库构造方法
internal/data/user.go:17
↓ 2 callers
Function
NewUserUsecase
NewUserUsecase 用户领域构造方法
internal/biz/user.go:31
↓ 2 callers
Function
Open
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it. Optional parameters can b
ent/client.go:103
↓ 2 callers
Method
RegisterCluster
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:98
↓ 2 callers
Method
RegisterUser
RegisterUser 注册一个用户
internal/biz/user.go:36
↓ 2 callers
Method
Rollback
(context.Context, *Tx)
ent/tx.go:89
↓ 2 callers
Method
Save
Save executes the query and returns the number of nodes affected by the update operation.
ent/cluster_update.go:50
↓ 2 callers
Method
Save
Save executes the query and returns the updated Cluster entity.
ent/cluster_update.go:141
↓ 2 callers
Method
Save
Save creates the User in the database.
ent/user_create.go:62
↓ 2 callers
Method
Save
Save creates the User entities in the database.
ent/user_create.go:165
↓ 2 callers
Method
Save
Save creates the Cluster in the database.
ent/cluster_create.go:42
↓ 2 callers
Method
Save
Save creates the Cluster entities in the database.
ent/cluster_create.go:122
↓ 2 callers
Method
Save
Save executes the query and returns the number of nodes affected by the update operation.
ent/cloudhost_update.go:143
↓ 2 callers
Method
Save
Save executes the query and returns the updated CloudHost entity.
ent/cloudhost_update.go:393
↓ 2 callers
Method
Save
Save creates the CloudHost in the database.
ent/cloudhost_create.go:100
↓ 2 callers
Method
Save
Save creates the CloudHost entities in the database.
ent/cloudhost_create.go:258
↓ 2 callers
Method
Save
Save executes the query and returns the number of nodes affected by the update operation.
ent/user_update.go:77
↓ 2 callers
Method
Save
Save executes the query and returns the updated User entity.
ent/user_update.go:217
↓ 2 callers
Method
SayHello
Sends a greeting
api/helloworld/v1/greeter_grpc.pb.go:45
↓ 2 callers
Method
Scan
Scan applies the selector query and scans the result into the given value.
ent/user_query.go:499
↓ 2 callers
Method
SetAge
SetAge sets the "age" field.
ent/mutation.go:1562
↓ 2 callers
Method
SetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/cluster_update.go:31
↓ 2 callers
Method
SetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/cluster_create.go:23
↓ 2 callers
Method
SetName
SetName sets the "name" field.
ent/user_create.go:29
↓ 2 callers
Method
SetName
SetName sets the "name" field.
ent/mutation.go:1618
↓ 2 callers
Method
SetName
SetName sets the "name" field.
ent/user_update.go:44
↓ 2 callers
Method
SetPassword
SetPassword sets the "password" field.
ent/user_create.go:43
↓ 2 callers
Method
SetPassword
SetPassword sets the "password" field.
ent/mutation.go:1654
↓ 2 callers
Method
SetPassword
SetPassword sets the "password" field.
ent/user_update.go:58
↓ 2 callers
Method
Strings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
ent/ent.go:308
↓ 2 callers
Method
SyncFromCloudProvider
(ctx context.Context, in *SyncFromCloudProviderRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:56
↓ 2 callers
Method
Unique
Unique configures the query builder to filter duplicate records on query. By default, unique is set to true, and can be disabled using this method.
ent/user_query.go:49
↓ 2 callers
Method
UpdateCluster
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:122
↓ 2 callers
Method
UpdateInstance
(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:55
↓ 2 callers
Method
UserRegister
Register a user
api/helloworld/v1/greeter_grpc.pb.go:47
↓ 2 callers
Function
ValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/user/user.go:33
↓ 2 callers
Function
ValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/cloudhost/cloudhost.go:60
↓ 2 callers
Function
ValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/cluster/cluster.go:27
↓ 2 callers
Method
Value
Value returns the ent.Value that was dynamically selected and assigned to the User. This includes values selected through modifiers, order, etc.
ent/user.go:85
↓ 2 callers
Method
check
check runs all checks and user-defined validators on the builder.
ent/user_create.go:102
← previous
next →
101–200 of 1,463, ranked by callers