podagent

package
v0.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package podagent provides tarian pod agent functionality

Index

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 NewPodAgent(clusterAgentAddress string) *PodAgent

func (*PodAgent) Dial

func (p *PodAgent) Dial()

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 (p *PodAgent) ReportViolatedFilesToClusterAgent(violatedFiles map[string]*violatedFile)

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 (p *PodAgent) SetFileValidationInterval(t time.Duration)

func (*PodAgent) SetNamespace

func (p *PodAgent) SetNamespace(namespace string)

func (*PodAgent) SetPodLabels

func (p *PodAgent) SetPodLabels(labels []*tarianpb.Label)

func (*PodAgent) SetPodName

func (p *PodAgent) SetPodName(name string)

func (*PodAgent) SetRegisterFileIgnorePaths

func (p *PodAgent) SetRegisterFileIgnorePaths(paths []string)

func (*PodAgent) SetRegisterFilePaths

func (p *PodAgent) SetRegisterFilePaths(paths []string)

func (*PodAgent) SetpodUID

func (p *PodAgent) SetpodUID(uid string)

func (*PodAgent) SyncConstraints

func (p *PodAgent) SyncConstraints()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL