Directories
¶
| Path | Synopsis |
|---|---|
|
base
|
|
|
auth
Package auth provides auth related functions
|
Package auth provides auth related functions |
|
bufferpool
Package bufferpool provides a pool of bytes.Buffer
|
Package bufferpool provides a pool of bytes.Buffer |
|
bufferqueue
Package bufferqueue implements a buffer queue.
|
Package bufferqueue implements a buffer queue. |
|
config
Package config provides the configuration for the cube master
|
Package config provides the configuration for the cube master |
|
constants
Package constants contains all of the application wide constant values used throughout Cube Master.
|
Package constants contains all of the application wide constant values used throughout Cube Master. |
|
dao
Package dao provides a thin, driver-agnostic data-access facade for CubeMaster.
|
Package dao provides a thin, driver-agnostic data-access facade for CubeMaster. |
|
dao/driver/mysql
Package mysql plugs the MySQL engine into pkg/base/dao.
|
Package mysql plugs the MySQL engine into pkg/base/dao. |
|
dao/migrate
Package migrate runs version-controlled schema migrations against the shared CubeMaster database.
|
Package migrate runs version-controlled schema migrations against the shared CubeMaster database. |
|
db
Package db provides database access.
|
Package db provides database access. |
|
db/models
Package models contains database schema and ORM model definitions for Cube Master project.
|
Package models contains database schema and ORM model definitions for Cube Master project. |
|
grpc-middleware/pool
Package pool TODO
|
Package pool TODO |
|
hotswap
Package hotswap implements file hot update,
|
Package hotswap implements file hot update, |
|
localcache
Package localcache cache data in local memory with rich features
|
Package localcache cache data in local memory with rich features |
|
localcache/util
Package util TODO
|
Package util TODO |
|
log
Package log provides log for cube master.
|
Package log provides log for cube master. |
|
node
Package node is the basic unit of a host
|
Package node is the basic unit of a host |
|
queueworker
Package queueworker provides a simple queue worker.
|
Package queueworker provides a simple queue worker. |
|
recov
Package recov support recover handler Copyright (c) 2020 Tencent Serverless * All rights reserved * Author: jiangdu * Date: 2020-06-08
|
Package recov support recover handler Copyright (c) 2020 Tencent Serverless * All rights reserved * Author: jiangdu * Date: 2020-06-08 |
|
rediskey
Package rediskey centralizes Redis key construction so every key shares a unified namespace ("cube:{ver}:{scope}:{resource}[:{sub}]:{id}") instead of scattered string literals.
|
Package rediskey centralizes Redis key construction so every key shares a unified namespace ("cube:{ver}:{scope}:{resource}[:{sub}]:{id}") instead of scattered string literals. |
|
ret
Package ret provides a type for representing the return value of a function.
|
Package ret provides a type for representing the return value of a function. |
|
semaphore
Package semaphore implements a weighted semaphore.
|
Package semaphore implements a weighted semaphore. |
|
types
Package types contains the types used by the metrics package
|
Package types contains the types used by the metrics package |
|
utils
Package utils 工具类
|
Package utils 工具类 |
|
version
Package version provides version information
|
Package version provides version information |
|
wrapconcurrent
Package wrapconcurrent provides a concurrent handle that manages concurrency for tasks.
|
Package wrapconcurrent provides a concurrent handle that manages concurrency for tasks. |
|
wrapredis
Package wrapredis provides a wrapper for redis.
|
Package wrapredis provides a wrapper for redis. |
|
Package cubelet provides the interface for the cube-master to interact with the cube-node.
|
Package cubelet provides the interface for the cube-master to interact with the cube-node. |
|
grpcconn
Package grpcconn provides a pool of grpc connections.
|
Package grpcconn provides a pool of grpc connections. |
|
workpool
Package workpool implements a worker pool
|
Package workpool implements a worker pool |
|
Package errorcode provides error code definition.
|
Package errorcode provides error code definition. |
|
Package lifecycle owns the cross-process metadata channel used by CubeProxy-sidecar to track auto-pause / auto-resume decisions.
|
Package lifecycle owns the cross-process metadata channel used by CubeProxy-sidecar to track auto-pause / auto-resume decisions. |
|
Package localcache provides local cache
|
Package localcache provides local cache |
|
Package sandboxspec persists the canonical create-time spec of a sandbox.
|
Package sandboxspec persists the canonical create-time spec of a sandbox. |
|
Package scheduler provides a scheduler for the cube-master
|
Package scheduler provides a scheduler for the cube-master |
|
selctx
Package selctx provides context with selected node
|
Package selctx provides context with selected node |
|
selector
|
|
|
backofffilter
Package backofffilter provides the prefilter module
|
Package backofffilter provides the prefilter module |
|
filter
Package filter provides filter functions for node.Node.
|
Package filter provides filter functions for node.Node. |
|
prefilter
Package prefilter provides the prefilter module
|
Package prefilter provides the prefilter module |
|
score
Package score provides the score of a node.
|
Package score provides the score of a node. |
|
Package server provides the server implementation for the CubeMaster.
|
Package server provides the server implementation for the CubeMaster. |
|
service
|
|
|
httpservice/cube
Package cube provides the interface for cube master
|
Package cube provides the interface for cube master |
|
httpservice/inner
Package inner provides the inner services of cube-master
|
Package inner provides the inner services of cube-master |
|
httpservice/middleware
Package middleware provides http useful middleware.
|
Package middleware provides http useful middleware. |
|
httpservice/notify
Package notify provides a notification service.
|
Package notify provides a notification service. |
|
sandbox/types
Package types common definitions of common types of cube master.
|
Package types common definitions of common types of cube master. |
|
Package task provides the task module
|
Package task provides the task module |
|
cube_egress_ca
Package cube_egress_ca bakes the CubeEgress root CA into a sandbox rootfs directory at template-build time.
|
Package cube_egress_ca bakes the CubeEgress root CA into a sandbox rootfs directory at template-build time. |
Click to show internal directories.
Click to hide internal directories.