Documentation
¶
Index ¶
- type Client
- func (c Client) CreateLease(task string) (string, error)
- func (c Client) CreateSession(leaseID string) (string, error)
- func (c Client) CreateSnapshot(sessionID, typ, path, name string) (SnapshotCreateResponse, error)
- func (c Client) EvidenceManifest(runID string, materialize bool) (evidence.MaterializedManifest, error)
- func (c Client) Exec(sessionID string, command []string, stream bool, out io.Writer) (string, error)
- func (c Client) ExplainGraph(opts provenance.ExplainOptions) (provenance.ExplainManifest, error)
- func (c Client) ExportBatchForensics(opts forensics.BatchExportOptions) (forensics.BatchBundleInfo, error)
- func (c Client) ExportForensics(runID string) (forensics.BundleInfo, error)
- func (c Client) ImportSignals(runID, engine string, signals []signal.EvalSignal) (signal.EvalReport, error)
- func (c Client) InspectSession(sessionID string) (control.SessionInfo, error)
- func (c Client) ListSessions() ([]control.SessionInfo, error)
- func (c Client) ObserveSummary(runID string, topN int) (observability.Summary, error)
- func (c Client) RemoveSession(sessionID string) error
- func (c Client) ResumeSnapshot(snapshotNameOrID, leaseID string) (string, error)
- func (c Client) RunBuiltinSignals(runID string) (signal.EvalReport, error)
- func (c Client) SchedulerStatus(snapshot string) (scheduler.NodeState, error)
- func (c Client) SecurityDeviations(runID string) (baseline.DeviationsReport, error)
- func (c Client) SecurityResponses(runID string) (securitymodel.ResponseActionsReport, error)
- func (c Client) SecurityRisks(runID string) (securitymodel.RiskSignalsReport, error)
- func (c Client) SetSessionCPUProfile(sessionID, profile string) error
- func (c Client) SignalContext(runID string) (signal.EvalContext, error)
- func (c Client) StopSession(sessionID string) error
- func (c Client) TelemetryCorrelations(runID, eventID string) (telemetry.CorrelationReport, error)
- func (c Client) Timeline(opts provenance.TimelineOptions) (provenance.TimelineManifest, error)
- func (c Client) VerifyGraph(runID string) (provenance.VerifyResult, error)
- type Server
- type SnapshotCreateResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) CreateSnapshot ¶
func (c Client) CreateSnapshot(sessionID, typ, path, name string) (SnapshotCreateResponse, error)
func (Client) EvidenceManifest ¶
func (Client) ExplainGraph ¶
func (c Client) ExplainGraph(opts provenance.ExplainOptions) (provenance.ExplainManifest, error)
func (Client) ExportBatchForensics ¶
func (c Client) ExportBatchForensics(opts forensics.BatchExportOptions) (forensics.BatchBundleInfo, error)
func (Client) ExportForensics ¶
func (c Client) ExportForensics(runID string) (forensics.BundleInfo, error)
func (Client) ImportSignals ¶
func (c Client) ImportSignals(runID, engine string, signals []signal.EvalSignal) (signal.EvalReport, error)
func (Client) InspectSession ¶
func (c Client) InspectSession(sessionID string) (control.SessionInfo, error)
func (Client) ListSessions ¶
func (c Client) ListSessions() ([]control.SessionInfo, error)
func (Client) ObserveSummary ¶
func (Client) RemoveSession ¶
func (Client) ResumeSnapshot ¶
func (Client) RunBuiltinSignals ¶
func (c Client) RunBuiltinSignals(runID string) (signal.EvalReport, error)
func (Client) SchedulerStatus ¶
func (Client) SecurityDeviations ¶
func (c Client) SecurityDeviations(runID string) (baseline.DeviationsReport, error)
func (Client) SecurityResponses ¶
func (c Client) SecurityResponses(runID string) (securitymodel.ResponseActionsReport, error)
func (Client) SecurityRisks ¶
func (c Client) SecurityRisks(runID string) (securitymodel.RiskSignalsReport, error)
func (Client) SetSessionCPUProfile ¶
func (Client) SignalContext ¶
func (c Client) SignalContext(runID string) (signal.EvalContext, error)
func (Client) StopSession ¶
func (Client) TelemetryCorrelations ¶
func (c Client) TelemetryCorrelations(runID, eventID string) (telemetry.CorrelationReport, error)
func (Client) Timeline ¶
func (c Client) Timeline(opts provenance.TimelineOptions) (provenance.TimelineManifest, error)
func (Client) VerifyGraph ¶
func (c Client) VerifyGraph(runID string) (provenance.VerifyResult, error)
type Server ¶
type Server struct {
DB *sql.DB
Paths store.Paths
Driver runtimeplane.Driver
SampleInterval time.Duration
SampleLimit int
SampleTimeout time.Duration
RawRetention time.Duration
MaxRawSamples int
EvidenceInterval time.Duration
EvidenceLimit int
SpoolInterval time.Duration
SpoolLimit int
SpoolMaxQueued int
SpoolDropPolicy string
GCInterval time.Duration
GCLimit int
// AuthToken, when set, requires every request except GET /v1/health to carry
// `Authorization: Bearer <AuthToken>`. Empty = open (backward compatible).
AuthToken string
// contains filtered or unexported fields
}
func (Server) StartEvidenceWorker ¶
func (Server) StartGCWorker ¶
func (Server) StartSampler ¶
func (Server) StartSpoolWorker ¶
Click to show internal directories.
Click to hide internal directories.