Documentation
¶
Index ¶
Constants ¶
View Source
const ( RetentionEphemeral = "ephemeral" RetentionRetainForResume = "retain_for_resume" RetentionRetain = "retain" SerializedLocationsLogical = "logical" SerializedLocationsFilesystem = "filesystem" CleanupNotApplicable = "not_applicable" CleanupPending = "pending" CleanupRemoved = "removed" CleanupRetained = "retained" CleanupFailed = "failed" )
Variables ¶
This section is empty.
Functions ¶
func ParseRetentionMode ¶
Types ¶
type Contract ¶
type Contract struct {
RetentionMode string `json:"retention_mode" yaml:"retention_mode"`
MaterializedSourceRetained bool `json:"materialized_source_retained" yaml:"materialized_source_retained"`
RawSourceInArtifacts bool `json:"raw_source_in_artifacts" yaml:"raw_source_in_artifacts"`
SerializedLocations string `json:"serialized_locations" yaml:"serialized_locations"`
CleanupStatus string `json:"cleanup_status" yaml:"cleanup_status"`
Warnings []string `json:"warnings,omitempty" yaml:"warnings,omitempty"`
}
Contract is the machine-readable privacy contract emitted with scan-derived artifacts.
func InitialContract ¶
func MarkFailed ¶
func MarkRemoved ¶
func MarkRetained ¶
type Sanitizer ¶
type Sanitizer struct {
// contains filtered or unexported fields
}
func NewSanitizer ¶
Click to show internal directories.
Click to hide internal directories.