Directories ¶
Path | Synopsis |
---|---|
api
|
|
Package appruntimesync provides a grpc server and client code This package is based on the resource status in Kubernete maintenance application status.
|
Package appruntimesync provides a grpc server and client code This package is based on the resource status in Kubernete maintenance application status. |
client
Package client provides app runtime client code Client code demo: //create app status client ctx, cancel := context.WithCancel(context.Background()) defer cancel() cli, err := client.NewClient(ctx, client.AppRuntimeSyncClientConf{ EtcdEndpoints: s.Config.EtcdEndpoint, }) if err != nil { logrus.Errorf("create app status client error, %v", err) return err }
|
Package client provides app runtime client code Client code demo: //create app status client ctx, cancel := context.WithCancel(context.Background()) defer cancel() cli, err := client.NewClient(ctx, client.AppRuntimeSyncClientConf{ EtcdEndpoints: s.Config.EtcdEndpoint, }) if err != nil { logrus.Errorf("create app status client error, %v", err) return err } |
pb
Package pb is a generated protocol buffer package.
|
Package pb is a generated protocol buffer package. |
pod
Package pod cache kubernetes pod in memory and db It handle local scheduler pod host ip info.
|
Package pod cache kubernetes pod in memory and db It handle local scheduler pod host ip info. |
status
Package status check app status from kubernetes rc,statefulset and deployment It save app status to db and provides query
|
Package status check app status from kubernetes rc,statefulset and deployment It save app status to db and provides query |
builder
|
|
api
Rainbond datacenter api binary
|
Rainbond datacenter api binary |
entrance
|
|
eventlog
|
|
grctl
|
|
mq
|
|
node
|
|
etcd/etcdlock
Package etcdlock Master election using etcd.
|
Package etcdlock Master election using etcd. |
webcli
|
|
worker
|
|
Click to show internal directories.
Click to hide internal directories.