runtime

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Client     *httpclient.Client
	History    history.Store
	SSHManager *ssh.Manager
	K8sManager *k8s.Manager
}

type Cookies added in v0.27.2

type Cookies struct {
	// contains filtered or unexported fields
}

Cookies keeps in-memory cookie jars scoped by effective environment. Persistence across process restarts is intentionally out of scope here.

func NewCookies added in v0.27.2

func NewCookies() *Cookies

func (*Cookies) Clear added in v0.27.2

func (s *Cookies) Clear(env string)

func (*Cookies) Jar added in v0.27.2

func (s *Cookies) Jar(env string) http.CookieJar

type FileValue

type FileValue struct {
	Name      string
	Value     string
	Secret    bool
	UpdatedAt time.Time
}

type Files

type Files struct {
	// contains filtered or unexported fields
}

func NewFiles

func NewFiles() *Files

func (*Files) ClearEnv

func (s *Files) ClearEnv(env string)

func (*Files) Entries

func (s *Files) Entries() []engine.RuntimeFile

func (*Files) Restore

func (s *Files) Restore(xs []engine.RuntimeFile)

func (*Files) Set

func (s *Files) Set(env, path, name, value string, secret bool)

func (*Files) Snapshot

func (s *Files) Snapshot(env, path string) map[string]FileValue

type GlobalValue

type GlobalValue struct {
	Name      string
	Value     string
	Secret    bool
	UpdatedAt time.Time
}

type Globals

type Globals struct {
	// contains filtered or unexported fields
}

func NewGlobals

func NewGlobals() *Globals

func (*Globals) Clear

func (s *Globals) Clear(env string)

func (*Globals) Delete

func (s *Globals) Delete(env, name string)

func (*Globals) Entries

func (s *Globals) Entries() []engine.RuntimeGlobal

func (*Globals) Restore

func (s *Globals) Restore(xs []engine.RuntimeGlobal)

func (*Globals) Set

func (s *Globals) Set(env, name, value string, secret bool)

func (*Globals) Snapshot

func (s *Globals) Snapshot(env string) map[string]GlobalValue

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Runtime

func (*Runtime) AuthCmd

func (r *Runtime) AuthCmd() *authcmd.Manager

func (*Runtime) AuthState

func (r *Runtime) AuthState() engine.AuthState

func (*Runtime) Close

func (r *Runtime) Close() error

func (*Runtime) Cookies added in v0.27.2

func (r *Runtime) Cookies() *Cookies

func (*Runtime) Files

func (r *Runtime) Files() *Files

func (*Runtime) Globals

func (r *Runtime) Globals() *Globals

func (*Runtime) History

func (r *Runtime) History() history.Store

func (*Runtime) K8s

func (r *Runtime) K8s() *k8s.Manager

func (*Runtime) LoadAuthState

func (r *Runtime) LoadAuthState(st engine.AuthState)

func (*Runtime) LoadRuntimeState

func (r *Runtime) LoadRuntimeState(st engine.RuntimeState)

func (*Runtime) OAuth

func (r *Runtime) OAuth() *oauth.Manager

func (*Runtime) RuntimeState

func (r *Runtime) RuntimeState() engine.RuntimeState

func (*Runtime) SSH

func (r *Runtime) SSH() *ssh.Manager

Jump to

Keyboard shortcuts

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