Documentation
¶
Index ¶
- Constants
- func DevMode() bool
- func DevModeContext(ctx context.Context) bool
- func ErrList(e []error) error
- func GetChartNamespace() string
- func GetChartNamespaceContext(ctx context.Context) (string, error)
- func GetObjectQueue(l interface{}, capacity int) chan interface{}
- func SetChartNamespace(ns string)
- func SetDevMode(enabled bool)
- type Initializer
Constants ¶
View Source
const ( WorkerThreads = 25 S3Backup = "S3" PVBackup = "PV" )
Variables ¶
This section is empty.
Functions ¶
func DevModeContext ¶
func GetChartNamespace ¶
func GetChartNamespace() string
func GetObjectQueue ¶
func GetObjectQueue(l interface{}, capacity int) chan interface{}
func SetChartNamespace ¶
func SetChartNamespace(ns string)
func SetDevMode ¶
func SetDevMode(enabled bool)
Types ¶
type Initializer ¶
type Initializer struct {
// contains filtered or unexported fields
}
func (*Initializer) InitOnce ¶
func (i *Initializer) InitOnce(f func())
func (*Initializer) Initialized ¶
func (i *Initializer) Initialized() bool
func (*Initializer) WaitForInit ¶
func (i *Initializer) WaitForInit()
func (*Initializer) WaitForInitContext ¶
func (i *Initializer) WaitForInitContext(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.