Documentation
¶
Overview ¶
Package podagent provides tarian pod agent functionality
Index ¶
- func SetLogger(l *zap.SugaredLogger)
- type PodAgent
- func (p *PodAgent) Dial()
- func (p *PodAgent) EnableRegisterFiles()
- func (p *PodAgent) GetConstraints() []*tarianpb.Constraint
- func (p *PodAgent) GracefulStop()
- func (p *PodAgent) ReportViolatedFilesToClusterAgent(violatedFiles map[string]*violatedFile)
- func (p *PodAgent) RunRegister()
- func (p *PodAgent) RunThreatScan()
- func (p *PodAgent) SetConstraints(constraints []*tarianpb.Constraint)
- func (p *PodAgent) SetFileValidationInterval(t time.Duration)
- func (p *PodAgent) SetNamespace(namespace string)
- func (p *PodAgent) SetPodLabels(labels []*tarianpb.Label)
- func (p *PodAgent) SetPodName(name string)
- func (p *PodAgent) SetRegisterFileIgnorePaths(paths []string)
- func (p *PodAgent) SetRegisterFilePaths(paths []string)
- func (p *PodAgent) SetpodUID(uid string)
- func (p *PodAgent) SyncConstraints()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogger ¶
func SetLogger(l *zap.SugaredLogger)
Types ¶
type PodAgent ¶
type PodAgent struct {
// contains filtered or unexported fields
}
func NewPodAgent ¶
func (*PodAgent) EnableRegisterFiles ¶
func (p *PodAgent) EnableRegisterFiles()
func (*PodAgent) GetConstraints ¶
func (p *PodAgent) GetConstraints() []*tarianpb.Constraint
func (*PodAgent) GracefulStop ¶
func (p *PodAgent) GracefulStop()
func (*PodAgent) ReportViolatedFilesToClusterAgent ¶
func (*PodAgent) RunRegister ¶
func (p *PodAgent) RunRegister()
func (*PodAgent) RunThreatScan ¶
func (p *PodAgent) RunThreatScan()
func (*PodAgent) SetConstraints ¶
func (p *PodAgent) SetConstraints(constraints []*tarianpb.Constraint)
func (*PodAgent) SetFileValidationInterval ¶
func (*PodAgent) SetNamespace ¶
func (*PodAgent) SetPodLabels ¶
func (*PodAgent) SetPodName ¶
func (*PodAgent) SetRegisterFileIgnorePaths ¶
func (*PodAgent) SetRegisterFilePaths ¶
func (*PodAgent) SyncConstraints ¶
func (p *PodAgent) SyncConstraints()
Click to show internal directories.
Click to hide internal directories.