Documentation ¶
Index ¶
- func AddCancelObserver(observer func(s os.Signal))
- func Cancel()
- func GetAccount() (account.Account, *data.CodeError)
- func GetConfig() *config.Config
- func GetContext() context.Context
- func GetJobDir() string
- func GetLogConfig() *config.LogSetting
- func GetMac() (mac *qbox.Mac, err *data.CodeError)
- func GetStorageConfig() *storage.Config
- func GetUserDir() string
- func GetWorkspace() string
- func IsCmdInterrupt() bool
- func Load(info LoadInfo) (err *data.CodeError)
- type LoadInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCancelObserver ¶ added in v2.8.0
func GetLogConfig ¶
func GetLogConfig() *config.LogSetting
func GetStorageConfig ¶
func GetUserDir ¶ added in v2.8.0
func GetUserDir() string
func GetWorkspace ¶
func GetWorkspace() string
func IsCmdInterrupt ¶
func IsCmdInterrupt() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.