Documentation
¶
Index ¶
- type Config
- type Cookies
- type FileValue
- type Files
- type GlobalValue
- type Globals
- func (s *Globals) Clear(env string)
- func (s *Globals) Delete(env, name string)
- func (s *Globals) Entries() []engine.RuntimeGlobal
- func (s *Globals) Restore(xs []engine.RuntimeGlobal)
- func (s *Globals) Set(env, name, value string, secret bool)
- func (s *Globals) Snapshot(env string) map[string]GlobalValue
- type Runtime
- func (r *Runtime) AuthCmd() *authcmd.Manager
- func (r *Runtime) AuthState() engine.AuthState
- func (r *Runtime) Close() error
- func (r *Runtime) Cookies() *Cookies
- func (r *Runtime) Files() *Files
- func (r *Runtime) Globals() *Globals
- func (r *Runtime) History() history.Store
- func (r *Runtime) K8s() *k8s.Manager
- func (r *Runtime) LoadAuthState(st engine.AuthState)
- func (r *Runtime) LoadRuntimeState(st engine.RuntimeState)
- func (r *Runtime) OAuth() *oauth.Manager
- func (r *Runtime) ResetSharedSecrets()
- func (r *Runtime) RuntimeState() engine.RuntimeState
- func (r *Runtime) SSH() *ssh.Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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
type Files ¶
type Files struct {
// contains filtered or unexported fields
}
func (*Files) Entries ¶
func (s *Files) Entries() []engine.RuntimeFile
func (*Files) Restore ¶
func (s *Files) Restore(xs []engine.RuntimeFile)
type GlobalValue ¶
type Globals ¶
type Globals struct {
// contains filtered or unexported fields
}
func NewGlobals ¶
func NewGlobals() *Globals
func (*Globals) Entries ¶
func (s *Globals) Entries() []engine.RuntimeGlobal
func (*Globals) Restore ¶
func (s *Globals) Restore(xs []engine.RuntimeGlobal)
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) LoadAuthState ¶
func (*Runtime) LoadRuntimeState ¶
func (r *Runtime) LoadRuntimeState(st engine.RuntimeState)
func (*Runtime) ResetSharedSecrets ¶ added in v0.49.3
func (r *Runtime) ResetSharedSecrets()
ResetSharedSecrets forgets credentials and runtime values whose scope more than one workspace can resolve. A scope that names its environment file is unreachable anywhere else, so its state stays dormant in memory and becomes active again when that workspace returns. Command auth keys carry the workspace root and never collide, so they are kept whole.
func (*Runtime) RuntimeState ¶
func (r *Runtime) RuntimeState() engine.RuntimeState
Click to show internal directories.
Click to hide internal directories.