Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
clustercontroller
Binary clustercontroller For more details to run clustercontroller, run: ./clustercontroller help
|
Binary clustercontroller For more details to run clustercontroller, run: ./clustercontroller help |
clustercontroller/app
Package app set flags and command to clustercontroller, and start the program.
|
Package app set flags and command to clustercontroller, and start the program. |
k3s_cluster_shim
Binary k3s_cluster_shim is an adapter handling message from clustercontroller for k3s cluster.
|
Binary k3s_cluster_shim is an adapter handling message from clustercontroller for k3s cluster. |
k3s_cluster_shim/app
Package app does all of the work necessary to configure and run k3s_cluster_shim.
|
Package app does all of the work necessary to configure and run k3s_cluster_shim. |
k8s_cluster_shim
Binary k8s_cluster_shim is an adapter handling message from clustercontroller for k8s cluster.
|
Binary k8s_cluster_shim is an adapter handling message from clustercontroller for k8s cluster. |
k8s_cluster_shim/app
Package app does all of the work necessary to configure and run k8s_cluster_shim.
|
Package app does all of the work necessary to configure and run k8s_cluster_shim. |
ote_controller_manager
Binary ote_controller_manager For more details to run ote_controller_manager, run: ./ote_controller_manager help
|
Binary ote_controller_manager For more details to run ote_controller_manager, run: ./ote_controller_manager help |
ote_controller_manager/app
Package app set flags and command to ote_controller_manager, and start the program.
|
Package app set flags and command to ote_controller_manager, and start the program. |
pkg
|
|
apis/ote
Package ote defines k8s crd used by ote.
|
Package ote defines k8s crd used by ote. |
apis/ote/v1
Package v1 defines version v1 k8s crd used by ote.
|
Package v1 defines version v1 k8s crd used by ote. |
clusterhandler
Package clusterhandler watchs k8s crd if it is enabled, listen on a websocket tunnel to access connection from child, and process message from child or parent.
|
Package clusterhandler watchs k8s crd if it is enabled, listen on a websocket tunnel to access connection from child, and process message from child or parent. |
clusterrouter
Package clusterrouter manages cluster route of subtree and neighbor.
|
Package clusterrouter manages cluster route of subtree and neighbor. |
clusterselector
Package clusterselector implements the routing of cluster messages.
|
Package clusterselector implements the routing of cluster messages. |
clustershim
Package clustershim implements a grpc server for handling clustercontroller requests.
|
Package clustershim implements a grpc server for handling clustercontroller requests. |
clustershim/handler
Package handler provides the ability to interact with k8s or third-party services.
|
Package handler provides the ability to interact with k8s or third-party services. |
config
Package config defines data structure needed by cluster controller, and const of cluster controller.
|
Package config defines data structure needed by cluster controller, and const of cluster controller. |
controller
Package controller provides some method to help controller handles event.
|
Package controller provides some method to help controller handles event. |
controller/clustercrd
Package clustercrd watch cluster crd if it is created, get all namespace from center etcd,and send them to the new cluster.
|
Package clustercrd watch cluster crd if it is created, get all namespace from center etcd,and send them to the new cluster. |
controller/namespace
Package namespace watch Namespace resource if it is created, and send it to all clusters.
|
Package namespace watch Namespace resource if it is created, and send it to all clusters. |
edgehandler
Package edgehandler maintenances the websocket connection with cloud server and process the receive messages.
|
Package edgehandler maintenances the websocket connection with cloud server and process the receive messages. |
eventrecorder
Package eventrecorder defines event recorder for k8s leader election.
|
Package eventrecorder defines event recorder for k8s leader election. |
generated/clientset/versioned
This package has the automatically generated clientset.
|
This package has the automatically generated clientset. |
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
generated/clientset/versioned/typed/ote/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
generated/clientset/versioned/typed/ote/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
k8sclient
Package k8sclient contains operations of k8s client, and operations of k8s crd defined by ote.
|
Package k8sclient contains operations of k8s client, and operations of k8s crd defined by ote. |
k8sclient/fake
Package fake mocks clientset for ote.
|
Package fake mocks clientset for ote. |
reporter
Package reporter collects edge resource status and reports it to controller manager.
|
Package reporter collects edge resource status and reports it to controller manager. |
tunnel
Package tunnel implements websocket communication between the cloud server and edge clients.
|
Package tunnel implements websocket communication between the cloud server and edge clients. |
Click to show internal directories.
Click to hide internal directories.