MCPcopy Create free account

hub / github.com/cit965/kubecit / functions

Functions1,463 in github.com/cit965/kubecit

↓ 3 callersMethodSetEnilpLimit
SetEnilpLimit sets the "enilpLimit" field.
ent/mutation.go:581
↓ 3 callersMethodSetInstanceEniCount
SetInstanceEniCount sets the "instanceEniCount" field.
ent/mutation.go:637
↓ 3 callersMethodSetInstanceId
SetInstanceId sets the "instanceId" field.
ent/mutation.go:161
↓ 3 callersMethodSetInstanceName
SetInstanceName sets the "instanceName" field.
ent/mutation.go:269
↓ 3 callersMethodSetInstanceState
SetInstanceState sets the "instanceState" field.
ent/mutation.go:305
↓ 3 callersMethodSetInstanceType
SetInstanceType sets the "instanceType" field.
ent/mutation.go:489
↓ 3 callersMethodSetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/mutation.go:1233
↓ 3 callersMethodSetMemory
SetMemory sets the "memory" field.
ent/mutation.go:397
↓ 3 callersMethodSetSubnetId
SetSubnetId sets the "subnetId" field.
ent/mutation.go:233
↓ 3 callersMethodSetVpcId
SetVpcId sets the "vpcId" field.
ent/mutation.go:197
↓ 3 callersMethodString
()
internal/conf/conf.pb.go:152
↓ 3 callersMethodUpdateOne
UpdateOne returns an update builder for the given entity.
ent/client.go:487
↓ 3 callersMethodmutate
(ctx context.Context, m *UserMutation)
ent/client.go:550
↓ 3 callersFunctionquerierAll
()
ent/ent.go:538
↓ 3 callersMethodscanValues
scanValues returns the types for scanning values from sql.Rows.
ent/user.go:29
↓ 3 callersFunctionwithInterceptors
(ctx context.Context, q Query, qr Querier, inters []Interceptor)
ent/ent.go:562
↓ 2 callersMethodAddedField
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 callersMethodBools
Bools returns list of bools from a selector. It is only allowed when selecting one field.
ent/ent.go:449
↓ 2 callersMethodClusterDelete
Delete a cluster
api/helloworld/v1/greeter_grpc.pb.go:61
↓ 2 callersMethodClusterGet
Get a cluster
api/helloworld/v1/greeter_grpc.pb.go:63
↓ 2 callersMethodClusterList
(ctx context.Context, in *Empty, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:49
↓ 2 callersMethodClusterRegister
Register a cluster
api/helloworld/v1/greeter_grpc.pb.go:59
↓ 2 callersMethodClusterUpdate
Update a cluster
api/helloworld/v1/greeter_grpc.pb.go:65
↓ 2 callersMethodCommit
(context.Context, *Tx)
ent/tx.go:33
↓ 2 callersMethodCount
Count returns the count of the given query.
ent/user_query.go:201
↓ 2 callersMethodCreateInstance
(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:52
↓ 2 callersMethodDeleteInstanceById
(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:54
↓ 2 callersMethodDeploymentList
(ctx context.Context, in *DeploymentReq, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:57
↓ 2 callersMethodExec
Exec executes the deletion query and returns how many vertices were deleted.
ent/user_delete.go:29
↓ 2 callersMethodExec
Exec executes the deletion query and returns how many vertices were deleted.
ent/cluster_delete.go:29
↓ 2 callersMethodExec
Exec executes the deletion query and returns how many vertices were deleted.
ent/cloudhost_delete.go:29
↓ 2 callersMethodFieldCleared
FieldCleared returns a boolean indicating if a field with the given name was cleared in this mutation.
ent/mutation.go:1841
↓ 2 callersMethodFirstID
FirstID returns the first Cluster ID from the query. Returns a *NotFoundError when no Cluster ID was found.
ent/cluster_query.go:84
↓ 2 callersMethodFirstID
FirstID returns the first CloudHost ID from the query. Returns a *NotFoundError when no CloudHost ID was found.
ent/cloudhost_query.go:84
↓ 2 callersMethodFirstID
FirstID returns the first User ID from the query. Returns a *NotFoundError when no User ID was found.
ent/user_query.go:84
↓ 2 callersMethodFloat64s
Float64s returns list of float64s from a selector. It is only allowed when selecting one field.
ent/ent.go:402
↓ 2 callersMethodGetClient
(ctx context.Context, accessKey, secretKey, region string)
internal/biz/host.go:88
↓ 2 callersMethodGetCluster
(ctx context.Context, id int)
internal/biz/cluster.go:114
↓ 2 callersMethodGetInstance
(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:51
↓ 2 callersMethodGetRepo
(kubeCfg []byte, help *log.Helper)
internal/biz/cluster.go:46
↓ 2 callersFunctionHasOp
HasOp is a condition testing mutation operation.
ent/hook/hook.go:88
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/user/where.go:12
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/cloudhost/where.go:12
↓ 2 callersFunctionID
ID filters vertices based on their ID field.
ent/cluster/where.go:12
↓ 2 callersMethodIDs
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 callersFunctionIf
If executes the given hook under condition. hook.If(ComputeAverage, And(HasFields(...), HasAddedFields(...)))
ent/hook/hook.go:142
↓ 2 callersMethodInt
Int returns a single int from a selector. It is only allowed when selecting one field.
ent/ent.go:376
↓ 2 callersMethodIntercept
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 callersMethodInts
Ints returns list of ints from a selector. It is only allowed when selecting one field.
ent/ent.go:355
↓ 2 callersMethodList
(ctx context.Context)
internal/biz/cluster.go:28
↓ 2 callersMethodListInstances
(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:53
↓ 2 callersMethodListInstancesByVpc
(ctx context.Context, vpcId string)
internal/biz/host.go:89
↓ 2 callersMethodMutate
Mutate calls f(ctx, m).
ent/hook/hook.go:40
↓ 2 callersMethodNamespaceList
(ctx context.Context, in *NamespaceReq, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:50
↓ 2 callersFunctionNewClient
NewClient creates a new client configured with the given options.
ent/client.go:36
↓ 2 callersFunctionNewCloudHostRepo
NewCloudHostRepo .
internal/data/host.go:24
↓ 2 callersFunctionNewCloudHostUsecase
NewCloudHostUsecase new a CloudHostRepo usecase.
internal/biz/host.go:42
↓ 2 callersFunctionNewClusterRepo
NewClusterRepo 用户数据仓库构造方法
internal/data/cluster.go:15
↓ 2 callersFunctionNewClusterUsecase
NewClusterUsecase 集群领域构造方法
internal/biz/cluster.go:50
↓ 2 callersFunctionNewData
NewData 构造方法,初始化了数据库 client
internal/data/data.go:23
↓ 2 callersFunctionNewUserRepo
NewUserRepo 用户数据仓库构造方法
internal/data/user.go:17
↓ 2 callersFunctionNewUserUsecase
NewUserUsecase 用户领域构造方法
internal/biz/user.go:31
↓ 2 callersFunctionOpen
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 callersMethodRegisterCluster
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:98
↓ 2 callersMethodRegisterUser
RegisterUser 注册一个用户
internal/biz/user.go:36
↓ 2 callersMethodRollback
(context.Context, *Tx)
ent/tx.go:89
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
ent/cluster_update.go:50
↓ 2 callersMethodSave
Save executes the query and returns the updated Cluster entity.
ent/cluster_update.go:141
↓ 2 callersMethodSave
Save creates the User in the database.
ent/user_create.go:62
↓ 2 callersMethodSave
Save creates the User entities in the database.
ent/user_create.go:165
↓ 2 callersMethodSave
Save creates the Cluster in the database.
ent/cluster_create.go:42
↓ 2 callersMethodSave
Save creates the Cluster entities in the database.
ent/cluster_create.go:122
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
ent/cloudhost_update.go:143
↓ 2 callersMethodSave
Save executes the query and returns the updated CloudHost entity.
ent/cloudhost_update.go:393
↓ 2 callersMethodSave
Save creates the CloudHost in the database.
ent/cloudhost_create.go:100
↓ 2 callersMethodSave
Save creates the CloudHost entities in the database.
ent/cloudhost_create.go:258
↓ 2 callersMethodSave
Save executes the query and returns the number of nodes affected by the update operation.
ent/user_update.go:77
↓ 2 callersMethodSave
Save executes the query and returns the updated User entity.
ent/user_update.go:217
↓ 2 callersMethodSayHello
Sends a greeting
api/helloworld/v1/greeter_grpc.pb.go:45
↓ 2 callersMethodScan
Scan applies the selector query and scans the result into the given value.
ent/user_query.go:499
↓ 2 callersMethodSetAge
SetAge sets the "age" field.
ent/mutation.go:1562
↓ 2 callersMethodSetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/cluster_update.go:31
↓ 2 callersMethodSetKubeconfig
SetKubeconfig sets the "kubeconfig" field.
ent/cluster_create.go:23
↓ 2 callersMethodSetName
SetName sets the "name" field.
ent/user_create.go:29
↓ 2 callersMethodSetName
SetName sets the "name" field.
ent/mutation.go:1618
↓ 2 callersMethodSetName
SetName sets the "name" field.
ent/user_update.go:44
↓ 2 callersMethodSetPassword
SetPassword sets the "password" field.
ent/user_create.go:43
↓ 2 callersMethodSetPassword
SetPassword sets the "password" field.
ent/mutation.go:1654
↓ 2 callersMethodSetPassword
SetPassword sets the "password" field.
ent/user_update.go:58
↓ 2 callersMethodStrings
Strings returns list of strings from a selector. It is only allowed when selecting one field.
ent/ent.go:308
↓ 2 callersMethodSyncFromCloudProvider
(ctx context.Context, in *SyncFromCloudProviderRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:56
↓ 2 callersMethodUnique
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 callersMethodUpdateCluster
(ctx context.Context, cluster *Cluster)
internal/biz/cluster.go:122
↓ 2 callersMethodUpdateInstance
(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption)
api/helloworld/v1/greeter_grpc.pb.go:55
↓ 2 callersMethodUserRegister
Register a user
api/helloworld/v1/greeter_grpc.pb.go:47
↓ 2 callersFunctionValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/user/user.go:33
↓ 2 callersFunctionValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/cloudhost/cloudhost.go:60
↓ 2 callersFunctionValidColumn
ValidColumn reports if the column name is valid (part of the table columns).
ent/cluster/cluster.go:27
↓ 2 callersMethodValue
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 callersMethodcheck
check runs all checks and user-defined validators on the builder.
ent/user_create.go:102
← previousnext →101–200 of 1,463, ranked by callers