Documentation ¶
Index ¶
- func ArchiveClusterLogs(s3Client *S3Client, crID uint, uuid string, topos *deploy.Topology) error
- func ArchiveMonitorData(s3Client *S3Client, crID uint, uuid string, topos *deploy.Topology) (err error)
- func ArchiveWorkloadData(s3Client *S3Client, dockerExecutor *util.DockerExecutor, containerID string, ...) (err error)
- func ArchiveWorkloadRuntimeLog(s3Client *S3Client, crID uint, out *bytes.Buffer, uuid string) error
- func ArtifactDownloadPath(crID uint) string
- func ArtifactPath(crID uint) string
- func RebuildMonitoringOnK8s(crID uint, uuid string) (err error)
- type S3Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveClusterLogs ¶
ArchiveClusterLogs ...
func ArchiveMonitorData ¶
func ArchiveMonitorData(s3Client *S3Client, crID uint, uuid string, topos *deploy.Topology) (err error)
ArchiveMonitorData archives prometheus data and grafana configuration(including dashboards and provisioning)
func ArchiveWorkloadData ¶
func ArchiveWorkloadData(s3Client *S3Client, dockerExecutor *util.DockerExecutor, containerID string, crID uint, uuid string, srcPath string) (err error)
ArchiveWorkloadData archives the workload data locating on srcPath in workload container
func ArchiveWorkloadRuntimeLog ¶
func ArchiveWorkloadRuntimeLog( s3Client *S3Client, crID uint, out *bytes.Buffer, uuid string) error
ArchiveWorkloadRuntimeLog ...
func ArtifactDownloadPath ¶
ArtifactDownloadPath builds artifact download dir
func RebuildMonitoringOnK8s ¶
RebuildMonitoringOnK8s rebuilds monitoring on K8s cluster
Types ¶
Click to show internal directories.
Click to hide internal directories.