package
6.1.2-release+incompatible
Repository: https://github.com/goodrain/rainbond.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
AddVolume AddVolume.
AddVolumeDependency add volume dependency.
BackupCopy backup copy.
Backups list all backup history by group app.
BatchOperation batch operation for tenant support operation is : start,build,stop,update.
Check service check swagger:operation POST /v2/tenants/{tenant_name}/servicecheck v2 serviceCheck
应用构建源检测,支持docker run ,docker compose, source code
service check
--- consumes: - application/json - application/x-protobuf
produces: - application/json - application/xml
responses: default: schema: "$ref": "#/responses/commandResponse" description: 统一返回格式.
No description provided by the author
CheckLabel check label.
CheckMapKey CheckMapKey.
CreateV2RouterManager 创建manager.
DeleteBackup delete backup.
DeleteVolume DeleteVolume.
DeleteVolumeDependency delete volume dependency.
DeleteVolumeType delete volume option.
DirectRequest direct request.
Display 遍历结构体.
FileServer conveniently sets up a http.FileServer handler to serve static files from a http.FileSystem.
GetAbnormalStatus -.
GetBackup get one backup status.
GetDepVolume 获取应用所有依赖的存储.
GetDockerLog get docker log.
GetEventLog get event log.
GetFileManage get docker log.
GetGatewayIPs get gateway ips.
GetLicenseManager get license Manager.
GetLogFile get log file.
GetManager 获取管理器.
GetMonitorMessage get MonitorMessage.
GetMonitorMetrics get monitor metrics.
GetNotificationEvent GetNotificationEvent swagger:operation GET /v2/notificationEvent/{hash} v2/notificationEvent getevents
获取通知事件
get events
--- produces: - application/json - application/xml
responses: default: schema: "$ref": "#/responses/commandResponse" description: 统一返回格式.
GetNotificationEvents GetNotificationEventsupport query from start and end time or all swagger:operation GET /v2/notificationEvent v2/notificationEvent getevents
获取数据中心通知事件
get events
--- produces: - application/json - application/xml
responses: default: schema: "$ref": "#/responses/commandResponse" description: 统一返回格式.
GetPubSubControll get service pub sub controller.
GetRootFuncManager get root function Manager.
GetRunningServices list all running service ids.
GetServiceAliasID get service alias idpython:new_word = str(ord(string[10])) + string + str(ord(string[3])) + 'log' + str(ord(string[2]) / 7)new_id = hashlib.sha224(new_word).hexdigest()[0:16].
GetServiceCheckInfo get service check info swagger:operation GET /v2/tenants/{tenant_name}/servicecheck/{uuid} v2 getServiceCheckInfo
获取构建检测信息
get service check info
--- consumes: - application/json - application/x-protobuf
produces: - application/json - application/xml
responses: default: schema: "$ref": "#/responses/commandResponse" description: 统一返回格式.
GetServiceDeployInfo get service deploy info.
GetVolume 获取应用全部存储,包括依赖的存储.
No description provided by the author
HandleNotificationEvent HandleNotificationEvent swagger:operation PUT /v2/notificationEvent/{hash} v2/notificationEvent handlenotify
处理通知事件
get events
--- produces: - application/json - application/xml
responses: default: schema: "$ref": "#/responses/commandResponse" description: 统一返回格式.
HTTPRequest public http request.
ListVolumeType list volume type list.
NewAPIManager new manager.
NewBackups new group app backup.
PodNums reutrns the number of pods for components.
Pods get some service pods swagger:operation GET /v2/tenants/{tenant_name}/pods v2/tenants pods
获取一些应用的Pod信息
get some service pods
--- consumes: - application/json - application/x-protobuf
produces: - application/json - application/xml
responses:
default: schema: "$ref": "#/responses/commandResponse" description: get some service pods.
RegistryImageRepositories -.
RegistryImageTags -.
RestInfo rest info.
Restore restore group app.
RestoreResult restore group app result.
TestFunc test func.
TransBody transfer body to map.
TransStatus trans service status.
UpdateVolumeType delete volume option.
VolumeOptions list volume option.
VolumeSetVar set volume option.
# Constants
BaseUploadPath lang version base dir.
No description provided by the author
# Structs
APIResponse =.
ApplicationController -.
AppRestoreController is an implementation of AppRestoreInterface.
AppStruct -.
ClusterController -.
DockerConsole docker console.
DockerLog docker log.
EventLog event log.
EventLogStruct eventlog struct.
FileManage docker log.
GatewayStruct -.
Handle Handle swagger:parameters handlenotify.
HelmStruct -.
K8sAttributeController -.
LabelController implements Labeler.
LicenseManager license manager.
LogFile log file down server.
LongVersionStruct -.
MonitorMessage monitor message.
NodesController -.
PodController is an implementation of PodInterface.
PubSubControll service pub sub.
Registry -.
RegistryAuthSecretStruct -.
RepositoryTags -.
RootFuncManager root function manager.
SourcesInfo -.
No description provided by the author
TenantStruct tenant struct.
ThirdPartyServiceController implements ThirdPartyServicer.
V2Routes v2Routes.
# Interfaces
V2Manager v2 manager.