Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cit965/kubecit
/ types & classes
Types & classes
167 in github.com/cit965/kubecit
⨍
Functions
1,463
◇
Types & classes
167
↓ 155 callers
FuncType
CloudHost
CloudHost is the predicate function for cloudhost builders.
ent/predicate/predicate.go:10
↓ 49 callers
FuncType
User
User is the predicate function for user builders.
ent/predicate/predicate.go:16
↓ 26 callers
FuncType
Cluster
Cluster is the predicate function for cluster builders.
ent/predicate/predicate.go:13
↓ 1 callers
FuncType
CommitFunc
The CommitFunc type is an adapter to allow the use of ordinary function as a Committer. If f is a function with the appropriate signature, CommitFunc(
ent/tx.go:39
↓ 1 callers
FuncType
RollbackFunc
The RollbackFunc type is an adapter to allow the use of ordinary function as a Rollbacker. If f is a function with the appropriate signature, Rollback
ent/tx.go:95
Struct
A
internal/data/host_test.go:17
FuncType
AggregateFunc
AggregateFunc applies an aggregation step on the group-by traversal/selector.
ent/ent.go:111
Struct
Bootstrap
internal/conf/conf.pb.go:24
Struct
Chain
Chain acts as a list of hooks and is effectively immutable. Once created, it will always hold the same set of hooks in the same order.
ent/hook/hook.go:190
Struct
Client
Client is the client that holds all ent builders.
ent/client.go:23
Struct
CloudHost
CloudHost is the model entity for the CloudHost schema.
ent/cloudhost.go:15
Struct
CloudHost
CloudHost holds the schema definition for the CloudHost entity.
ent/schema/cloudhost.go:9
Struct
CloudHost
internal/biz/host.go:10
Struct
CloudHostClient
CloudHostClient is a client for the CloudHost schema.
ent/client.go:212
Struct
CloudHostCreate
CloudHostCreate is the builder for creating a CloudHost entity.
ent/cloudhost_create.go:16
Struct
CloudHostCreateBulk
CloudHostCreateBulk is the builder for creating many CloudHost entities in bulk.
ent/cloudhost_create.go:252
Struct
CloudHostDelete
CloudHostDelete is the builder for deleting a CloudHost entity.
ent/cloudhost_delete.go:16
Struct
CloudHostDeleteOne
CloudHostDeleteOne is the builder for deleting a single CloudHost entity.
ent/cloudhost_delete.go:60
FuncType
CloudHostFunc
The CloudHostFunc type is an adapter to allow the use of ordinary function as CloudHost mutator.
ent/hook/hook.go:13
Struct
CloudHostGroupBy
CloudHostGroupBy is the group-by builder for CloudHost entities.
ent/cloudhost_query.go:439
Struct
CloudHostMutation
CloudHostMutation represents an operation that mutates the CloudHost nodes in the graph.
ent/mutation.go:34
Struct
CloudHostQuery
CloudHostQuery is the builder for querying CloudHost entities.
ent/cloudhost_query.go:18
Interface
CloudHostRepo
go:generate mockgen -destination=../mocks/mrepo/host.go -package=mrepo . CloudHostRepo
internal/biz/host.go:26
Struct
CloudHostSelect
CloudHostSelect is the builder for selecting fields of CloudHost entities.
ent/cloudhost_query.go:487
Struct
CloudHostUpdate
CloudHostUpdate is the builder for updating CloudHost entities.
ent/cloudhost_update.go:18
Struct
CloudHostUpdateOne
CloudHostUpdateOne is the builder for updating a single CloudHost entity.
ent/cloudhost_update.go:260
Struct
CloudHostUsecase
CloudHostUsecase is a CloudHost usecase.
internal/biz/host.go:36
TypeAlias
CloudHosts
CloudHosts is a parsable slice of CloudHost.
ent/cloudhost.go:224
Interface
CloudProviderRepo
internal/biz/host.go:87
Struct
CloudProviderUsecase
internal/biz/host.go:92
Struct
Cluster
Cluster is the model entity for the Cluster schema.
ent/cluster.go:15
Struct
Cluster
Cluster holds the schema definition for the Cluster entity.
ent/schema/cluster.go:9
Struct
Cluster
internal/biz/cluster.go:13
Struct
Cluster
api/helloworld/v1/greeter.pb.go:164
Struct
ClusterBase
api/helloworld/v1/greeter.pb.go:1414
Struct
ClusterClient
ClusterClient is a client for the Cluster schema.
ent/client.go:330
Struct
ClusterCreate
ClusterCreate is the builder for creating a Cluster entity.
ent/cluster_create.go:16
Struct
ClusterCreateBulk
ClusterCreateBulk is the builder for creating many Cluster entities in bulk.
ent/cluster_create.go:116
Struct
ClusterDelete
ClusterDelete is the builder for deleting a Cluster entity.
ent/cluster_delete.go:16
Struct
ClusterDeleteOne
ClusterDeleteOne is the builder for deleting a single Cluster entity.
ent/cluster_delete.go:60
FuncType
ClusterFunc
The ClusterFunc type is an adapter to allow the use of ordinary function as Cluster mutator.
ent/hook/hook.go:25
Struct
ClusterGroupBy
ClusterGroupBy is the group-by builder for Cluster entities.
ent/cluster_query.go:439
Struct
ClusterKubeconfig
api/helloworld/v1/greeter.pb.go:1469
Struct
ClusterListResponse
api/helloworld/v1/greeter.pb.go:219
Struct
ClusterMutation
ClusterMutation represents an operation that mutates the Cluster nodes in the graph.
ent/mutation.go:1122
Struct
ClusterQuery
ClusterQuery is the builder for querying Cluster entities.
ent/cluster_query.go:18
Interface
ClusterRepo
go:generate mockgen -destination=../mocks/mrepo/cluster.go -package=mrepo . ClusterRepo
internal/biz/cluster.go:26
Struct
ClusterSelect
ClusterSelect is the builder for selecting fields of Cluster entities.
ent/cluster_query.go:487
Struct
ClusterUpdate
ClusterUpdate is the builder for updating Cluster entities.
ent/cluster_update.go:18
Struct
ClusterUpdateOne
ClusterUpdateOne is the builder for updating a single Cluster entity.
ent/cluster_update.go:101
Struct
ClusterUsecase
ClusterUsecase 集群领域结构体,可以包含多个与用户业务相关的 repo
internal/biz/cluster.go:19
TypeAlias
Clusters
Clusters is a parsable slice of Cluster.
ent/cluster.go:103
FuncType
CommitHook
CommitHook defines the "commit middleware". A function that gets a Committer and returns a Committer. For example: hook := func(next ent.Committer)
ent/tx.go:55
Interface
Committer
Committer is the interface that wraps the Commit method.
ent/tx.go:32
FuncType
Condition
Condition is a hook condition function.
ent/hook/hook.go:48
Struct
ConstraintError
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed. For example, violation of edge
ent/ent.go:268
Struct
CreateInstanceReply
api/helloworld/v1/greeter.pb.go:921
Struct
CreateInstanceRequest
api/helloworld/v1/greeter.pb.go:874
Struct
Data
internal/conf/conf.pb.go:134
Struct
Data
Data contains config and db client
internal/data/data.go:17
Struct
Data_Database
internal/conf/conf.pb.go:315
Struct
Data_Redis
internal/conf/conf.pb.go:370
Struct
DeleteInstanceReply
api/helloworld/v1/greeter.pb.go:1218
Struct
DeleteInstanceRequest
api/helloworld/v1/greeter.pb.go:1171
Struct
DeploymentReq
api/helloworld/v1/greeter.pb.go:1312
Struct
DeploymentResp
api/helloworld/v1/greeter.pb.go:1367
Struct
Dest
internal/data/host_test.go:22
Struct
Empty
api/helloworld/v1/greeter.pb.go:24
TypeAlias
ErrorReason
api/helloworld/v1/error_reason.pb.go:23
Struct
GetInstanceReply
api/helloworld/v1/greeter.pb.go:827
Struct
GetInstanceRequest
api/helloworld/v1/greeter.pb.go:780
Struct
Greeter
Greeter is a Greeter model.
internal/biz/greeter.go:18
Interface
GreeterClient
GreeterClient is the client API for Greeter service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.d
api/helloworld/v1/greeter_grpc.pb.go:43
Interface
GreeterHTTPClient
api/helloworld/v1/greeter_http.pb.go:436
Struct
GreeterHTTPClientImpl
api/helloworld/v1/greeter_http.pb.go:455
Interface
GreeterHTTPServer
api/helloworld/v1/greeter_http.pb.go:39
Interface
GreeterRepo
GreeterRepo is a Greater repo.
internal/biz/greeter.go:23
Interface
GreeterServer
GreeterServer is the server API for Greeter service. All implementations must embed UnimplementedGreeterServer for forward compatibility
api/helloworld/v1/greeter_grpc.pb.go:223
Struct
GreeterService
GreeterService is a greeter service.
internal/service/greeter.go:13
Struct
GreeterUsecase
GreeterUsecase is a Greeter usecase.
internal/biz/greeter.go:32
Struct
HelloReply
The response message containing the greetings
api/helloworld/v1/greeter.pb.go:464
Struct
HelloRequest
The request message containing the user's name.
api/helloworld/v1/greeter.pb.go:369
Struct
Host
api/helloworld/v1/greeter.pb.go:511
Interface
K8sRepo
internal/biz/cluster.go:34
Interface
K8sRepoGetter
internal/biz/cluster.go:45
Struct
ListInstancesReply
api/helloworld/v1/greeter.pb.go:1006
Struct
ListInstancesRequest
api/helloworld/v1/greeter.pb.go:968
Struct
MockCloudHostRepo
MockCloudHostRepo is a mock of CloudHostRepo interface.
internal/mocks/mrepo/host.go:16
Struct
MockCloudHostRepoMockRecorder
MockCloudHostRepoMockRecorder is the mock recorder for MockCloudHostRepo.
internal/mocks/mrepo/host.go:22
Struct
MockClusterRepo
MockClusterRepo is a mock of ClusterRepo interface.
internal/mocks/mrepo/cluster.go:16
Struct
MockClusterRepoMockRecorder
MockClusterRepoMockRecorder is the mock recorder for MockClusterRepo.
internal/mocks/mrepo/cluster.go:22
Struct
MockUserRepo
MockUserRepo is a mock of UserRepo interface.
internal/mocks/mrepo/user.go:16
Struct
MockUserRepoMockRecorder
MockUserRepoMockRecorder is the mock recorder for MockUserRepo.
internal/mocks/mrepo/user.go:22
Struct
NamespaceReq
api/helloworld/v1/greeter.pb.go:1265
Struct
NamespaceResp
api/helloworld/v1/greeter.pb.go:416
Struct
NotFoundError
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
ent/ent.go:201
Struct
NotLoadedError
NotLoadedError returns when trying to get a node that was not loaded by the query.
ent/ent.go:247
Struct
NotSingularError
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
ent/ent.go:228
FuncType
Option
Option function to configure the client.
ent/client.go:66
FuncType
Option
Option configures client creation.
ent/enttest/enttest.go:25
next →
1–100 of 167, ranked by callers