Documentation ¶
Index ¶
- Constants
- type Processor
- func (p *Processor) GeneratePSP(cssList []types.ContainerSecuritySpec, pssList []types.PodSecuritySpec) *v1beta1.PodSecurityPolicy
- func (p *Processor) GenerateReport(cssList []types.ContainerSecuritySpec, pssList []types.PodSecuritySpec) *report.Report
- func (p *Processor) GetSecuritySpec() ([]types.ContainerSecuritySpec, []types.PodSecuritySpec, error)
- func (p *Processor) SetNamespace(ns string)
Constants ¶
View Source
const ( DaemonSet = "DaemonSet" Deployment = "Deployment" Pod = "Pod" StatefulSet = "StatefulSet" ReplicaSet = "ReplicaSet" ReplicationController = "ReplicationController" Job = "Job" CronJob = "CronJob" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func NewProcessor ¶
func (*Processor) GeneratePSP ¶
func (p *Processor) GeneratePSP(cssList []types.ContainerSecuritySpec, pssList []types.PodSecuritySpec) *v1beta1.PodSecurityPolicy
GeneratePSP generate Pod Security Policy
func (*Processor) GenerateReport ¶
func (p *Processor) GenerateReport(cssList []types.ContainerSecuritySpec, pssList []types.PodSecuritySpec) *report.Report
func (*Processor) GetSecuritySpec ¶
func (p *Processor) GetSecuritySpec() ([]types.ContainerSecuritySpec, []types.PodSecuritySpec, error)
GetSecuritySpec security posture
func (*Processor) SetNamespace ¶
Click to show internal directories.
Click to hide internal directories.