Documentation ¶
Index ¶
Constants ¶
View Source
const (
GB = 1024 * 1024 * 1024
)
Variables ¶
This section is empty.
Functions ¶
func RecoverTask ¶
Types ¶
type CronJob ¶
type CronJob struct {
// contains filtered or unexported fields
}
func (*CronJob) DailyStats ¶
func (ctx *CronJob) DailyStats()
dailyStats: Daily task, check & stop expired containers.
func (*CronJob) InstantStats ¶
func (ctx *CronJob) InstantStats()
instantStats: Instant task, check & update used bandwidth, stop containers which exceeded the package limit.
func (*CronJob) MonthlyStats ¶
func (ctx *CronJob) MonthlyStats()
monthlyStats: Restart stopped containers and restore the bandwidth.
Click to show internal directories.
Click to hide internal directories.