Documentation
¶
Index ¶
- type AppContext
- func (ctx *AppContext) ExporterOpts() *connectors.Options
- func (c *AppContext) GetCookies() *cookies.Manager
- func (c *AppContext) GetInner() *kcontext.KContext
- func (c *AppContext) GetPkgManager() *pkg.Manager
- func (c *AppContext) GetSecret() []byte
- func (ctx *AppContext) ImporterOpts() *connectors.Options
- func (c *AppContext) ReloadConfig() error
- func (c *AppContext) SetCookies(cacheManager *cookies.Manager)
- func (c *AppContext) SetPkgManager(pluginsManager *pkg.Manager)
- func (c *AppContext) SetSecret(secret []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶
type AppContext struct {
*kcontext.KContext
Config *config.Config `msgpack:"-"`
ConfigDir string
StoreConfig map[string]string
Quiet bool
Silent bool
// contains filtered or unexported fields
}
func NewAppContext ¶
func NewAppContext() *AppContext
func NewAppContextFrom ¶
func NewAppContextFrom(ctx *AppContext) *AppContext
func (*AppContext) ExporterOpts ¶ added in v1.1.0
func (ctx *AppContext) ExporterOpts() *connectors.Options
func (*AppContext) GetCookies ¶
func (c *AppContext) GetCookies() *cookies.Manager
func (*AppContext) GetInner ¶ added in v1.0.3
func (c *AppContext) GetInner() *kcontext.KContext
XXX: This needs to go away progressively by migrating to AppContext.
func (*AppContext) GetPkgManager ¶ added in v1.1.0
func (c *AppContext) GetPkgManager() *pkg.Manager
func (*AppContext) GetSecret ¶
func (c *AppContext) GetSecret() []byte
func (*AppContext) ImporterOpts ¶ added in v1.0.3
func (ctx *AppContext) ImporterOpts() *connectors.Options
func (*AppContext) ReloadConfig ¶ added in v1.0.3
func (c *AppContext) ReloadConfig() error
func (*AppContext) SetCookies ¶
func (c *AppContext) SetCookies(cacheManager *cookies.Manager)
func (*AppContext) SetPkgManager ¶ added in v1.1.0
func (c *AppContext) SetPkgManager(pluginsManager *pkg.Manager)
func (*AppContext) SetSecret ¶
func (c *AppContext) SetSecret(secret []byte)
Click to show internal directories.
Click to hide internal directories.