appcontext

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: ISC Imports: 6 Imported by: 1

Documentation

Index

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)

Jump to

Keyboard shortcuts

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