Documentation ¶
Index ¶
- Constants
- Variables
- type ApplicationProfile
- type ApplicationProfileSpec
- type CapabilitiesCalls
- type CollectorManager
- func (cm *CollectorManager) CollectContainerEvents(id *ContainerId)
- func (cm *CollectorManager) ContainerStarted(id *ContainerId)
- func (cm *CollectorManager) ContainerStopped(id *ContainerId)
- func (cm *CollectorManager) OnContainerActivityEvent(event *tracing.ContainerActivityEvent)
- func (cm *CollectorManager) StopCollectorManager() error
- type CollectorManagerConfig
- type ContainerId
- type ContainerProfile
- type ContainerState
- type DnsCalls
- type ExecCalls
- type NetworkActivity
- type NetworkCalls
- type OpenCalls
Constants ¶
View Source
const ( // ApplicationProfileKind is the kind of ApplicationProfile ApplicationProfileKind string = "ApplicationProfile" // ApplicationProfileGroup is the group of ApplicationProfile ApplicationProfileGroup string = "kubescape.io" // ApplicationProfileVersion is the version of ApplicationProfile ApplicationProfileVersion string = "v1" // ApplicationProfilePlural is the plural of ApplicationProfile ApplicationProfilePlural string = "applicationprofiles" // ApplicationProfileApiVersion is the api version of ApplicationProfile ApplicationProfileApiVersion string = ApplicationProfileGroup + "/" + ApplicationProfileVersion )
Variables ¶
View Source
var AppProfileGvr schema.GroupVersionResource = schema.GroupVersionResource{ Group: ApplicationProfileGroup, Version: ApplicationProfileVersion, Resource: ApplicationProfilePlural, }
Functions ¶
This section is empty.
Types ¶
type ApplicationProfile ¶
type ApplicationProfile struct { v1.TypeMeta `json:",inline"` v1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of the ApplicationProfile. Spec ApplicationProfileSpec `json:"spec,omitempty"` }
type ApplicationProfileSpec ¶
type ApplicationProfileSpec struct {
Containers []ContainerProfile `json:"containers" yaml:"containers"`
}
type CapabilitiesCalls ¶
type CollectorManager ¶
type CollectorManager struct {
// contains filtered or unexported fields
}
func StartCollectorManager ¶
func StartCollectorManager(config *CollectorManagerConfig) (*CollectorManager, error)
func (*CollectorManager) CollectContainerEvents ¶
func (cm *CollectorManager) CollectContainerEvents(id *ContainerId)
func (*CollectorManager) ContainerStarted ¶
func (cm *CollectorManager) ContainerStarted(id *ContainerId)
func (*CollectorManager) ContainerStopped ¶
func (cm *CollectorManager) ContainerStopped(id *ContainerId)
func (*CollectorManager) OnContainerActivityEvent ¶
func (cm *CollectorManager) OnContainerActivityEvent(event *tracing.ContainerActivityEvent)
func (*CollectorManager) StopCollectorManager ¶
func (cm *CollectorManager) StopCollectorManager() error
type CollectorManagerConfig ¶
type ContainerId ¶
type ContainerProfile ¶
type ContainerProfile struct { Name string `json:"name" yaml:"name"` Execs []ExecCalls `json:"execs" yaml:"execs"` Opens []OpenCalls `json:"opens" yaml:"opens"` NetworkActivity NetworkActivity `json:"networkActivity" yaml:"networkActivity"` Capabilities []CapabilitiesCalls `json:"capabilities" yaml:"capabilities"` Dns []DnsCalls `json:"dns" yaml:"dns"` SysCalls []string `json:"syscalls" yaml:"syscalls"` }
type ContainerState ¶
type ContainerState struct {
// contains filtered or unexported fields
}
type ExecCalls ¶
type NetworkActivity ¶
type NetworkActivity struct { Incoming []NetworkCalls `json:"incoming" yaml:"incoming"` Outgoing []NetworkCalls `json:"outgoing" yaml:"outgoing"` }
type NetworkCalls ¶
Click to show internal directories.
Click to hide internal directories.