appcontext

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2025 License: ISC Imports: 5 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

	ConfigDir string
	// contains filtered or unexported fields
}

func NewAppContext

func NewAppContext() *AppContext

func NewAppContextFrom

func NewAppContextFrom(ctx *AppContext) *AppContext

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) GetPlugins added in v1.0.3

func (c *AppContext) GetPlugins() *plugins.Manager

func (*AppContext) GetSecret

func (c *AppContext) GetSecret() []byte

func (*AppContext) ImporterOpts added in v1.0.3

func (ctx *AppContext) ImporterOpts() *importer.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) SetPlugins added in v1.0.3

func (c *AppContext) SetPlugins(pluginsManager *plugins.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