Documentation ¶
Index ¶
- type ApplicationProfileAccessImpl
- func (access *ApplicationProfileAccessImpl) GetCapabilities() ([]collector.CapabilitiesCalls, error)
- func (access *ApplicationProfileAccessImpl) GetDNS() (*[]collector.DnsCalls, error)
- func (access *ApplicationProfileAccessImpl) GetExecList() (*[]collector.ExecCalls, error)
- func (access *ApplicationProfileAccessImpl) GetName() string
- func (access *ApplicationProfileAccessImpl) GetNamespace() string
- func (access *ApplicationProfileAccessImpl) GetNetworkActivity() (*collector.NetworkActivity, error)
- func (access *ApplicationProfileAccessImpl) GetOpenList() (*[]collector.OpenCalls, error)
- func (access *ApplicationProfileAccessImpl) GetSystemCalls() ([]string, error)
- type ApplicationProfileCache
- type ApplicationProfileCacheEntry
- type ApplicationProfileK8sCache
- func (cache *ApplicationProfileK8sCache) AnticipateApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, ... string, ...) error
- func (cache *ApplicationProfileK8sCache) DeleteApplicationProfile(containerID string) error
- func (cache *ApplicationProfileK8sCache) Destroy()
- func (cache *ApplicationProfileK8sCache) GetApplicationProfileAccess(containerName, containerID string) (SingleApplicationProfileAccess, error)
- func (cache *ApplicationProfileK8sCache) HasApplicationProfile(namespace, kind, workloadName, containerName string) bool
- func (cache *ApplicationProfileK8sCache) LoadApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, ... string, ...) error
- func (c *ApplicationProfileK8sCache) StartController()
- type SingleApplicationProfileAccess
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationProfileAccessImpl ¶
type ApplicationProfileAccessImpl struct {
// contains filtered or unexported fields
}
func (*ApplicationProfileAccessImpl) GetCapabilities ¶
func (access *ApplicationProfileAccessImpl) GetCapabilities() ([]collector.CapabilitiesCalls, error)
func (*ApplicationProfileAccessImpl) GetDNS ¶
func (access *ApplicationProfileAccessImpl) GetDNS() (*[]collector.DnsCalls, error)
func (*ApplicationProfileAccessImpl) GetExecList ¶
func (access *ApplicationProfileAccessImpl) GetExecList() (*[]collector.ExecCalls, error)
func (*ApplicationProfileAccessImpl) GetName ¶ added in v0.0.3
func (access *ApplicationProfileAccessImpl) GetName() string
func (*ApplicationProfileAccessImpl) GetNamespace ¶ added in v0.0.3
func (access *ApplicationProfileAccessImpl) GetNamespace() string
func (*ApplicationProfileAccessImpl) GetNetworkActivity ¶
func (access *ApplicationProfileAccessImpl) GetNetworkActivity() (*collector.NetworkActivity, error)
func (*ApplicationProfileAccessImpl) GetOpenList ¶
func (access *ApplicationProfileAccessImpl) GetOpenList() (*[]collector.OpenCalls, error)
func (*ApplicationProfileAccessImpl) GetSystemCalls ¶
func (access *ApplicationProfileAccessImpl) GetSystemCalls() ([]string, error)
type ApplicationProfileCache ¶
type ApplicationProfileCache interface { // Load an application profile to the cache LoadApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, containerID string, acceptPartial bool) error // Anticipate an application profile to be loaded to the cache AnticipateApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, containerID string, acceptPartial bool) error // Delete an application profile from the cache DeleteApplicationProfile(containerID string) error // Has application profile for the given container in Kubernetes workload (identified by namespace, kind, workload name and container name) HasApplicationProfile(namespace, kind, workloadName, containerName string) bool // Get application profile access for the given container in Kubernetes workload (identified by container name and ID in the cache) GetApplicationProfileAccess(containerName, containerID string) (SingleApplicationProfileAccess, error) }
type ApplicationProfileCacheEntry ¶ added in v0.0.3
type ApplicationProfileK8sCache ¶
type ApplicationProfileK8sCache struct {
// contains filtered or unexported fields
}
func NewApplicationProfileK8sCache ¶
func NewApplicationProfileK8sCache(k8sConfig *rest.Config) (*ApplicationProfileK8sCache, error)
func (*ApplicationProfileK8sCache) AnticipateApplicationProfile ¶
func (cache *ApplicationProfileK8sCache) AnticipateApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, containerID string, acceptPartial bool) error
func (*ApplicationProfileK8sCache) DeleteApplicationProfile ¶
func (cache *ApplicationProfileK8sCache) DeleteApplicationProfile(containerID string) error
func (*ApplicationProfileK8sCache) Destroy ¶
func (cache *ApplicationProfileK8sCache) Destroy()
func (*ApplicationProfileK8sCache) GetApplicationProfileAccess ¶
func (cache *ApplicationProfileK8sCache) GetApplicationProfileAccess(containerName, containerID string) (SingleApplicationProfileAccess, error)
func (*ApplicationProfileK8sCache) HasApplicationProfile ¶
func (cache *ApplicationProfileK8sCache) HasApplicationProfile(namespace, kind, workloadName, containerName string) bool
func (*ApplicationProfileK8sCache) LoadApplicationProfile ¶
func (cache *ApplicationProfileK8sCache) LoadApplicationProfile(namespace, kind, workloadName, ownerKind, ownerName, containerName, containerID string, acceptPartial bool) error
func (*ApplicationProfileK8sCache) StartController ¶
func (c *ApplicationProfileK8sCache) StartController()
type SingleApplicationProfileAccess ¶
type SingleApplicationProfileAccess interface { // Get application profile name GetName() string // Get application profile namespace GetNamespace() string // Get exec list GetExecList() (*[]collector.ExecCalls, error) // Get open list GetOpenList() (*[]collector.OpenCalls, error) // Get network activity GetNetworkActivity() (*collector.NetworkActivity, error) // Get system calls GetSystemCalls() ([]string, error) // Get capabilities GetCapabilities() ([]collector.CapabilitiesCalls, error) // Get DNS activity GetDNS() (*[]collector.DnsCalls, error) }
Click to show internal directories.
Click to hide internal directories.