types

package
v1.4.0-alpha3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// 1. FetchUpdate
	OUT_OF_DATE     = "out-of-date"
	READY_TO_UPDATE = "ready-to-update"
	UP_TO_DATE      = "up-to-date"

	// 2. Install
	FETCHING    = "fetching"
	DOWNLOADING = "downloading"
	DECOMPRESS  = "decompressing"
	INSTALLING  = "installing"
	RESTARTING  = "restarting"
	MIGRATION   = "migration"
	OTHER       = "other"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextType

type ContextType string
const (
	Trigger ContextType = "trigger_type"
)

type STATUS_MSG

type STATUS_MSG string

type TriggerType

type TriggerType string
const (
	HTTP_REQUEST TriggerType = "http-request-trigger"
	CRON_JOB     TriggerType = "cron-job-trigger"
	INSTALL      TriggerType = "install-trigger"
)

TODO: 考虑重构这里 这里是设计是因为最早业务是前端不同方式调用下,状态要有不同的变化,所以区分不同的样式然后来做不同的处理。 但是随着 @ETWang1991 的变化,现在不同的调用方式,前端都看不见,考虑删除这里来减少复杂度。

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL