Documentation
¶
Index ¶
- type CredentialSpec
- type ProxyInfo
- type Service
- func (s Service) AllowHost(host string) error
- func (s Service) Check(runID, sessionID, dstIP, host string) (security.DecisionRecord, error)
- func (s Service) Close(proxyID string) error
- func (s Service) CloseForSession(sessionID string) error
- func (s Service) EnsureProxy() (ProxyInfo, error)
- func (s Service) EnsureSessionProxy(runID, sessionID string) (ProxyInfo, error)
- func (s Service) InjectCredential(runID, sessionID string, spec CredentialSpec) error
- func (s Service) Inspect(proxyID string) (ProxyInfo, error)
- func (s Service) Serve(proxyID string) error
- func (s Service) ServeAt(proxyID, listenAddr string) error
- func (s Service) Status() ([]ProxyInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialSpec ¶
type Service ¶
type Service struct {
DB *sql.DB
Paths store.Paths
DefaultRunID string
DefaultSessionID string
DefaultToolCallID string
}
func (Service) Check ¶
func (s Service) Check(runID, sessionID, dstIP, host string) (security.DecisionRecord, error)
func (Service) CloseForSession ¶
func (Service) EnsureProxy ¶
func (Service) EnsureSessionProxy ¶
func (Service) InjectCredential ¶
func (s Service) InjectCredential(runID, sessionID string, spec CredentialSpec) error
Click to show internal directories.
Click to hide internal directories.