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) Reset()
- 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) ResetSecrets()
- 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) ResetSecrets ¶ added in v0.49.1
func (r *Runtime) ResetSecrets()
ResetSecrets forgets every credential and runtime value held in memory. Scopes are named after the environment, so two workspaces that both call one "dev" would otherwise read each other's globals, cookies and tokens.
func (*Runtime) RuntimeState ¶
func (r *Runtime) RuntimeState() engine.RuntimeState
Click to show internal directories.
Click to hide internal directories.